Updates for 2.0.1 on the way.

This commit is contained in:
Diego Nehab 2006-03-19 21:22:21 +00:00
parent 09ad4b299c
commit 93806208c7
6 changed files with 26 additions and 62 deletions

View file

@ -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