Updates for 2.0.1 on the way.
This commit is contained in:
parent
09ad4b299c
commit
93806208c7
6 changed files with 26 additions and 62 deletions
|
@ -268,7 +268,7 @@ function tredirect(reqt, location)
|
|||
headers = reqt.headers,
|
||||
proxy = reqt.proxy,
|
||||
nredirects = (reqt.nredirects or 0) + 1,
|
||||
connect = reqt.connect
|
||||
create = reqt.create
|
||||
}
|
||||
-- pass location header back as a hint we redirected
|
||||
headers.location = headers.location or location
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue