As of go 1.8, headers are copied on redirect, so we no longer need to do this manually. See https://github.com/golang/go/issues/4800 and https://go-review.googlesource.com/c/go/+/28930 for more context on go behaviour. Fixes #5042
As of go 1.8, headers are copied on redirect, so we no longer need to do this manually. See https://github.com/golang/go/issues/4800 and https://go-review.googlesource.com/c/go/+/28930 for more context on go behaviour. Fixes #5042