mirror of
https://github.com/curl/curl.git
synced 2026-06-05 10:54:15 +03:00
parent
49ef2f8d1e
commit
67236f7edd
34 changed files with 54 additions and 54 deletions
|
|
@ -50,7 +50,7 @@ http
|
|||
<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>
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@ http
|
|||
<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>
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@ http
|
|||
<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>
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ http
|
|||
<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>
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ http
|
|||
<name>
|
||||
--output using #0
|
||||
</name>
|
||||
<command option="no-output">
|
||||
<command option="no-output">
|
||||
http://%HOSTIP:%HTTPPORT/%TESTNUMBER -o '%LOGDIR/base-#0'
|
||||
</command>
|
||||
</client>
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ GET /ignore/for/%TESTNUMBER HTTP/1.0
|
|||
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>
|
||||
|
|
|
|||
|
|
@ -48,10 +48,10 @@ writedelay: 10
|
|||
<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>
|
||||
|
|
|
|||
|
|
@ -65,10 +65,10 @@ http
|
|||
lib%TESTNUMBER
|
||||
</tool>
|
||||
|
||||
<name>
|
||||
<name>
|
||||
CURLFOLLOW_OBEYCODE with custom POST method, 302 => GET
|
||||
</name>
|
||||
<command>
|
||||
</name>
|
||||
<command>
|
||||
http://%HOSTIP:%HTTPPORT/%TESTNUMBER
|
||||
</command>
|
||||
</client>
|
||||
|
|
|
|||
|
|
@ -65,10 +65,10 @@ http
|
|||
lib1571
|
||||
</tool>
|
||||
|
||||
<name>
|
||||
<name>
|
||||
CURLFOLLOW_OBEYCODE with custom POST method, 308 => custom
|
||||
</name>
|
||||
<command>
|
||||
</name>
|
||||
<command>
|
||||
http://%HOSTIP:%HTTPPORT/%TESTNUMBER
|
||||
</command>
|
||||
</client>
|
||||
|
|
|
|||
|
|
@ -65,10 +65,10 @@ http
|
|||
lib1571
|
||||
</tool>
|
||||
|
||||
<name>
|
||||
<name>
|
||||
CURLFOLLOW_OBEYCODE with custom GET method, 301 => custom
|
||||
</name>
|
||||
<command>
|
||||
</name>
|
||||
<command>
|
||||
http://%HOSTIP:%HTTPPORT/%TESTNUMBER
|
||||
</command>
|
||||
</client>
|
||||
|
|
|
|||
|
|
@ -65,10 +65,10 @@ http
|
|||
lib1571
|
||||
</tool>
|
||||
|
||||
<name>
|
||||
<name>
|
||||
CURLFOLLOW_OBEYCODE with custom POST301 method, 301 => custom
|
||||
</name>
|
||||
<command>
|
||||
</name>
|
||||
<command>
|
||||
http://%HOSTIP:%HTTPPORT/%TESTNUMBER
|
||||
</command>
|
||||
</client>
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ http
|
|||
<name>
|
||||
HTTP with config file on stdin
|
||||
</name>
|
||||
<stdin>
|
||||
<stdin>
|
||||
#
|
||||
# Use a silly request without '--':
|
||||
request MOOO
|
||||
|
|
@ -35,7 +35,7 @@ request MOOO
|
|||
#
|
||||
# long option *with* '--':
|
||||
--max-time 180
|
||||
</stdin>
|
||||
</stdin>
|
||||
<command>
|
||||
-K - %HOSTIP:%HTTPPORT/that.site.com/%TESTNUMBER
|
||||
</command>
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ http
|
|||
<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>
|
||||
|
|
|
|||
|
|
@ -35,10 +35,10 @@ https test-localhost.pem
|
|||
<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>
|
||||
|
|
|
|||
|
|
@ -34,10 +34,10 @@ https test-localhost.pem
|
|||
<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>
|
||||
|
|
|
|||
|
|
@ -35,10 +35,10 @@ https test-localhost.pem
|
|||
<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>
|
||||
|
|
|
|||
|
|
@ -35,10 +35,10 @@ https test-localhost.pem
|
|||
<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>
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ http
|
|||
<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">
|
||||
|
|
|
|||
|
|
@ -40,9 +40,9 @@ http
|
|||
<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>
|
||||
|
||||
#
|
||||
|
|
|
|||
|
|
@ -45,9 +45,9 @@ http
|
|||
<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>
|
||||
|
||||
#
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ http
|
|||
<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>
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ http
|
|||
<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">
|
||||
|
|
|
|||
|
|
@ -46,7 +46,7 @@ http
|
|||
<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>
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ lib%TESTNUMBER
|
|||
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>
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@ lib%TESTNUMBER
|
|||
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>
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ http
|
|||
<name>
|
||||
HTTP POST with *HUGE* request and chunked transfer-encoding
|
||||
</name>
|
||||
<stdin>
|
||||
<stdin>
|
||||
#
|
||||
data "we post this"
|
||||
#
|
||||
|
|
@ -36,7 +36,7 @@ header "Transfer-Encoding: chunked"
|
|||
# Set the user-agent using a short-option:
|
||||
-A "%repeat[99999 x a]%"
|
||||
#
|
||||
</stdin>
|
||||
</stdin>
|
||||
<command>
|
||||
-K - %HOSTIP:%HTTPPORT/that.site.com/%TESTNUMBER
|
||||
</command>
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ HTTP multi-part formpost with aborted read callback
|
|||
</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>
|
||||
|
|
|
|||
|
|
@ -33,10 +33,10 @@ proxy
|
|||
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>
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@ http
|
|||
<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>
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ http
|
|||
<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>
|
||||
|
|
|
|||
|
|
@ -56,7 +56,7 @@ http
|
|||
<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>
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@ http
|
|||
<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>
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@ POP3 STARTTLS pipelined server response
|
|||
</name>
|
||||
<command>
|
||||
pop3://%HOSTIP:%POP3PORT/%TESTNUMBER -u user:secret --ssl
|
||||
</command>
|
||||
</command>
|
||||
</client>
|
||||
|
||||
#
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@ POP3 require STARTTLS with failing capabilities
|
|||
</name>
|
||||
<command>
|
||||
pop3://%HOSTIP:%POP3PORT/%TESTNUMBER -u user:secret --ssl-reqd
|
||||
</command>
|
||||
</command>
|
||||
</client>
|
||||
|
||||
#
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue