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 6465c29..558f347 100644 --- a/src/http.lua +++ b/src/http.lua | |||
@@ -261,7 +261,7 @@ function tredirect(reqt, location) | |||
261 | local result, code, headers, status = trequest { | 261 | local result, code, headers, status = trequest { |
262 | -- the RFC says the redirect URL has to be absolute, but some | 262 | -- the RFC says the redirect URL has to be absolute, but some |
263 | -- servers do not respect that | 263 | -- servers do not respect that |
264 | url = url.absolute(reqt, location), | 264 | url = url.absolute(reqt.url, location), |
265 | source = reqt.source, | 265 | source = reqt.source, |
266 | sink = reqt.sink, | 266 | sink = reqt.sink, |
267 | headers = reqt.headers, | 267 | headers = reqt.headers, |