diff options
author | Zeeshan Ali <zeeshanak@gnome.org> | 2008-11-21 13:43:29 +0000 |
---|---|---|
committer | Sebastian Dröge <slomo@circular-chaos.org> | 2008-11-21 13:43:29 +0000 |
commit | af12e9eddac1c11f030ce2cc17bd5ca5fdd2d75e (patch) | |
tree | 60028eeda3fec5a5b32964d2fa9a407b13894ffe | |
parent | e6075940b1c1a17bbf338883960cb6c2e0f6385e (diff) |
ext/soup/gstsouphttpsrc.c: Add transferMode.dnla.org header to HTTP requests as this is required by the DLNA specs an...
Original commit message from CVS:
Patch by: Zeeshan Ali <zeeshanak at gnome dot org>
* ext/soup/gstsouphttpsrc.c: (gst_soup_http_src_build_message):
Add transferMode.dnla.org header to HTTP requests as this is
required by the DLNA specs and doesn't hurt in other situations.
Fixes bug #561802.
-rw-r--r-- | ChangeLog | 9 | ||||
-rw-r--r-- | ext/soup/gstsouphttpsrc.c | 2 |
2 files changed, 11 insertions, 0 deletions
@@ -1,3 +1,12 @@ +2008-11-21 Sebastian Dröge <sebastian.droege@collabora.co.uk> + + Patch by: Zeeshan Ali <zeeshanak at gnome dot org> + + * ext/soup/gstsouphttpsrc.c: (gst_soup_http_src_build_message): + Add transferMode.dnla.org header to HTTP requests as this is + required by the DLNA specs and doesn't hurt in other situations. + Fixes bug #561802. + 2008-11-20 Michael Smith <msmith@songbirdnest.com> * sys/osxvideo/osxvideosink.h: diff --git a/ext/soup/gstsouphttpsrc.c b/ext/soup/gstsouphttpsrc.c index cd993fe0..67219e06 100644 --- a/ext/soup/gstsouphttpsrc.c +++ b/ext/soup/gstsouphttpsrc.c @@ -940,6 +940,8 @@ gst_soup_http_src_build_message (GstSoupHTTPSrc * src) *cookie); } } + soup_message_headers_append (src->msg->request_headers, + "transferMode.dlna.org", "Streaming"); src->retry = FALSE; g_signal_connect (src->msg, "got_headers", |