14 # This is supposed to be returned when the server gets a first
15 # Authorization: NTLM line passed-in from the client
17 HTTP/1.1 407 Now gimme that second request of crap
\r
18 Server: Microsoft-IIS/5.0
\r
19 Content-Type: text/html; charset=iso-8859-1
\r
21 Proxy-Authenticate: NTLM TlRMTVNTUAACAAAAAgACADAAAAAGgoEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA==
\r
23 This is not the real page either!
26 # This is supposed to be returned when the server gets the second
27 # Authorization: NTLM line passed-in from the client
29 HTTP/1.1 200 Things are fine in server land swsclose
\r
30 Server: Microsoft-IIS/5.0
\r
31 Content-Type: text/html; charset=iso-8859-1
\r
34 Finally, this is the real page!
38 HTTP/1.1 407 Now gimme that second request of crap
\r
39 Server: Microsoft-IIS/5.0
\r
40 Content-Type: text/html; charset=iso-8859-1
\r
42 Proxy-Authenticate: NTLM TlRMTVNTUAACAAAAAgACADAAAAAGgoEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA==
\r
44 HTTP/1.1 200 Things are fine in server land swsclose
\r
45 Server: Microsoft-IIS/5.0
\r
46 Content-Type: text/html; charset=iso-8859-1
\r
49 Finally, this is the real page!
65 HTTP with proxy using NTLM authorization
68 # we force our own host name, in order to make the test machine independent
69 CURL_GETHOSTNAME=curlhost
70 # we try to use the LD_PRELOAD hack, if not a debug build
71 LD_PRELOAD=%PWD/libtest/.libs/libhostname.so
74 http://%HOSTIP:%HTTPPORT/81 --proxy-user testuser:testpass -x http://%HOSTIP:%HTTPPORT --proxy-ntlm
81 # Verify data after the test has been "shot"
87 GET http://%HOSTIP:%HTTPPORT/81 HTTP/1.1
\r
88 Proxy-Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=
\r
89 User-Agent: curl/7.10.6-pre1 (i686-pc-linux-gnu) libcurl/7.10.6-pre1 OpenSSL/0.9.7a ipv6 zlib/1.1.3
\r
90 Host: %HOSTIP:%HTTPPORT
\r
92 Proxy-Connection: Keep-Alive
\r
94 GET http://%HOSTIP:%HTTPPORT/81 HTTP/1.1
\r
95 Proxy-Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAACeAJ4AWAAAAAAAAAD2AAAACAAIAPYAAAAIAAgA/gAAAAAAAAAAAAAABoKBAL9LNW5+nkyHZRmyFaL/LJ4xMjM0MjIzNGUCyhgQ9hw6eWAT13EbDa0BAQAAAAAAAACAPtXesZ0BMTIzNDIyMzQAAAAAAgAEAEMAQwABABIARQBMAEkAUwBBAEIARQBUAEgABAAYAGMAYwAuAGkAYwBlAGQAZQB2AC4AbgB1AAMALABlAGwAaQBzAGEAYgBlAHQAaAAuAGMAYwAuAGkAYwBlAGQAZQB2AC4AbgB1AAAAAAAAAAAAdGVzdHVzZXJjdXJsaG9zdA==
\r
96 User-Agent: curl/7.10.6-pre1 (i686-pc-linux-gnu) libcurl/7.10.6-pre1 OpenSSL/0.9.7a ipv6 zlib/1.1.3
\r
97 Host: %HOSTIP:%HTTPPORT
\r
99 Proxy-Connection: Keep-Alive
\r