aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDiego Nehab <diego@tecgraf.puc-rio.br>2006-03-19 21:22:21 +0000
committerDiego Nehab <diego@tecgraf.puc-rio.br>2006-03-19 21:22:21 +0000
commit93806208c77607146f6f462426e380e732327ed5 (patch)
treeac0286d21b5d9343ab01afda6bc277e152936065 /src
parent09ad4b299c59c3c5c6c442f0ee99f3c9e8dbe8ce (diff)
downloadluasocket-93806208c77607146f6f462426e380e732327ed5.tar.gz
luasocket-93806208c77607146f6f462426e380e732327ed5.tar.bz2
luasocket-93806208c77607146f6f462426e380e732327ed5.zip
Updates for 2.0.1 on the way.
Diffstat (limited to 'src')
-rw-r--r--src/http.lua2
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