Add ability to not automatically follow redirects
drzero42 opened this issue · comments
Anders Bøgh Bruun commented
Awesome tool. Currently it automatically follows things like HTTP 301/302/303, which makes it difficult to debug services that do redirects. A way to turn off following redirects would be very nice to have.
Adam Tauber commented
added: 3e3f114
Anders Bøgh Bruun commented
Thanks :)
However, it is not entirely there:
$ go get github.com/asciimoo/wuzz
# github.com/asciimoo/wuzz
gocode/src/github.com/asciimoo/wuzz/wuzz.go:1276: undefined: http.ErrUseLastResponse
Adam Tauber commented
@drzero42 try to use go >= 1.7
Anders Bøgh Bruun commented
It works with Go 1.7, thank you.