mirror of https://github.com/moparisthebest/curl
Content-Length: now overrides other means of knowing when the stream has
ended.
This commit is contained in:
parent
06984df5cb
commit
bc942de6f1
|
@ -9,6 +9,13 @@ Content-Length: 0
|
||||||
|
|
||||||
this is data even though Content-Length is set to zero
|
this is data even though Content-Length is set to zero
|
||||||
</data>
|
</data>
|
||||||
|
<datacheck>
|
||||||
|
HTTP/1.0 200 OK
|
||||||
|
Server: test-server/fake
|
||||||
|
Content-Type: text/html
|
||||||
|
Content-Length: 0
|
||||||
|
|
||||||
|
</datacheck>
|
||||||
</reply>
|
</reply>
|
||||||
|
|
||||||
#
|
#
|
||||||
|
@ -18,7 +25,7 @@ this is data even though Content-Length is set to zero
|
||||||
http
|
http
|
||||||
</server>
|
</server>
|
||||||
<name>
|
<name>
|
||||||
HTTP POST with user and password
|
HTTP POST with auth and contents but with content-length set to 0
|
||||||
</name>
|
</name>
|
||||||
<command>
|
<command>
|
||||||
-d "fooo=mooo&pooo=clue&doo=%20%20%20++++" -u "fake:-user" http://%HOSTIP:%HOSTPORT/3
|
-d "fooo=mooo&pooo=clue&doo=%20%20%20++++" -u "fake:-user" http://%HOSTIP:%HOSTPORT/3
|
||||||
|
|
Loading…
Reference in New Issue