15 # this is returned first since we get no proxy-auth
17 HTTP/1.1 407 Authorization Required to proxy me my dear
18 Proxy-Authenticate: NTLM TlRMTVNTUAACAAAAAgACADAAAAAGgoEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA==
21 And you should ignore this data.
24 # This is supposed to be returned when the server gets the second
25 # Authorization: NTLM line passed-in from the client
27 HTTP/1.1 200 Things are fine in proxy land
28 Server: Microsoft-IIS/5.0
29 Content-Type: text/html; charset=iso-8859-1
33 # this is returned when we get a GET!
36 Date: Thu, 09 Nov 2010 14:49:00 GMT
39 Content-Type: text/html
45 # then this is returned when we get proxy-auth
47 HTTP/1.1 200 OK swsbounce
54 HTTP/1.1 407 Authorization Required to proxy me my dear
55 Proxy-Authenticate: NTLM TlRMTVNTUAACAAAAAgACADAAAAAGgoEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA==
58 HTTP/1.1 200 Things are fine in proxy land
59 Server: Microsoft-IIS/5.0
60 Content-Type: text/html; charset=iso-8859-1
63 Date: Thu, 09 Nov 2010 14:49:00 GMT
66 Content-Type: text/html
84 HTTP 1.0 proxy CONNECT auth NTLM and then POST
87 # we force our own host name, in order to make the test machine independent
88 CURL_GETHOSTNAME=curlhost
89 # we try to use the LD_PRELOAD hack, if not a debug build
90 LD_PRELOAD=%PWD/libtest/.libs/libhostname.so
93 http://test.remote.example.com.213:%HTTPPORT/path/2130002 --proxy1.0 http://%HOSTIP:%HTTPPORT --proxy-user testuser:testpass --proxy-ntlm --proxytunnel -d "postit"
100 # Verify data after the test has been "shot"
105 <protocol nonewline="yes">
106 CONNECT test.remote.example.com.213:%HTTPPORT HTTP/1.0
107 Host: test.remote.example.com.213:%HTTPPORT
108 Proxy-Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=
109 Proxy-Connection: Keep-Alive
111 CONNECT test.remote.example.com.213:%HTTPPORT HTTP/1.0
112 Host: test.remote.example.com.213:%HTTPPORT
113 Proxy-Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAACeAJ4AWAAAAAAAAAD2AAAACAAIAPYAAAAIAAgA/gAAAAAAAAAAAAAABoKBAMOv20GsURsat8gdH/RfnYI0MzIxNTMyMeCdd8AzFZLZ/N1ujmilmCcBAQAAAAAAAACAPtXesZ0BNDMyMTUzMjEAAAAAAgAEAEMAQwABABIARQBMAEkAUwBBAEIARQBUAEgABAAYAGMAYwAuAGkAYwBlAGQAZQB2AC4AbgB1AAMALABlAGwAaQBzAGEAYgBlAHQAaAAuAGMAYwAuAGkAYwBlAGQAZQB2AC4AbgB1AAAAAAAAAAAAdGVzdHVzZXJjdXJsaG9zdA==
114 Proxy-Connection: Keep-Alive
116 POST /path/2130002 HTTP/1.1
117 User-Agent: curl/7.12.3-CVS (i686-pc-linux-gnu) libcurl/7.12.3-CVS OpenSSL/0.9.6b zlib/1.1.4
118 Host: test.remote.example.com.213:%HTTPPORT
121 Content-Type: application/x-www-form-urlencoded