mirror of
https://github.com/moparisthebest/curl
synced 2024-11-14 13:35:03 -05:00
91ff938035
request. Detect cases where an upload must be sent chunked and the server supports only HTTP 1.0 and return CURLE_UPLOAD_FAILED.
37 lines
434 B
Plaintext
37 lines
434 B
Plaintext
<testcase>
|
|
<info>
|
|
<keywords>
|
|
HTTP
|
|
HTTP PUT
|
|
HTTP/1.0
|
|
</keywords>
|
|
</info>
|
|
|
|
# Server-side
|
|
<reply>
|
|
</reply>
|
|
|
|
# Client-side
|
|
<client>
|
|
<server>
|
|
http
|
|
</server>
|
|
<name>
|
|
HTTP 1.0 PUT from stdin with no content length
|
|
</name>
|
|
<command>
|
|
http://%HOSTIP:%HTTPPORT/bzz/1069 -T - -0
|
|
</command>
|
|
<stdin>
|
|
this data can't be sent
|
|
</stdin>
|
|
</client>
|
|
|
|
# Verify data after the test has been "shot"
|
|
<verify>
|
|
<errorcode>
|
|
25
|
|
</errorcode>
|
|
</verify>
|
|
</testcase>
|