Last built 2 years ago using go version go1.5.1 linux/amd64 and 57 seconds of time
rcode CLI lets you see the raw response code and, if applicable, the
redirect chain of a URL. It ends if the response code is
Assuming you have a working Go environment and
GOPATH/bin is in your
$ go get github.com/mxlje/rcode
Alternatively you can grab the latest compiled version from the
releases section on GitHub and put it in your
PATH by hand.
$ rcode http://miele.de  http://miele.de  http://www.miele.de/haushalt/index.htm
httpbin.org is a great service to test redirect chains:
$ rcode httpbin.org/redirect/2  http://httpbin.org/redirect/2  http://httpbin.org/redirect/1  http://httpbin.org/get
Useful for further analysis.
$ rcode httpbin.org/redirect/1 --csv 302,http://httpbin.org/redirect/1 200,http://httpbin.org/get
LICENSE file for license info (it’s the MIT license).