diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/http.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http.lua b/src/http.lua index 081e156..e002a8c 100644 --- a/src/http.lua +++ b/src/http.lua | |||
@@ -268,7 +268,7 @@ function tredirect(reqt, location) | |||
268 | headers = reqt.headers, | 268 | headers = reqt.headers, |
269 | proxy = reqt.proxy, | 269 | proxy = reqt.proxy, |
270 | nredirects = (reqt.nredirects or 0) + 1, | 270 | nredirects = (reqt.nredirects or 0) + 1, |
271 | connect = reqt.connect | 271 | create = reqt.create |
272 | } | 272 | } |
273 | -- pass location header back as a hint we redirected | 273 | -- pass location header back as a hint we redirected |
274 | headers.location = headers.location or location | 274 | headers.location = headers.location or location |