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

ended.
This commit is contained in:
Daniel Stenberg 2003-06-03 07:53:18 +00:00
Родитель 06984df5cb
Коммит bc942de6f1
1 изменённых файлов: 8 добавлений и 1 удалений

Просмотреть файл

@ -9,6 +9,13 @@ Content-Length: 0
this is data even though Content-Length is set to zero
</data>
<datacheck>
HTTP/1.0 200 OK
Server: test-server/fake
Content-Type: text/html
Content-Length: 0
</datacheck>
</reply>
#
@ -18,7 +25,7 @@ this is data even though Content-Length is set to zero
http
</server>
<name>
HTTP POST with user and password
HTTP POST with auth and contents but with content-length set to 0
</name>
<command>
-d "fooo=mooo&pooo=clue&doo=%20%20%20++++" -u "fake:-user" http://%HOSTIP:%HOSTPORT/3