15 HTTP/1.1 407 Authorization Required swsclose
\r
16 Server: Apache/1.3.27 (Darwin) PHP/4.1.2
\r
17 Proxy-Authenticate: Negotiate
\r
18 Proxy-Authenticate: NTLM
\r
19 Content-Type: text/html; charset=iso-8859-1
\r
22 This is not the real page
25 # this is returned first since we get no proxy-auth
27 HTTP/1.1 407 Authorization Required to proxy me my dear
\r
28 Proxy-Authenticate: NTLM TlRMTVNTUAACAAAAAgACADAAAAAGgoEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA==
\r
31 Hey you, authenticate or go away!
34 # This is supposed to be returned when the server gets the second
35 # Authorization: NTLM line passed-in from the client
37 HTTP/1.1 200 Things are fine in proxy land swsclose
\r
38 Server: Microsoft-IIS/5.0
\r
39 Content-Type: text/html; charset=iso-8859-1
\r
42 Contents of that page you requested, sir.
46 HTTP/1.1 407 Authorization Required swsclose
\r
47 Server: Apache/1.3.27 (Darwin) PHP/4.1.2
\r
48 Proxy-Authenticate: Negotiate
\r
49 Proxy-Authenticate: NTLM
\r
50 Content-Type: text/html; charset=iso-8859-1
\r
53 HTTP/1.1 407 Authorization Required to proxy me my dear
\r
54 Proxy-Authenticate: NTLM TlRMTVNTUAACAAAAAgACADAAAAAGgoEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA==
\r
57 HTTP/1.1 200 Things are fine in proxy land swsclose
\r
58 Server: Microsoft-IIS/5.0
\r
59 Content-Type: text/html; charset=iso-8859-1
\r
62 Contents of that page you requested, sir.
81 HTTP proxy offers Negotiate+NTLM, use only NTLM
84 # we force our own host name, in order to make the test machine independent
85 CURL_GETHOSTNAME=curlhost
86 # we try to use the LD_PRELOAD hack, if not a debug build
87 LD_PRELOAD=%PWD/libtest/.libs/libhostname.so
90 http://test.remote.example.com/path/590 http://%HOSTIP:%HTTPPORT
97 # Verify data after the test has been "shot"
103 GET http://test.remote.example.com/path/590 HTTP/1.1
\r
104 Host: test.remote.example.com
\r
105 User-Agent: curl/7.13.2-CVS (i686-pc-linux-gnu) libcurl/7.13.2-CVS OpenSSL/0.9.7e zlib/1.2.2 libidn/0.5.13
\r
108 GET http://test.remote.example.com/path/590 HTTP/1.1
\r
109 Host: test.remote.example.com
\r
110 Proxy-Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=
\r
111 User-Agent: curl/7.13.2-CVS (i686-pc-linux-gnu) libcurl/7.13.2-CVS OpenSSL/0.9.7e zlib/1.2.2 libidn/0.5.13
\r
114 GET http://test.remote.example.com/path/590 HTTP/1.1
\r
115 Host: test.remote.example.com
\r
116 Proxy-Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAACeAJ4AWAAAAAAAAAD2AAAAAgACAPYAAAAIAAgA+AAAAAAAAAAAAAAABoKBAB3Hr6SDn3NDNkgebbaP88ExMjM0MjIzNFIW4N7aYT44bAIg1jt2blUBAQAAAAAAAACAPtXesZ0BMTIzNDIyMzQAAAAAAgAEAEMAQwABABIARQBMAEkAUwBBAEIARQBUAEgABAAYAGMAYwAuAGkAYwBlAGQAZQB2AC4AbgB1AAMALABlAGwAaQBzAGEAYgBlAHQAaAAuAGMAYwAuAGkAYwBlAGQAZQB2AC4AbgB1AAAAAAAAAAAAbWVjdXJsaG9zdA==
\r
117 User-Agent: curl/7.13.2-CVS (i686-pc-linux-gnu) libcurl/7.13.2-CVS OpenSSL/0.9.7e zlib/1.2.2 libidn/0.5.13
\r