mirror of
https://github.com/moparisthebest/curl
synced 2024-12-26 10:08:48 -05:00
e2b4df7b5e
This makes the tests easier to copy and relocate to other test numbers without having to update content. Closes #6738
119 lines
3.0 KiB
Plaintext
119 lines
3.0 KiB
Plaintext
<testcase>
|
||
<info>
|
||
<keywords>
|
||
HTTP
|
||
HTTP POST
|
||
--libcurl
|
||
</keywords>
|
||
</info>
|
||
|
||
# Server-side
|
||
<reply>
|
||
<data>
|
||
HTTP/1.1 200 OK
|
||
Date: Thu, 29 Jul 2008 14:49:00 GMT
|
||
Server: test-server/fake
|
||
Content-Length: 0
|
||
Content-Type: text/plain
|
||
Connection: close
|
||
|
||
</data>
|
||
</reply>
|
||
|
||
# Client-side
|
||
<client>
|
||
<server>
|
||
http
|
||
</server>
|
||
<name>
|
||
--libcurl for POST with binary content
|
||
</name>
|
||
<setenv>
|
||
SSL_CERT_FILE=
|
||
</setenv>
|
||
<command>
|
||
http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER --libcurl log/test%TESTNUMBER.c --data-binary @log/%TESTNUMBER-upload
|
||
</command>
|
||
# abcd |