heroku / legacy-cli

Heroku CLI
https://cli.heroku.com
MIT License
1.37k stars 380 forks source link

Fix bug where bad http status code are suppressed #1936

Closed ransombriggs closed 8 years ago

ransombriggs commented 8 years ago

@dickeyxxx review me? I was digging into https://github.com/heroku/heroku/issues/1934#issuecomment-212772424 and it looks like bad status codes are not handled properly, this should now throw on non 200s after redirects.

jdx commented 8 years ago

lgtm