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
"binary data not shown in terminal" appears with HTML response #84
Comments
The |
Unfortunately it was an internal URL. I'll jimmy with the data a little and see if there's any other apparently relevant info I can add here. |
The binary data detection is based on the presence of In any case, it's not optimal that this happens, even if the data was garbled. I'll see what can be done to improve it. |
Actually, I think I've found the problem. Can you please try the URL with the current development version of HTTPie?
Btw, if the content that triggered the false positive isn't sensitive, it would be handy to have it available so that I can create a regression test for this issue. |
D'oh... unfortunately the data has changed and I can't reproduce the issue with the stable release version anymore. Will hunt for a bit to see if I can get it to happen again on something similar... |
Please do. I realised that the change I just made is not significant in regards to the issue. |
Closing for now. Please feel free to reopen if the problem persists. |
Sometimes, HTTPie appears to mistake HTML response data for binary data.
These were the headers that resulted in the unexpected behavior:
Perhaps HTTPie is being confused by the Transfer-Encoding header?
The text was updated successfully, but these errors were encountered: