diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/http.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/http.lua b/src/http.lua index a15ea69..87a9d9a 100644 --- a/src/http.lua +++ b/src/http.lua | |||
@@ -146,8 +146,7 @@ local function adjustheaders(headers, host) | |||
146 | lower[string.lower(i)] = v | 146 | lower[string.lower(i)] = v |
147 | end | 147 | end |
148 | lower["user-agent"] = lower["user-agent"] or USERAGENT | 148 | lower["user-agent"] = lower["user-agent"] or USERAGENT |
149 | -- these cannot be overriden | 149 | lower["host"] = lower["host"] or host |
150 | lower["host"] = host | ||
151 | return lower | 150 | return lower |
152 | end | 151 | end |
153 | 152 | ||