1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 08:08:50 -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:
Marc Hoersken 2015-12-17 15:12:19 +01:00
parent 58ac23dd16
commit 9e093f0e74

View File

@ -33,7 +33,7 @@ GET /we/want/1326 HTTP/1.0
</stdin> </stdin>
<command> <command>
telnet://%HOSTIP:%HTTPPORT telnet://%HOSTIP:%HTTPPORT --upload-file -
</command> </command>
</client> </client>