cjoudrey / gluahttp

gluahttp: an http module for gopher-lua
MIT License
59 stars 23 forks source link

how to close the auto-redirection #29

Open IcyFeather233 opened 3 years ago

IcyFeather233 commented 3 years ago

I need response.headers['Location'], and in python I can do it by http.post(url, data, allow_redirects=false), I wonder how can I make it in gluahttp.