Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTTP redirects fail to trigger a diff #16

Closed
acdha opened this issue Apr 10, 2015 · 1 comment
Closed

HTTP redirects fail to trigger a diff #16

acdha opened this issue Apr 10, 2015 · 1 comment

Comments

@acdha
Copy link

acdha commented Apr 10, 2015

While doing some CDN tests, I accidentally noticed that the client doesn't report status code or response differences for redirects:

$ httpdiff http://httpbin.org/status/301 http://httpbin.org/status/307
Doing GET: 
    http://httpbin.org/status/301
    http://httpbin.org/status/307 

This is presumably due to some magic in the Go http client for redirects since any other status code produces the expected output.

@jgrahamc
Copy link
Owner

Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants