diff options
Diffstat (limited to 'libs/httpclient/luasrc/httpclient.lua')
-rw-r--r-- | libs/httpclient/luasrc/httpclient.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/httpclient/luasrc/httpclient.lua b/libs/httpclient/luasrc/httpclient.lua index 4f9559310..69abddff3 100644 --- a/libs/httpclient/luasrc/httpclient.lua +++ b/libs/httpclient/luasrc/httpclient.lua @@ -303,6 +303,9 @@ function request_raw(uri, options) end options.depth = options.depth - 1 + if options.headers then + options.headers.Host = nil + end sock:close() return request_raw(nuri, options) |