-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
When used as ssh command, http hangs on empty stdin #190
Comments
I really don't think httpie's stdin can in any way be described as empty in this case. It is open and waiting for data that may be at any time passed from the terminal connected to ssh's stdin. A less verbose workaround for this case would be But maybe a short version of |
Of course you are correct about stdin. What I found with Yes, a short version of |
Yes, the stdout is also connected to a terminal then, so |
The development version of HTTPie now supports |
This is related to #150 addressed with the --ignore-stdin switch.
When doing the following, httpie assumes a POST and hangs since stdin is piped but empty.
The following works as expected, but is verbose.
Can HTTPie be made to detect that stdin is empty and not assume a POST here?
The text was updated successfully, but these errors were encountered: