1<testcase> 2<info> 3<keywords> 4HTTP 5HTTP POST 6HTTP CONNECT 7HTTP proxy 8HTTP proxy NTLM auth 9</keywords> 10</info> 11 12# Server-side 13<reply> 14<data> 15HTTP/1.1 200 We are fine and cool 16Server: Apache/1.3.27 (Dorw1n) PHP/44.1.2 17Content-Length: 27 18 19This is all fine and dandy 20</data> 21 22# This is the CONNECT response 23<connect1001> 24HTTP/1.1 200 We are fine and cool 25Server: Apache/1.3.27 (Dorw1n) PHP/44.1.2 26 27</connect1001> 28 29<datacheck> 30HTTP/1.1 200 We are fine and cool 31Server: Apache/1.3.27 (Dorw1n) PHP/44.1.2 32 33HTTP/1.1 200 We are fine and cool 34Server: Apache/1.3.27 (Dorw1n) PHP/44.1.2 35Content-Length: 27 36 37This is all fine and dandy 38</datacheck> 39</reply> 40 41# Client-side 42<client> 43<server> 44https 45</server> 46<features> 47NTLM 48SSL 49!SSPI 50proxy 51</features> 52 <name> 53HTTP POST using CONNECT with --proxy-ntlm but no auth is required 54 </name> 55 <command> 56http://test.a.galaxy.far.far.away.%TESTNUMBER:%HTTPPORT/%TESTNUMBER --proxy http://%HOSTIP:%HTTPPORT --proxy-user foo:bar --proxy-ntlm -d "dummy=value" -p 57</command> 58</client> 59 60# Verify data after the test has been "shot" 61<verify> 62<protocol nonewline="yes"> 63CONNECT test.a.galaxy.far.far.away.%TESTNUMBER:%HTTPPORT HTTP/1.1 64Host: test.a.galaxy.far.far.away.%TESTNUMBER:%HTTPPORT 65Proxy-Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA= 66User-Agent: curl/%VERSION 67Proxy-Connection: Keep-Alive 68 69POST /%TESTNUMBER HTTP/1.1 70Host: test.a.galaxy.far.far.away.%TESTNUMBER:%HTTPPORT 71User-Agent: curl/%VERSION 72Accept: */* 73Content-Length: 11 74Content-Type: application/x-www-form-urlencoded 75 76dummy=value 77</protocol> 78 79</verify> 80</testcase> 81