[GStreamer] don't send transferMode HTTP header
authoragomez@igalia.com <agomez@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 15 Sep 2014 08:08:13 +0000 (08:08 +0000)
committeragomez@igalia.com <agomez@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 15 Sep 2014 08:08:13 +0000 (08:08 +0000)
https://bugs.webkit.org/show_bug.cgi?id=136781

Reviewed by Philippe Normand.

No header at all is better than having the wrong header as DLNA
mandates that a missing header has to be tolerated while a wrong
header is an error.

* platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp:
(webKitWebSrcStart):
* platform/network/HTTPHeaderNames.in:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@173614 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp
Source/WebCore/platform/network/HTTPHeaderNames.in

index 93e33e1..eedfcbb 100644 (file)
@@ -1,3 +1,18 @@
+2014-09-15  Andres Gomez  <agomez@igalia.com>
+
+        [GStreamer] don't send transferMode HTTP header
+        https://bugs.webkit.org/show_bug.cgi?id=136781
+
+        Reviewed by Philippe Normand.
+
+        No header at all is better than having the wrong header as DLNA
+        mandates that a missing header has to be tolerated while a wrong
+        header is an error.
+
+        * platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp:
+        (webKitWebSrcStart):
+        * platform/network/HTTPHeaderNames.in:
+
 2014-09-14  Christophe Dumez  <cdumez@apple.com>
 
         Fix post-mortem nits for r173528 & r173549
index c731017..7c7741b 100644 (file)
@@ -492,9 +492,6 @@ static void webKitWebSrcStart(WebKitWebSrc* src)
     // We always request Icecast/Shoutcast metadata, just in case ...
     request.setHTTPHeaderField(HTTPHeaderName::IcyMetadata, "1");
 
-    // Needed to use DLNA streaming servers
-    request.setHTTPHeaderField(HTTPHeaderName::TransferModeDLNA, "Streaming");
-
     if (priv->player) {
         if (CachedResourceLoader* loader = priv->player->cachedResourceLoader())
             priv->client = new CachedResourceStreamingClient(src, loader, request, priv->player->mediaPlayerClient()->mediaPlayerCORSMode());