Skip to content
Snippets Groups Projects
Commit bc942de6 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

Content-Length: now overrides other means of knowing when the stream has

ended.
parent 06984df5
No related branches found
No related tags found
No related merge requests found
...@@ -9,6 +9,13 @@ Content-Length: 0 ...@@ -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 ...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment