• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<testcase>
2<info>
3<keywords>
4HTTP
5HTTP GET
6HTTP CONNECT
7HTTP proxy
8proxytunnel
9HTTP proxy Digest auth
10</keywords>
11</info>
12
13# Server-side
14<reply>
15
16# this is returned first since we get no proxy-auth
17<connect>
18HTTP/1.1 407 Authorization Required to proxy me swsclose
19Proxy-Authenticate: Digest realm="weirdorealm", nonce="12345"
20</connect>
21
22<datacheck>
23HTTP/1.1 407 Authorization Required to proxy me swsclose
24Proxy-Authenticate: Digest realm="weirdorealm", nonce="12345"
25</datacheck>
26</reply>
27
28# Client-side
29<client>
30<server>
31http
32</server>
33<features>
34!SSPI
35crypto
36proxy
37</features>
38 <name>
39HTTP proxy CONNECT (no auth) with proxy returning 407 and closing
40 </name>
41 <command>
42http://test.remote.haxx.se.%TESTNUMBER:8990/path/%TESTNUMBER0002 --proxy http://%HOSTIP:%HTTPPORT --proxytunnel
43</command>
44</client>
45
46# Verify data after the test has been "shot"
47<verify>
48<protocol>
49CONNECT test.remote.haxx.se.%TESTNUMBER:8990 HTTP/1.1
50Host: test.remote.haxx.se.%TESTNUMBER:8990
51User-Agent: curl/%VERSION
52Proxy-Connection: Keep-Alive
53
54</protocol>
55<errorcode>
5656
57</errorcode>
58</verify>
59</testcase>
60