From af12e9eddac1c11f030ce2cc17bd5ca5fdd2d75e Mon Sep 17 00:00:00 2001 From: Zeeshan Ali Date: Fri, 21 Nov 2008 13:43:29 +0000 Subject: [PATCH] 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 * 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 | 9 +++++++++ ext/soup/gstsouphttpsrc.c | 2 ++ 2 files changed, 11 insertions(+) diff --git a/ChangeLog b/ChangeLog index e7d45c778b..d2a66f34a0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2008-11-21 Sebastian Dröge + + Patch by: Zeeshan Ali + + * 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 * sys/osxvideo/osxvideosink.h: diff --git a/ext/soup/gstsouphttpsrc.c b/ext/soup/gstsouphttpsrc.c index cd993fe088..67219e06c5 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",