ext/soup/gstsouphttpsrc.c: Add transferMode.dnla.org header to HTTP requests as this...
authorZeeshan Ali <zeeshanak@gnome.org>
Fri, 21 Nov 2008 13:43:29 +0000 (13:43 +0000)
committerSebastian Dröge <slomo@circular-chaos.org>
Fri, 21 Nov 2008 13:43:29 +0000 (13:43 +0000)
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.

ChangeLog
ext/soup/gstsouphttpsrc.c

index e7d45c7..d2a66f3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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:
index cd993fe..67219e0 100644 (file)
@@ -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",