[vlc-commits] VLSub: don't pretend to support HTTP 1.1
Rémi Denis-Courmont
git at videolan.org
Sun Dec 4 15:10:58 CET 2016
vlc/vlc-2.2 | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Dec 4 14:36:29 2016 +0200| [4b1c65d5da017d807efea415fb3ab069945da75d] | committer: Felix Paul Kühne
VLSub: don't pretend to support HTTP 1.1
(cherry picked from commit 5c26ad66d4b3b1d3de13ae778161f9ddde25cd59)
Signed-off-by: Felix Paul Kühne <fkuehne at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.2.git/?a=commit;h=4b1c65d5da017d807efea415fb3ab069945da75d
---
share/lua/extensions/VLSub.lua | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/share/lua/extensions/VLSub.lua b/share/lua/extensions/VLSub.lua
index ecac003..cd6f7b7 100644
--- a/share/lua/extensions/VLSub.lua
+++ b/share/lua/extensions/VLSub.lua
@@ -1189,7 +1189,7 @@ openSub = {
local request = "<?xml version='1.0'?>"..dump_xml(reqTable)
local host, path = parse_url(openSub.conf.url)
local header = {
- "POST "..path.." HTTP/1.1",
+ "POST "..path.." HTTP/1.0",
"Host: "..host,
"User-Agent: "..openSub.conf.userAgentHTTP,
"Content-Type: text/xml",
@@ -1840,7 +1840,7 @@ end
function get(url)
local host, path = parse_url(url)
local header = {
- "GET "..path.." HTTP/1.1",
+ "GET "..path.." HTTP/1.0",
"Host: "..host,
"User-Agent: "..openSub.conf.userAgentHTTP,
"",
More information about the vlc-commits
mailing list