vlc | branch: master | Francois Cartegnie <[email protected]> | Mon Sep 12 
09:53:52 2016 +0200| [e111adbe4d65e616d8628fc85bfc2659c9d4ee60] | committer: 
Francois Cartegnie

demux: adaptive: explicity prevent transfert-encoding

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e111adbe4d65e616d8628fc85bfc2659c9d4ee60
---

 modules/demux/adaptive/http/HTTPConnection.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/demux/adaptive/http/HTTPConnection.cpp 
b/modules/demux/adaptive/http/HTTPConnection.cpp
index 4eda8e1..7c6d07b 100644
--- a/modules/demux/adaptive/http/HTTPConnection.cpp
+++ b/modules/demux/adaptive/http/HTTPConnection.cpp
@@ -280,7 +280,7 @@ std::string HTTPConnection::buildRequestHeader(const 
std::string &path) const
     req << "GET " << path << " HTTP/1.1\r\n" <<
            "Host: " << params.getHostname() << "\r\n" <<
            "Cache-Control: no-cache" << "\r\n" <<
-           "Accept-Encoding: " << "\r\n" <<
+           "Accept-Encoding: identity" << "\r\n" <<
            "User-Agent: " << std::string(psz_useragent) << "\r\n";
     req << extraRequestHeaders();
     return req.str();

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to