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 21</connect> 22 23<datacheck> 24HTTP/1.1 407 Authorization Required to proxy me swsclose 25Proxy-Authenticate: Digest realm="weirdorealm", nonce="12345" 26 27</datacheck> 28</reply> 29 30# Client-side 31<client> 32<server> 33http 34</server> 35<features> 36!SSPI 37crypto 38proxy 39</features> 40<name> 41HTTP proxy CONNECT (no auth) with proxy returning 407 and closing 42</name> 43<command> 44http://test.remote.haxx.se.%TESTNUMBER:8990/path/%TESTNUMBER0002 --proxy http://%HOSTIP:%HTTPPORT --proxytunnel 45</command> 46</client> 47 48# Verify data after the test has been "shot" 49<verify> 50<protocol> 51CONNECT test.remote.haxx.se.%TESTNUMBER:8990 HTTP/1.1 52Host: test.remote.haxx.se.%TESTNUMBER:8990 53User-Agent: curl/%VERSION 54Proxy-Connection: Keep-Alive 55 56</protocol> 57<errorcode> 5856 59</errorcode> 60</verify> 61</testcase> 62