15 # this is returned first since we get no proxy-auth
17 HTTP/1.1 407 Authorization Required to proxy me my dear
\r
18 Proxy-Authenticate: NTLM TlRMTVNTUAACAAAAAgACADAAAAAGgoEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA==
\r
20 And you should ignore this data.
23 # This is supposed to be returned when the server gets the second
24 # Authorization: NTLM line passed-in from the client
26 HTTP/1.1 200 Things are fine in proxy land
\r
27 Server: Microsoft-IIS/5.0
\r
28 Content-Type: text/html; charset=iso-8859-1
\r
32 # this is returned when we get a GET!
35 Date: Thu, 09 Nov 2010 14:49:00 GMT
38 Content-Type: text/html
44 # then this is returned when we get proxy-auth
46 HTTP/1.1 200 OK swsbounce
\r
53 HTTP/1.1 407 Authorization Required to proxy me my dear
\r
54 Proxy-Authenticate: NTLM TlRMTVNTUAACAAAAAgACADAAAAAGgoEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA==
\r
56 HTTP/1.1 200 Things are fine in proxy land
\r
57 Server: Microsoft-IIS/5.0
\r
58 Content-Type: text/html; charset=iso-8859-1
\r
61 Date: Thu, 09 Nov 2010 14:49:00 GMT
64 Content-Type: text/html
80 HTTP 1.0 proxy CONNECT auth NTLM and then POST
83 # we force our own host name, in order to make the test machine independent
84 CURL_GETHOSTNAME=curlhost
85 # we try to use the LD_PRELOAD hack, if not a debug build
86 LD_PRELOAD=%PWD/libtest/.libs/libhostname.so
89 http://test.remote.haxx.se:213/path/2130002 --proxy1.0 http://%HOSTIP:%HTTPPORT --proxy-user silly:person --proxy-ntlm --proxytunnel -d "postit"
96 # Verify data after the test has been "shot"
101 <protocol nonewline="yes">
102 CONNECT test.remote.haxx.se:213 HTTP/1.0
\r
103 Host: test.remote.haxx.se:213
\r
104 Proxy-Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=
\r
105 Proxy-Connection: Keep-Alive
\r
107 CONNECT test.remote.haxx.se:213 HTTP/1.0
\r
108 Host: test.remote.haxx.se:213
\r
109 Proxy-Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAABQAFAHAAAAAIAAgAdQAAAAAAAAAAAAAABoKBAKAeQjzKtCQ7ubW8S6MN7B59436GAxPu0CVROwwNBsgxML49gcbAXLT/bU+H5wrS9XNpbGx5Y3VybGhvc3Q=
\r
110 Proxy-Connection: Keep-Alive
\r
112 POST /path/2130002 HTTP/1.1
\r
113 User-Agent: curl/7.12.3-CVS (i686-pc-linux-gnu) libcurl/7.12.3-CVS OpenSSL/0.9.6b zlib/1.1.4
\r
114 Host: test.remote.haxx.se:213
\r
117 Content-Type: application/x-www-form-urlencoded
\r