mirror of
https://github.com/moparisthebest/curl
synced 2024-12-23 08:38:49 -05:00
tests: use proxy feature
This makes the tests succeed when using --disable-proxy. Closes https://github.com/curl/curl/pull/4488
This commit is contained in:
parent
ee63837732
commit
476eb88171
@ -65,6 +65,7 @@ http
|
||||
<features>
|
||||
!SSPI
|
||||
crypto
|
||||
proxy
|
||||
</features>
|
||||
<name>
|
||||
HTTP PUT with Digest auth, resumed upload and modified method, twice
|
||||
|
@ -88,6 +88,7 @@ http
|
||||
NTLM
|
||||
!SSPI
|
||||
debug
|
||||
proxy
|
||||
</features>
|
||||
<name>
|
||||
HTTP proxy CONNECT auth NTLM with chunked-encoded 407 response
|
||||
|
@ -93,6 +93,7 @@ http
|
||||
NTLM
|
||||
!SSPI
|
||||
debug
|
||||
proxy
|
||||
</features>
|
||||
<name>
|
||||
HTTP proxy CONNECT with any proxyauth and proxy offers NTLM and close
|
||||
|
@ -26,6 +26,7 @@ Content-Length: 0
|
||||
<client>
|
||||
<features>
|
||||
ftp
|
||||
proxy
|
||||
</features>
|
||||
<server>
|
||||
http
|
||||
|
@ -869,6 +869,7 @@ http
|
||||
<features>
|
||||
!SSPI
|
||||
crypto
|
||||
proxy
|
||||
</features>
|
||||
<name>
|
||||
HTTP proxy CONNECT auth Digest, large headers and data
|
||||
|
@ -874,6 +874,7 @@ http
|
||||
<features>
|
||||
!SSPI
|
||||
crypto
|
||||
proxy
|
||||
</features>
|
||||
<name>
|
||||
HTTP proxy CONNECT auth Digest, large headers and chunked data
|
||||
|
@ -44,6 +44,7 @@ http
|
||||
</server>
|
||||
<features>
|
||||
ftp
|
||||
proxy
|
||||
</features>
|
||||
<name>
|
||||
FTP over HTTP proxy with downgrade to HTTP 1.0
|
||||
|
@ -45,6 +45,9 @@ HTTP 1.0 CONNECT with proxytunnel and downgrade GET to HTTP/1.0
|
||||
<command>
|
||||
--proxy1.0 %HOSTIP:%PROXYPORT -p http://%HOSTIP.1078:%HTTPPORT/we/want/that/page/1078 http://%HOSTIP.1078:%HTTPPORT/we/want/that/page/1078
|
||||
</command>
|
||||
<features>
|
||||
proxy
|
||||
</features>
|
||||
</client>
|
||||
|
||||
#
|
||||
|
@ -80,6 +80,9 @@ HTTP, proxy with --anyauth and Location: to new host
|
||||
<command>
|
||||
http://first.host.it.is/we/want/that/page/10871000 -x %HOSTIP:%HTTPPORT --user iam:myself --location --anyauth
|
||||
</command>
|
||||
<features>
|
||||
proxy
|
||||
</features>
|
||||
</client>
|
||||
|
||||
#
|
||||
|
@ -81,6 +81,9 @@ HTTP, proxy with --anyauth and Location: to new host using location-trusted
|
||||
<command>
|
||||
http://first.host.it.is/we/want/that/page/10881000 -x %HOSTIP:%HTTPPORT --user iam:myself --location-trusted --anyauth
|
||||
</command>
|
||||
<features>
|
||||
proxy
|
||||
</features>
|
||||
</client>
|
||||
|
||||
#
|
||||
|
@ -30,6 +30,7 @@ http
|
||||
</server>
|
||||
<features>
|
||||
ftp
|
||||
proxy
|
||||
</features>
|
||||
<name>
|
||||
FTP with type=i over HTTP proxy
|
||||
|
@ -29,6 +29,7 @@ http
|
||||
<features>
|
||||
http
|
||||
ftp
|
||||
proxy
|
||||
</features>
|
||||
<name>
|
||||
FTP RETR twice over proxy confirming persistent connection
|
||||
|
@ -61,6 +61,9 @@ HTTP cookie expiry date at Jan 1 00:00:00 GMT 1970
|
||||
<command>
|
||||
http://%HOSTIP:%HTTPPORT/want/1104 -L -x %HOSTIP:%HTTPPORT -c log/cookies1104.jar
|
||||
</command>
|
||||
<features>
|
||||
proxy
|
||||
</features>
|
||||
</client>
|
||||
|
||||
# Verify data after the test has been "shot"
|
||||
|
@ -24,6 +24,7 @@ hello
|
||||
<client>
|
||||
<features>
|
||||
ftp
|
||||
proxy
|
||||
</features>
|
||||
<server>
|
||||
http
|
||||
|
@ -33,6 +33,7 @@ boo
|
||||
<client>
|
||||
<features>
|
||||
PSL
|
||||
proxy
|
||||
</features>
|
||||
<server>
|
||||
http
|
||||
|
@ -47,6 +47,9 @@ HTTP redirect to http:/// (three slashes!)
|
||||
<command>
|
||||
%HOSTIP:%HTTPPORT/want/1141 -L -x http://%HOSTIP:%HTTPPORT
|
||||
</command>
|
||||
<features>
|
||||
proxy
|
||||
</features>
|
||||
</client>
|
||||
|
||||
# Verify data after the test has been "shot"
|
||||
|
@ -42,6 +42,9 @@ HTTP redirect to http://// (four slashes!)
|
||||
<command>
|
||||
%HOSTIP:%HTTPPORT/want/1142 -L -x http://%HOSTIP:%HTTPPORT
|
||||
</command>
|
||||
<features>
|
||||
proxy
|
||||
</features>
|
||||
</client>
|
||||
|
||||
# Verify data after the test has been "shot"
|
||||
|
@ -32,6 +32,9 @@ HTTP proxy with URLs using different ports
|
||||
<command>
|
||||
--proxy http://%HOSTIP:%HTTPPORT http://test.remote.example.com.1150:150/path http://test.remote.example.com.1150:1234/path/
|
||||
</command>
|
||||
<features>
|
||||
proxy
|
||||
</features>
|
||||
</client>
|
||||
|
||||
# Verify data after the test has been "shot"
|
||||
|
@ -35,6 +35,9 @@ HTTP with proxy and host-only URL
|
||||
<command>
|
||||
-x %HOSTIP:%HTTPPORT we.want.that.site.com.1213
|
||||
</command>
|
||||
<features>
|
||||
proxy
|
||||
</features>
|
||||
</client>
|
||||
|
||||
# Verify data after the test has been "shot"
|
||||
|
@ -35,6 +35,9 @@ HTTP with proxy and URL with ? and no slash separator
|
||||
<command>
|
||||
-x %HOSTIP:%HTTPPORT http://we.want.that.site.com.1214?moo=foo
|
||||
</command>
|
||||
<features>
|
||||
proxy
|
||||
</features>
|
||||
</client>
|
||||
|
||||
# Verify data after the test has been "shot"
|
||||
|
@ -60,6 +60,7 @@ Finally, this is the real page!
|
||||
NTLM
|
||||
!SSPI
|
||||
debug
|
||||
proxy
|
||||
</features>
|
||||
<server>
|
||||
http
|
||||
|
@ -39,6 +39,9 @@ example.fake FALSE /b FALSE 0 moo1 indeed
|
||||
example.fake FALSE /c FALSE 2139150993 moo2 indeed
|
||||
example.fake TRUE /c FALSE 2139150993 moo3 indeed
|
||||
</file>
|
||||
<features>
|
||||
proxy
|
||||
</features>
|
||||
</client>
|
||||
|
||||
# Verify data after the test has been "shot"
|
||||
|
@ -32,6 +32,9 @@ HTTP cookies and domains with same prefix
|
||||
<command>
|
||||
http://example.fake/c/1218 http://example.fake/c/1218 http://bexample.fake/c/1218 -b nonexisting -x %HOSTIP:%HTTPPORT
|
||||
</command>
|
||||
<features>
|
||||
proxy
|
||||
</features>
|
||||
</client>
|
||||
|
||||
# Verify data after the test has been "shot"
|
||||
|
@ -31,6 +31,9 @@ HTTP cookie path match
|
||||
<command>
|
||||
http://example.fake/hoge/1228 http://example.fake/hogege/ -b nonexisting -x %HOSTIP:%HTTPPORT
|
||||
</command>
|
||||
<features>
|
||||
proxy
|
||||
</features>
|
||||
</client>
|
||||
|
||||
# Verify data after the test has been "shot"
|
||||
|
@ -43,6 +43,7 @@ mooooooo
|
||||
<client>
|
||||
<features>
|
||||
ipv6
|
||||
proxy
|
||||
</features>
|
||||
<server>
|
||||
http-proxy
|
||||
|
@ -41,6 +41,9 @@ HTTP URL with dotdot removal from path using an HTTP proxy
|
||||
<command>
|
||||
--proxy http://%HOSTIP:%HTTPPORT http://test.remote.haxx.se.1232:8990/../../hej/but/who/../1232?stupid=me/../1232#soo/../1232 http://test.remote.haxx.se.1232:8990/../../hej/but/who/../12320001#/../12320001
|
||||
</command>
|
||||
<features>
|
||||
proxy
|
||||
</features>
|
||||
</client>
|
||||
|
||||
#
|
||||
|
@ -40,6 +40,9 @@ HTTP _without_ dotdot removal
|
||||
<command>
|
||||
--path-as-is --proxy http://%HOSTIP:%HTTPPORT http://test.remote.haxx.se.1241:8990/../../hej/but/who/../1241?stupid=me/../1241#soo/../1241 http://test.remote.haxx.se.1241:8990/../../hej/but/who/../12410001#/../12410001
|
||||
</command>
|
||||
<features>
|
||||
proxy
|
||||
</features>
|
||||
</client>
|
||||
|
||||
#
|
||||
|
@ -40,6 +40,9 @@ URL with '#' at end of host name instead of '/'
|
||||
<command>
|
||||
--proxy http://%HOSTIP:%HTTPPORT http://test.remote.haxx.se.1246:%HTTPPORT#@127.0.0.1/tricked.html no-scheme-url.com.1246:%HTTPPORT#@127.127.127.127/again.html
|
||||
</command>
|
||||
<features>
|
||||
proxy
|
||||
</features>
|
||||
</client>
|
||||
|
||||
#
|
||||
|
@ -35,6 +35,9 @@ NO_PROXY=example.com
|
||||
<command>
|
||||
http://somewhere.example.com/1253 --proxy http://%HOSTIP:%HTTPPORT --noproxy %HOSTIP
|
||||
</command>
|
||||
<features>
|
||||
proxy
|
||||
</features>
|
||||
</client>
|
||||
|
||||
# Verify data after the test has been "shot"
|
||||
|
@ -35,6 +35,9 @@ NO_PROXY=example.com
|
||||
<command>
|
||||
http://somewhere.example.com/1254 --proxy http://%HOSTIP:%HTTPPORT --noproxy ""
|
||||
</command>
|
||||
<features>
|
||||
proxy
|
||||
</features>
|
||||
</client>
|
||||
|
||||
# Verify data after the test has been "shot"
|
||||
|
@ -36,6 +36,9 @@ NO_PROXY=example.com
|
||||
<command>
|
||||
http://somewhere.example.com/1256 --noproxy %HOSTIP
|
||||
</command>
|
||||
<features>
|
||||
proxy
|
||||
</features>
|
||||
</client>
|
||||
|
||||
# Verify data after the test has been "shot"
|
||||
|
@ -36,6 +36,9 @@ NO_PROXY=example.com
|
||||
<command>
|
||||
http://somewhere.example.com/1257 --noproxy ""
|
||||
</command>
|
||||
<features>
|
||||
proxy
|
||||
</features>
|
||||
</client>
|
||||
|
||||
# Verify data after the test has been "shot"
|
||||
|
@ -60,6 +60,9 @@ HTTP over proxy-tunnel ignore TE and CL in CONNECT 2xx responses
|
||||
<command>
|
||||
-v --proxytunnel -x %HOSTIP:%PROXYPORT http://test.1287:%HTTPPORT/we/want/that/page/1287
|
||||
</command>
|
||||
<features>
|
||||
proxy
|
||||
</features>
|
||||
</client>
|
||||
|
||||
#
|
||||
|
@ -44,6 +44,9 @@ Suppress proxy CONNECT response headers
|
||||
<command>
|
||||
--proxytunnel --suppress-connect-headers --dump-header - --include --write-out "\nCONNECT CODE: %{http_connect}\nRECEIVED HEADER BYTE TOTAL: %{size_header}\n" --proxy %HOSTIP:%PROXYPORT http://%HOSTIP.1288:%HTTPPORT/we/want/that/page/1288
|
||||
</command>
|
||||
<features>
|
||||
proxy
|
||||
</features>
|
||||
</client>
|
||||
|
||||
#
|
||||
|
@ -56,6 +56,9 @@ HTTP Location: following a // prefixed url
|
||||
<command>
|
||||
http://firstplace.example.com/want/1314 -L -x http://%HOSTIP:%HTTPPORT
|
||||
</command>
|
||||
<features>
|
||||
proxy
|
||||
</features>
|
||||
</client>
|
||||
|
||||
# Verify data after the test has been "shot"
|
||||
|
@ -50,6 +50,7 @@ http-proxy
|
||||
</server>
|
||||
<features>
|
||||
http
|
||||
proxy
|
||||
</features>
|
||||
<name>
|
||||
POP3 fetch tunneled through HTTP proxy
|
||||
|
@ -27,6 +27,7 @@ http-proxy
|
||||
</server>
|
||||
<features>
|
||||
http
|
||||
proxy
|
||||
</features>
|
||||
<name>
|
||||
SMTP send tunneled through HTTP proxy
|
||||
|
@ -46,6 +46,7 @@ http-proxy
|
||||
</server>
|
||||
<features>
|
||||
http
|
||||
proxy
|
||||
</features>
|
||||
<name>
|
||||
IMAP FETCH tunneled through HTTP proxy
|
||||
|
@ -17,6 +17,9 @@ http
|
||||
<command>
|
||||
http://%HOSTIP:%HTTPPORT/we/want/that/page/1329 -x "/server"
|
||||
</command>
|
||||
<features>
|
||||
proxy
|
||||
</features>
|
||||
</client>
|
||||
|
||||
#
|
||||
|
@ -64,6 +64,9 @@ HTTP --proxy-anyauth and 407 with cookies
|
||||
<command>
|
||||
-U myname:mypassword -x %HOSTIP:%HTTPPORT http://z.x.com/1331 --proxy-anyauth -c log/dump1331
|
||||
</command>
|
||||
<features>
|
||||
proxy
|
||||
</features>
|
||||
</client>
|
||||
|
||||
# Verify data after the test has been "shot"
|
||||
|
@ -46,6 +46,9 @@ TZ=GMT
|
||||
<command>
|
||||
http://example.com/we/want/1415 -b none -c log/jar1415.txt -x %HOSTIP:%HTTPPORT
|
||||
</command>
|
||||
<features>
|
||||
proxy
|
||||
</features>
|
||||
</client>
|
||||
|
||||
# Verify data after the test has been "shot"
|
||||
|
@ -35,6 +35,9 @@ Re-using HTTP proxy connection for two different host names
|
||||
<command>
|
||||
--proxy http://%HOSTIP:%HTTPPORT http://test.remote.haxx.se.1421:8990/ http://different.remote.haxx.se.1421:8990
|
||||
</command>
|
||||
<features>
|
||||
proxy
|
||||
</features>
|
||||
</client>
|
||||
|
||||
#
|
||||
|
@ -52,6 +52,9 @@ HTTP over proxy-tunnel with --proxy-header and --header
|
||||
<command>
|
||||
http://test.1428:%HTTPPORT/we/want/that/page/1428 -p -x %HOSTIP:%PROXYPORT --user 'iam:my:;self' --header "header-type: server" --proxy-header "header-type: proxy"
|
||||
</command>
|
||||
<features>
|
||||
proxy
|
||||
</features>
|
||||
</client>
|
||||
|
||||
#
|
||||
|
@ -18,6 +18,7 @@ none
|
||||
</server>
|
||||
<features>
|
||||
http
|
||||
proxy
|
||||
</features>
|
||||
<name>
|
||||
Provide illegal proxy name
|
||||
|
@ -39,6 +39,9 @@ HTTP GET when PROXY Protocol enabled
|
||||
<command>
|
||||
http://%HOSTIP:%HTTPPORT/1455 --haproxy-protocol
|
||||
</command>
|
||||
<features>
|
||||
proxy
|
||||
</features>
|
||||
</client>
|
||||
|
||||
#
|
||||
|
@ -42,6 +42,9 @@ HTTP-IPv6 GET with PROXY protocol
|
||||
<command>
|
||||
-g "http://%HOST6IP:%HTTP6PORT/1456" --local-port 44444 --haproxy-protocol
|
||||
</command>
|
||||
<features>
|
||||
proxy
|
||||
</features>
|
||||
</client>
|
||||
|
||||
#
|
||||
|
@ -53,7 +53,9 @@ http-proxy
|
||||
<tool>
|
||||
lib1509
|
||||
</tool>
|
||||
|
||||
<features>
|
||||
proxy
|
||||
</features>
|
||||
<name>
|
||||
simple multi http:// through proxytunnel with authentication info
|
||||
</name>
|
||||
|
@ -49,6 +49,9 @@ CURLOPT_PROXYHEADER is ignored CURLHEADER_UNIFIED
|
||||
<command>
|
||||
http://the.old.moo.1525:%HTTPPORT/1525 %HOSTIP:%PROXYPORT
|
||||
</command>
|
||||
<features>
|
||||
proxy
|
||||
</features>
|
||||
</client>
|
||||
|
||||
# Verify data after the test has been "shot"
|
||||
|
@ -51,6 +51,9 @@ CURLOPT_PROXYHEADER: separate host/proxy headers
|
||||
<command>
|
||||
http://the.old.moo.1526:%HTTPPORT/1526 %HOSTIP:%PROXYPORT
|
||||
</command>
|
||||
<features>
|
||||
proxy
|
||||
</features>
|
||||
</client>
|
||||
|
||||
# Verify data after the test has been "shot"
|
||||
|
@ -50,6 +50,9 @@ Check same headers are generated with CURLOPT_HEADEROPT == CURLHEADER_UNIFIED
|
||||
<command>
|
||||
http://the.old.moo.1527:%HTTPPORT/1527 %HOSTIP:%PROXYPORT
|
||||
</command>
|
||||
<features>
|
||||
proxy
|
||||
</features>
|
||||
</client>
|
||||
|
||||
# Verify data after the test has been "shot"
|
||||
|
@ -43,6 +43,9 @@ Separately specified proxy/server headers sent in a proxy GET
|
||||
<command>
|
||||
http://the.old.moo:%HTTPPORT/1528 %HOSTIP:%PROXYPORT
|
||||
</command>
|
||||
<features>
|
||||
proxy
|
||||
</features>
|
||||
</client>
|
||||
|
||||
# Verify data after the test has been "shot"
|
||||
|
@ -31,6 +31,9 @@ HTTP request-injection in URL sent over proxy
|
||||
<command>
|
||||
"http://the.old.moo:%HTTPPORT/1529" %HOSTIP:%PROXYPORT
|
||||
</command>
|
||||
<features>
|
||||
proxy
|
||||
</features>
|
||||
</client>
|
||||
|
||||
# it should be detected and an error should be reported
|
||||
|
@ -33,6 +33,9 @@ HTTP with proxy authorization
|
||||
<command>
|
||||
-U fake@user:loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooong -x %HOSTIP:%HTTPPORT http://we.want.that.site.com/16
|
||||
</command>
|
||||
<features>
|
||||
proxy
|
||||
</features>
|
||||
</client>
|
||||
|
||||
# Verify data after the test has been "shot"
|
||||
|
@ -28,6 +28,7 @@ isn't because there's no Proxy-Authorization: NTLM header
|
||||
<features>
|
||||
NTLM
|
||||
!SSPI
|
||||
proxy
|
||||
</features>
|
||||
<server>
|
||||
http
|
||||
|
@ -29,6 +29,7 @@ http
|
||||
</server>
|
||||
<features>
|
||||
idn
|
||||
proxy
|
||||
</features>
|
||||
<setenv>
|
||||
LC_ALL=
|
||||
|
@ -45,6 +45,7 @@ http
|
||||
<features>
|
||||
!SSPI
|
||||
crypto
|
||||
proxy
|
||||
</features>
|
||||
<name>
|
||||
HTTP with proxy-requiring-Basic to site-requiring-Digest
|
||||
|
@ -59,6 +59,7 @@ http
|
||||
<features>
|
||||
!SSPI
|
||||
crypto
|
||||
proxy
|
||||
</features>
|
||||
<name>
|
||||
HTTP with proxy-requiring-Digest to site-requiring-Digest
|
||||
|
@ -79,6 +79,7 @@ http
|
||||
NTLM
|
||||
!SSPI
|
||||
debug
|
||||
proxy
|
||||
</features>
|
||||
<name>
|
||||
HTTP with proxy-requiring-NTLM to site-requiring-Digest
|
||||
|
@ -20,6 +20,7 @@ http
|
||||
<features>
|
||||
NTLM
|
||||
!SSPI
|
||||
proxy
|
||||
</features>
|
||||
<name>
|
||||
HTTP POST with --proxy-ntlm and no SSL with no response
|
||||
|
@ -33,6 +33,9 @@ HTTP, get cookie with dot prefixed full domain
|
||||
<command>
|
||||
-c log/jar171 -x %HOSTIP:%HTTPPORT http://z.x.com/171
|
||||
</command>
|
||||
<features>
|
||||
proxy
|
||||
</features>
|
||||
</client>
|
||||
|
||||
# Verify data after the test has been "shot"
|
||||
|
@ -38,6 +38,9 @@ supertrooper.fake FALSE /a FALSE 2139150993 mooo indeed
|
||||
supertrooper.fake FALSE /b FALSE 0 moo1 indeed
|
||||
supertrooper.fake FALSE /c FALSE 2139150993 moo2 indeed
|
||||
</file>
|
||||
<features>
|
||||
proxy
|
||||
</features>
|
||||
</client>
|
||||
|
||||
# Verify data after the test has been "shot"
|
||||
|
@ -30,6 +30,9 @@ HTTP GET two URLs over a single proxy with persistent connection
|
||||
<command>
|
||||
http://deathstar.another.galaxy/183 http://a.galaxy.far.far.away/183 --proxy http://%HOSTIP:%HTTPPORT
|
||||
</command>
|
||||
<features>
|
||||
proxy
|
||||
</features>
|
||||
</client>
|
||||
|
||||
# Verify data after the test has been "shot"
|
||||
|
@ -50,6 +50,9 @@ HTTP replace Host: when following Location: to new host
|
||||
<command>
|
||||
http://deathstar.another.galaxy/184 -L -H "Host: another.visitor.stay.a.while.stay.foreeeeeever" --proxy http://%HOSTIP:%HTTPPORT
|
||||
</command>
|
||||
<features>
|
||||
proxy
|
||||
</features>
|
||||
</client>
|
||||
|
||||
# Verify data after the test has been "shot"
|
||||
|
@ -50,6 +50,9 @@ HTTP replace Host: when following Location: on the same host
|
||||
<command>
|
||||
http://deathstar.another.galaxy/185 -L -H "Host: another.visitor.stay.a.while.stay.foreeeeeever" --proxy http://%HOSTIP:%HTTPPORT
|
||||
</command>
|
||||
<features>
|
||||
proxy
|
||||
</features>
|
||||
</client>
|
||||
|
||||
# Verify data after the test has been "shot"
|
||||
|
@ -53,6 +53,9 @@ HTTP CONNECT with 204 response
|
||||
<command>
|
||||
http://test.1904:%HTTPPORT/we/want/that/page/1904 -p --proxy %HOSTIP:%PROXYPORT
|
||||
</command>
|
||||
<features>
|
||||
proxy
|
||||
</features>
|
||||
</client>
|
||||
|
||||
#
|
||||
|
@ -53,6 +53,9 @@ Connect to specific host via HTTP proxy (switch to tunnel mode automatically)
|
||||
<command>
|
||||
http://www.example.com.2050/2050 --connect-to ::connect.example.com.2050:%HTTPPORT -x %HOSTIP:%PROXYPORT
|
||||
</command>
|
||||
<features>
|
||||
proxy
|
||||
</features>
|
||||
</client>
|
||||
|
||||
#
|
||||
|
@ -51,7 +51,9 @@ socks5
|
||||
<name>
|
||||
Connect to specific host via SOCKS proxy and HTTP proxy (switch to tunnel mode automatically)
|
||||
</name>
|
||||
|
||||
<features>
|
||||
proxy
|
||||
</features>
|
||||
<command>
|
||||
http://www.example.com.2055/2055 --connect-to ::connect.example.com.2055:%HTTPPORT -x %HOSTIP:%PROXYPORT --preproxy socks5://%HOSTIP:%SOCKSPORT
|
||||
</command>
|
||||
|
@ -66,6 +66,7 @@ http
|
||||
<features>
|
||||
!SSPI
|
||||
crypto
|
||||
proxy
|
||||
</features>
|
||||
<name>
|
||||
HTTP POST --digest with PUT, resumed upload, modified method and SHA-256
|
||||
|
@ -66,6 +66,7 @@ http
|
||||
<features>
|
||||
!SSPI
|
||||
crypto
|
||||
proxy
|
||||
</features>
|
||||
<name>
|
||||
HTTP POST --digest with PUT, resumed upload, modified method, SHA-512-256 and userhash=true
|
||||
|
@ -73,6 +73,7 @@ http
|
||||
<features>
|
||||
!SSPI
|
||||
crypto
|
||||
proxy
|
||||
</features>
|
||||
<name>
|
||||
HTTP proxy CONNECT auth Digest
|
||||
|
@ -66,6 +66,7 @@ http
|
||||
<features>
|
||||
!SSPI
|
||||
crypto
|
||||
proxy
|
||||
</features>
|
||||
<name>
|
||||
HTTP POST --digest with PUT, resumed upload, modified method, SHA-512-256 and userhash=false
|
||||
|
@ -27,6 +27,7 @@ http
|
||||
</server>
|
||||
<features>
|
||||
ftp
|
||||
proxy
|
||||
</features>
|
||||
<name>
|
||||
HTTP PUT to a FTP URL with username+password - over HTTP proxy
|
||||
|
@ -79,6 +79,7 @@ http
|
||||
NTLM
|
||||
!SSPI
|
||||
debug
|
||||
proxy
|
||||
</features>
|
||||
<name>
|
||||
HTTP proxy CONNECT auth NTLM
|
||||
|
@ -79,6 +79,7 @@ http
|
||||
NTLM
|
||||
!SSPI
|
||||
debug
|
||||
proxy
|
||||
</features>
|
||||
<name>
|
||||
HTTP 1.0 proxy CONNECT auth NTLM and then POST
|
||||
|
@ -34,6 +34,9 @@ HTTP proxy CONNECT to proxy returning 405
|
||||
<command>
|
||||
http://test.remote.example.com.217:%HTTPPORT/path/2170002 --proxy http://%HOSTIP:%HTTPPORT --proxytunnel -w "%{http_code} %{http_connect}\n"
|
||||
</command>
|
||||
<features>
|
||||
proxy
|
||||
</features>
|
||||
</client>
|
||||
|
||||
# Verify data after the test has been "shot"
|
||||
|
@ -18,6 +18,7 @@ none
|
||||
</server>
|
||||
<features>
|
||||
http
|
||||
proxy
|
||||
</features>
|
||||
<name>
|
||||
try using proxy with unsupported scheme
|
||||
|
@ -67,6 +67,9 @@ HTTP, proxy, site+proxy auth and Location: to new host
|
||||
<command>
|
||||
http://first.host.it.is/we/want/that/page/233 -x %HOSTIP:%HTTPPORT --user iam:myself --proxy-user testing:this --location
|
||||
</command>
|
||||
<features>
|
||||
proxy
|
||||
</features>
|
||||
</client>
|
||||
|
||||
#
|
||||
|
@ -69,6 +69,9 @@ HTTP, proxy, site+proxy auth and Location: to new host using location-trusted
|
||||
<command>
|
||||
http://first.host.it.is/we/want/that/page/234 -x %HOSTIP:%HTTPPORT --user iam:myself --proxy-user testing:this --location-trusted
|
||||
</command>
|
||||
<features>
|
||||
proxy
|
||||
</features>
|
||||
</client>
|
||||
|
||||
#
|
||||
|
@ -54,6 +54,7 @@ http
|
||||
NTLM
|
||||
!SSPI
|
||||
debug
|
||||
proxy
|
||||
</features>
|
||||
<name>
|
||||
HTTP proxy-auth NTLM and then POST
|
||||
|
@ -75,6 +75,7 @@ http
|
||||
NTLM
|
||||
!SSPI
|
||||
debug
|
||||
proxy
|
||||
</features>
|
||||
<name>
|
||||
HTTP POST with --proxy-anyauth, picking NTLM
|
||||
|
@ -35,6 +35,9 @@ HTTP resume request over proxy with auth without server supporting it
|
||||
This text is here to simulate a partly downloaded file to resume
|
||||
download on.
|
||||
</file>
|
||||
<features>
|
||||
proxy
|
||||
</features>
|
||||
</client>
|
||||
|
||||
# Verify data after the test has been "shot"
|
||||
|
@ -73,7 +73,9 @@ HTTP Location: following with --netrc-optional
|
||||
<command>
|
||||
http://supersite.com/want/257 -L -x http://%HOSTIP:%HTTPPORT --netrc-optional --netrc-file log/netrc257
|
||||
</command>
|
||||
|
||||
<features>
|
||||
proxy
|
||||
</features>
|
||||
# netrc auth for two out of three sites:
|
||||
<file name="log/netrc257">
|
||||
machine supersite.com login user1 password passwd1
|
||||
|
@ -58,6 +58,7 @@ http
|
||||
<features>
|
||||
!SSPI
|
||||
crypto
|
||||
proxy
|
||||
</features>
|
||||
<name>
|
||||
HTTP POST multipart without Expect: header using proxy anyauth (Digest)
|
||||
|
@ -54,6 +54,7 @@ http
|
||||
<features>
|
||||
!SSPI
|
||||
crypto
|
||||
proxy
|
||||
</features>
|
||||
<name>
|
||||
HTTP POST multipart with Expect: header using proxy anyauth (Digest)
|
||||
|
@ -25,6 +25,7 @@ hello
|
||||
<client>
|
||||
<features>
|
||||
ipv6
|
||||
proxy
|
||||
</features>
|
||||
<server>
|
||||
http-ipv6
|
||||
|
@ -30,6 +30,9 @@ HTTP with proxy string including http:// and user+password
|
||||
<command>
|
||||
http://we.want.that.site.com/264 -x http://f%61ke:user@%HOSTIP:%HTTPPORT
|
||||
</command>
|
||||
<features>
|
||||
proxy
|
||||
</features>
|
||||
</client>
|
||||
|
||||
# Verify data after the test has been "shot"
|
||||
|
@ -80,6 +80,7 @@ http
|
||||
NTLM
|
||||
!SSPI
|
||||
debug
|
||||
proxy
|
||||
</features>
|
||||
<name>
|
||||
HTTP proxy CONNECT auth NTLM and then POST, response-body in the 407
|
||||
|
@ -56,6 +56,9 @@ HTTP CONNECT with proxytunnel getting two URLs from the same host
|
||||
<command>
|
||||
http://remotesite.com.275:%HTTPPORT/we/want/that/page/275 -p -x %HOSTIP:%PROXYPORT --user iam:myself --proxy-user youare:yourself http://remotesite.com.275:%HTTPPORT/we/want/that/page/275
|
||||
</command>
|
||||
<features>
|
||||
proxy
|
||||
</features>
|
||||
</client>
|
||||
|
||||
#
|
||||
|
@ -30,6 +30,9 @@ HTTP with proxy string including http:// and user+empty password
|
||||
<command>
|
||||
http://we.want.that.site.com/278 -x http://f%61ke:@%HOSTIP:%HTTPPORT
|
||||
</command>
|
||||
<features>
|
||||
proxy
|
||||
</features>
|
||||
</client>
|
||||
|
||||
# Verify data after the test has been "shot"
|
||||
|
@ -31,6 +31,9 @@ HTTP with proxy string including http:// and user only
|
||||
<command>
|
||||
http://we.want.that.site.com/279 -x http://f%61ke@%HOSTIP:%HTTPPORT
|
||||
</command>
|
||||
<features>
|
||||
proxy
|
||||
</features>
|
||||
</client>
|
||||
|
||||
# Verify data after the test has been "shot"
|
||||
|
@ -30,6 +30,9 @@ HTTP proxy CONNECT with custom User-Agent header
|
||||
<command>
|
||||
http://test.remote.example.com.287:%HTTPPORT/path/287 -H "User-Agent: looser/2015" --proxy http://%HOSTIP:%HTTPPORT --proxytunnel --proxy-header "User-Agent: looser/2007"
|
||||
</command>
|
||||
<features>
|
||||
proxy
|
||||
</features>
|
||||
</client>
|
||||
|
||||
# Verify data after the test has been "shot"
|
||||
|
@ -27,6 +27,7 @@ http
|
||||
</server>
|
||||
<features>
|
||||
ftp
|
||||
proxy
|
||||
</features>
|
||||
<name>
|
||||
FTP over HTTP proxy with user:pass not in url
|
||||
|
@ -67,6 +67,9 @@ HTTP with custom Authorization: and redirect to new host
|
||||
<command>
|
||||
http://first.host.it.is/we/want/that/page/317 -x %HOSTIP:%HTTPPORT -H "Authorization: s3cr3t" --proxy-user testing:this --location
|
||||
</command>
|
||||
<features>
|
||||
proxy
|
||||
</features>
|
||||
</client>
|
||||
|
||||
#
|
||||
|
@ -67,6 +67,9 @@ HTTP with custom Authorization: and redirect to new host
|
||||
<command>
|
||||
http://first.host.it.is/we/want/that/page/318 -x %HOSTIP:%HTTPPORT -H "Authorization: s3cr3t" --proxy-user testing:this --location-trusted
|
||||
</command>
|
||||
<features>
|
||||
proxy
|
||||
</features>
|
||||
</client>
|
||||
|
||||
#
|
||||
|
@ -65,6 +65,9 @@ HTTP with custom Cookie: and redirect to new host
|
||||
<command>
|
||||
http://first.host.it.is/we/want/that/page/317 -x %HOSTIP:%HTTPPORT -H "Cookie: test=yes" --location
|
||||
</command>
|
||||
<features>
|
||||
proxy
|
||||
</features>
|
||||
</client>
|
||||
|
||||
#
|
||||
|
@ -41,6 +41,9 @@ HTTP with cookie using host name 'moo'
|
||||
<command>
|
||||
-x http://%HOSTIP:%HTTPPORT http://moo/we/want/331 -b none http://moo/we/want/3310002
|
||||
</command>
|
||||
<features>
|
||||
proxy
|
||||
</features>
|
||||
</client>
|
||||
|
||||
# Verify data after the test has been "shot"
|
||||
|
@ -61,6 +61,7 @@ http
|
||||
<features>
|
||||
!SSPI
|
||||
crypto
|
||||
proxy
|
||||
</features>
|
||||
<name>
|
||||
HTTP with proxy Digest and site Digest with creds in URLs
|
||||
|
@ -56,6 +56,9 @@ HTTP Location: following over HTTP proxy
|
||||
<command>
|
||||
http://%HOSTIP:%HTTPPORT/want/43 -L -x %HOSTIP:%HTTPPORT
|
||||
</command>
|
||||
<features>
|
||||
proxy
|
||||
</features>
|
||||
</client>
|
||||
|
||||
# Verify data after the test has been "shot"
|
||||
|
@ -31,6 +31,9 @@ HTTP over proxy
|
||||
<command>
|
||||
http://%HOSTIP:%HTTPPORT/we/want/that/page/5#5 -x %HOSTIP:%HTTPPORT
|
||||
</command>
|
||||
<features>
|
||||
proxy
|
||||
</features>
|
||||
</client>
|
||||
|
||||
#
|
||||
|
@ -50,7 +50,9 @@ http-proxy
|
||||
<tool>
|
||||
lib503
|
||||
</tool>
|
||||
|
||||
<features>
|
||||
proxy
|
||||
</features>
|
||||
<name>
|
||||
simple multi http:// through proxytunnel with authentication info
|
||||
</name>
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user