mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
test 1326: fix getting stuck on Windows due to incomplete request
The request needs to be read and send in binary mode in order to use CRLF instead of LF. Adding --upload-file - causes curl to read stdin in binary mode.
This commit is contained in:
parent
58ac23dd16
commit
9e093f0e74
@ -33,7 +33,7 @@ GET /we/want/1326 HTTP/1.0
|
||||
|
||||
</stdin>
|
||||
<command>
|
||||
telnet://%HOSTIP:%HTTPPORT
|
||||
telnet://%HOSTIP:%HTTPPORT --upload-file -
|
||||
</command>
|
||||
</client>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user