mirror of
https://github.com/moparisthebest/curl
synced 2024-11-11 12:05:06 -05:00
3a63c190bb
Adjust six --libcurl tests to only check the FTP option if FTP is actually present in the build. Fixes #6303 Closes #6305
119 lines
2.9 KiB
Plaintext
119 lines
2.9 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/1465 --libcurl log/test1465.c --data-binary @log/1465-upload
|
||
</command>
|
||
# abcd |