Skip to content

[priority] Quick fix : printing final response headers twice

Aki requested to merge aki237:redirect-inheaders-quickfix into master
  * once in the fetchUrl of main.go
  * once in the checkRedirect http.Client hook function

when the -L (follow redirects) flag is not specified

This PR fixes so that the response headers from a redirect request only gets printed in the checkRedirect(options.go) function, if follow re-direction is explicitly specified.

Merge request reports