1
0
This repository has been archived on 2025-07-27. You can view files and clone it, but cannot push or open issues or pull requests.
Files
siadrive/3rd-party/curl-7.52.1/tests/data/test1514
2017-02-02 21:08:13 -06:00

49 lines
720 B
Plaintext

<testcase>
<info>
<keywords>
HTTP
HTTP POST
Content-Length
</keywords>
</info>
# Server-side
<reply>
<data nocheck="yes">
HTTP/1.1 411 Length Required
Date: Sun, 19 Jan 2014 18:50:58 GMT
Server: test-server/fake swsclose
Connection: close
</data>
</reply>
# Client-side
<client>
<server>
http
</server>
<tool>
lib1514
</tool>
<name>
HTTP POST with read callback and unknown data size
</name>
<command>
http://%HOSTIP:%HTTPPORT/1514
</command>
</client>
# Verify data after the test has been "shot"
<verify>
# Content-Length header is not present
<protocol>
POST /1514 HTTP/1.1
Host: %HOSTIP:%HTTPPORT
Accept: */*
Content-Type: application/x-www-form-urlencoded
Expect: 100-continue
</protocol>
</verify>
</testcase>