Host is overridable.
This commit is contained in:
parent
bf563ac857
commit
6abfbc742b
1 changed files with 1 additions and 2 deletions
|
@ -146,8 +146,7 @@ local function adjustheaders(headers, host)
|
|||
lower[string.lower(i)] = v
|
||||
end
|
||||
lower["user-agent"] = lower["user-agent"] or USERAGENT
|
||||
-- these cannot be overriden
|
||||
lower["host"] = host
|
||||
lower["host"] = lower["host"] or host
|
||||
return lower
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue