<name>
HTTP POST expect 100-continue with a 404
</name>
- <command option="no-output">
+<command option="no-output">
-d @%LOGDIR/file%TESTNUMBER --expect100-timeout 99 http://%HOSTIP:%HTTPPORT/%TESTNUMBER http://%HOSTIP:%HTTPPORT/%TESTNUMBER0001
</command>
</client>
<name>
HTTP POST forced expect 100-continue with a 404
</name>
- <command option="no-output">
+<command option="no-output">
-d @%LOGDIR/file%TESTNUMBER http://%HOSTIP:%HTTPPORT/%TESTNUMBER http://%HOSTIP:%HTTPPORT/%TESTNUMBER0001 -H "Expect: 100-continue" --expect100-timeout 99
</command>
</client>
<name>
HTTP PUT expect 100-continue with a 400
</name>
- <command option="no-output">
+<command option="no-output">
-H "Expect: 100-continue" -T %LOGDIR/file%TESTNUMBER http://%HOSTIP:%HTTPPORT/%TESTNUMBER -T %LOGDIR/file%TESTNUMBER http://%HOSTIP:%HTTPPORT/%TESTNUMBER0001 --expect100-timeout 99
</command>
</client>
<name>
HTTP/0.9 GET and all zeroes
</name>
- <command option="force-output">
+<command option="force-output">
http://%HOSTIP:%HTTPPORT/%TESTNUMBER -w '%{size_download}\n' --http0.9
</command>
</client>
<name>
--output using #0
</name>
- <command option="no-output">
+<command option="no-output">
http://%HOSTIP:%HTTPPORT/%TESTNUMBER -o '%LOGDIR/base-#0'
</command>
</client>
GET /we/want/%TESTNUMBER HTTP/1.0
</file>
- <command option="no-output">
+<command option="no-output">
telnet://%HOSTIP:%HTTPPORT -T %LOGDIR/%TESTNUMBER.txt
</command>
</client>
<server>
http
</server>
- <name>
+<name>
HTTP chunked encoding and chunked trailer, twice
- </name>
- <command>
+</name>
+<command>
http://%HOSTIP:%HTTPPORT/%TESTNUMBER http://%HOSTIP:%HTTPPORT/%TESTNUMBER -D %LOGDIR/heads%TESTNUMBER
</command>
</client>
lib%TESTNUMBER
</tool>
- <name>
+<name>
CURLFOLLOW_OBEYCODE with custom POST method, 302 => GET
- </name>
- <command>
+</name>
+<command>
http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
lib1571
</tool>
- <name>
+<name>
CURLFOLLOW_OBEYCODE with custom POST method, 308 => custom
- </name>
- <command>
+</name>
+<command>
http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
lib1571
</tool>
- <name>
+<name>
CURLFOLLOW_OBEYCODE with custom GET method, 301 => custom
- </name>
- <command>
+</name>
+<command>
http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
lib1571
</tool>
- <name>
+<name>
CURLFOLLOW_OBEYCODE with custom POST301 method, 301 => custom
- </name>
- <command>
+</name>
+<command>
http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
<name>
HTTP with config file on stdin
</name>
- <stdin>
+<stdin>
#
# Use a silly request without '--':
request MOOO
#
# long option *with* '--':
--max-time 180
- </stdin>
+</stdin>
<command>
-K - %HOSTIP:%HTTPPORT/that.site.com/%TESTNUMBER
</command>
<name>
HTTP GET --retry-all-errors to overcome partial transfer
</name>
- <command option="no-output,no-include">
+<command option="no-output,no-include">
--retry 1 --retry-all-errors -o %LOGDIR/outfile%TESTNUMBER http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
<name>
simple HTTPS GET with DER public key pinning (Schannel variant)
</name>
- <setenv>
+<setenv>
# This test is pointless if we are not using the Schannel backend
CURL_SSL_BACKEND=schannel
- </setenv>
+</setenv>
<command>
-4 --cacert %CERTDIR/certs/test-ca.crt --pinnedpubkey %CERTDIR/certs/test-localhost.pub.der --ssl-revoke-best-effort https://localhost:%HTTPSPORT/%TESTNUMBER
</command>
<name>
Ignore certificate revocation "best effort" strategy
</name>
- <setenv>
+<setenv>
# This test is pointless if we are not using the Schannel backend
CURL_SSL_BACKEND=schannel
- </setenv>
+</setenv>
<command>
-4 --cacert %CERTDIR/certs/test-ca.crt --ssl-revoke-best-effort https://localhost:%HTTPSPORT/%TESTNUMBER
</command>
<name>
simple HTTPS GET with PEM public key pinning (Schannel variant)
</name>
- <setenv>
+<setenv>
# This test is pointless if we are not using the Schannel backend
CURL_SSL_BACKEND=schannel
- </setenv>
+</setenv>
<command>
-4 --cacert %CERTDIR/certs/test-ca.crt --pinnedpubkey %CERTDIR/certs/test-localhost.pub.pem --ssl-revoke-best-effort https://localhost:%HTTPSPORT/%TESTNUMBER
</command>
<name>
simple HTTPS GET with base64-sha256 public key pinning (Schannel variant)
</name>
- <setenv>
+<setenv>
# This test is pointless if we are not using the Schannel backend
CURL_SSL_BACKEND=schannel
- </setenv>
+</setenv>
<command>
-4 --cacert %CERTDIR/certs/test-ca.crt --pinnedpubkey sha256//%sha256b64file[%CERTDIR/certs/test-localhost.pub.der]sha256b64file% --ssl-revoke-best-effort https://localhost:%HTTPSPORT/%TESTNUMBER
</command>
<name>
HTTP resume request over proxy with auth without server supporting it
</name>
- <command option="no-output">
+<command option="no-output">
-x http://%HOSTIP:%HTTPPORT http://%HOSTIP:%HTTPPORT/want/%TESTNUMBER -C - --no-include -o %LOGDIR/fewl%TESTNUMBER.txt -U daniel:stenberg
</command>
<file name="%LOGDIR/fewl%TESTNUMBER.txt">
<name>
HTTP GET gobbledigook transfer-encoded data in raw mode
</name>
- <command option="no-include">
+<command option="no-include">
http://%HOSTIP:%HTTPPORT/%TESTNUMBER --raw
- </command>
+</command>
</client>
#
<name>
HTTP GET chunked data in raw mode
</name>
- <command option="no-include">
+<command option="no-include">
http://%HOSTIP:%HTTPPORT/%TESTNUMBER --raw
- </command>
+</command>
</client>
#
<name>
--remove-on-error
</name>
- <command option="no-output">
+<command option="no-output">
http://%HOSTIP:%HTTPPORT/%TESTNUMBER -o %LOGDIR/save-%TESTNUMBER --remove-on-error
</command>
</client>
<name>
HTTP resume request without server supporting it
</name>
- <command option="no-output">
+<command option="no-output">
http://%HOSTIP:%HTTPPORT/want/%TESTNUMBER -C - --no-include -o %LOGDIR/fewl%TESTNUMBER.txt
</command>
<file name="%LOGDIR/fewl%TESTNUMBER.txt">
<name>
Reject HTTP/1.1 to HTTP/2 switch on the same connection
</name>
- <command option="no-output">
+<command option="no-output">
"http://%HOSTIP:%HTTPPORT/{%TESTNUMBER,%TESTNUMBER0001}" -o "%LOGDIR/dumpit#1.dump"
</command>
</client>
send HTTP POST using read callback that returns CURL_READFUNC_ABORT
</name>
# the 1s post-command delay helps to prevent a spurious failure on s390
- <command delay="1">
+<command delay="1">
http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
First set options to POST and then to make HEAD
</name>
# the 1s post-command delay helps to prevent a spurious failure on s390
- <command delay="1">
+<command delay="1">
http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
<name>
HTTP POST with *HUGE* request and chunked transfer-encoding
</name>
- <stdin>
+<stdin>
#
data "we post this"
#
# Set the user-agent using a short-option:
-A "%repeat[99999 x a]%"
#
- </stdin>
+</stdin>
<command>
-K - %HOSTIP:%HTTPPORT/that.site.com/%TESTNUMBER
</command>
</name>
# Add a delay to give server time to write its output since we otherwise might
# not even give it enough time to write its lock file.
- <command delay="1">
+<command delay="1">
http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
http
socks5
</server>
- <name>
+<name>
SOCKS5h with HTTP redirect to hostname too long
- </name>
- <command>
+</name>
+<command>
--no-progress-meter --location --proxy socks5h://%HOSTIP:%SOCKSPORT http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
<name>
HTTP, urlglob {}-retrieval and -o #[num] usage
</name>
- <command option="no-output">
+<command option="no-output">
"http://%HOSTIP:%HTTPPORT/{%TESTNUMBER,%TESTNUMBER0001}" -o "%LOGDIR/dumpit#1.dump"
</command>
</client>
<name>
HTTP, urlglob retrieval with bad range
</name>
- <command option="no-output">
+<command option="no-output">
"http://a-site-never-accessed.example.org/[2-1]" -o "%LOGDIR/weee#1.dump" --stderr -
</command>
</client>
<name>
HTTP, urlglob []-retrieval and -o #[num] usage
</name>
- <command option="no-output">
+<command option="no-output">
"http://%HOSTIP:%HTTPPORT/[%TESTNUMBER0001-%TESTNUMBER0003]" -o "%LOGDIR/dumpit#1.dump"
</command>
</client>
<name>
urlglob with out of range -o #[num] usage
</name>
- <command option="no-output">
+<command option="no-output">
"http://%HOSTIP:%HTTPPORT/[%TESTNUMBER0001-%TESTNUMBER0002]" -o "%LOGDIR/dumpit%TESTNUMBER-#2.dump"
</command>
</client>
</name>
<command>
pop3://%HOSTIP:%POP3PORT/%TESTNUMBER -u user:secret --ssl
- </command>
+</command>
</client>
#
</name>
<command>
pop3://%HOSTIP:%POP3PORT/%TESTNUMBER -u user:secret --ssl-reqd
- </command>
+</command>
</client>
#