From af12e9eddac1c11f030ce2cc17bd5ca5fdd2d75e Mon Sep 17 00:00:00 2001 From: Zeeshan Ali Date: Fri, 21 Nov 2008 13:43:29 +0000 Subject: 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. --- ext/soup/gstsouphttpsrc.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ext/soup') 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", -- cgit