2007-01-22 21:25:56 -05:00
|
|
|
<testcase>
|
2005-04-27 05:59:47 -04:00
|
|
|
<info>
|
|
|
|
<keywords>
|
|
|
|
HTTP
|
|
|
|
HTTP GET
|
|
|
|
HTTP proxy
|
|
|
|
</keywords>
|
|
|
|
</info>
|
2003-11-20 04:52:48 -05:00
|
|
|
#
|
|
|
|
# Server-side
|
|
|
|
<reply>
|
|
|
|
<data>
|
|
|
|
HTTP/1.1 407 Needs proxy authentication
|
|
|
|
Server: test-server/fake swsclose yesyes
|
|
|
|
Proxy-Authenticate: Basic "oh please"
|
|
|
|
Connection: close
|
|
|
|
|
|
|
|
bing
|
|
|
|
</data>
|
|
|
|
</reply>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Client-side
|
|
|
|
<client>
|
|
|
|
<server>
|
|
|
|
http
|
|
|
|
</server>
|
|
|
|
<name>
|
|
|
|
HTTP GET with failed proxy auth
|
|
|
|
</name>
|
|
|
|
<command>
|
2004-09-08 04:08:38 -04:00
|
|
|
http://%HOSTIP:%HTTPPORT/93 -x %HOSTIP:%HTTPPORT
|
2003-11-20 04:52:48 -05:00
|
|
|
</command>
|
2019-10-14 16:29:19 -04:00
|
|
|
<features>
|
|
|
|
proxy
|
|
|
|
</features>
|
2003-11-20 04:52:48 -05:00
|
|
|
</client>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Verify data after the test has been "shot"
|
|
|
|
<verify>
|
|
|
|
<strip>
|
|
|
|
^User-Agent:.*
|
|
|
|
</strip>
|
|
|
|
<protocol>
|
2007-09-14 15:32:31 -04:00
|
|
|
GET http://%HOSTIP:%HTTPPORT/93 HTTP/1.1
|
|
|
|
Host: %HOSTIP:%HTTPPORT
|
2004-02-09 07:46:41 -05:00
|
|
|
Accept: */*
|
2016-08-16 02:36:04 -04:00
|
|
|
Proxy-Connection: Keep-Alive
|
2003-11-20 04:52:48 -05:00
|
|
|
|
|
|
|
</protocol>
|
|
|
|
</verify>
|
2007-01-22 21:25:56 -05:00
|
|
|
</testcase>
|