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

Does not handle HTTP informational responses correctly #752

Open
daguej opened this issue Feb 12, 2019 · 0 comments · May be fixed by #1531
Open

Does not handle HTTP informational responses correctly #752

daguej opened this issue Feb 12, 2019 · 0 comments · May be fixed by #1531
Labels
bug Something isn't working

Comments

@daguej
Copy link

daguej commented Feb 12, 2019

httpie incorrectly treats informational responses (102-199) as a final response, printing the response headers and exiting.

$ http :5000/102
HTTP/1.1 102 Processing


$

Compare to what actually happens:

$ nc 127.0.0.1 5000
GET /102 HTTP/1.1

HTTP/1.1 102 Processing

HTTP/1.1 200 OK
…

httpie should print the zero or more informational responses (if response headers are enabled) before printing the final response and exiting.

@isidentical isidentical added the bug Something isn't working label Dec 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants