3 # This test is a copy of test 67, modified to use a HTTP proxy.
14 <!-- no <data> in this test since we have NTLM from the start
16 This is supposed to be returned when the server gets a first
17 Authorization: NTLM line passed-in from the client -->
20 HTTP/1.1 401 Now gimme that second request of crap
21 Server: Microsoft-IIS/5.0
22 Content-Type: text/html; charset=iso-8859-1
24 WWW-Authenticate: NTLM TlRMTVNTUAACAAAAAgACADAAAAAGgoEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA==
26 This is not the real page either!
29 # This is supposed to be returned when the server gets the second
30 # Authorization: NTLM line passed-in from the client
32 HTTP/1.1 200 Things are fine in server land swsclose
33 Server: Microsoft-IIS/5.0
34 Content-Type: text/html; charset=iso-8859-1
37 Finally, this is the real page!
41 HTTP/1.1 401 Now gimme that second request of crap
42 Server: Microsoft-IIS/5.0
43 Content-Type: text/html; charset=iso-8859-1
45 WWW-Authenticate: NTLM TlRMTVNTUAACAAAAAgACADAAAAAGgoEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA==
47 HTTP/1.1 200 Things are fine in server land swsclose
48 Server: Microsoft-IIS/5.0
49 Content-Type: text/html; charset=iso-8859-1
52 Finally, this is the real page!
68 HTTP with server NTLM authorization using a proxy
71 # we force our own host name, in order to make the test machine independent
72 CURL_GETHOSTNAME=curlhost
73 # we try to use the LD_PRELOAD hack, if not a debug build
74 LD_PRELOAD=%PWD/libtest/.libs/libhostname.so
77 http://%HOSTIP:%HTTPPORT/1215 -u testuser:testpass --ntlm --proxy http://%HOSTIP:%HTTPPORT
84 # Verify data after the test has been "shot"
90 GET http://%HOSTIP:%HTTPPORT/1215 HTTP/1.1
\r
91 Host: %HOSTIP:%HTTPPORT
\r
92 Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=
\r
93 User-Agent: curl/7.30.0-DEV
\r
96 GET http://%HOSTIP:%HTTPPORT/1215 HTTP/1.1
\r
97 Host: %HOSTIP:%HTTPPORT
\r
98 Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAACeAJ4AWAAAAAAAAAD2AAAACAAIAPYAAAAIAAgA/gAAAAAAAAAAAAAABoKBAL9LNW5+nkyHZRmyFaL/LJ4xMjM0MjIzNGUCyhgQ9hw6eWAT13EbDa0BAQAAAAAAAACAPtXesZ0BMTIzNDIyMzQAAAAAAgAEAEMAQwABABIARQBMAEkAUwBBAEIARQBUAEgABAAYAGMAYwAuAGkAYwBlAGQAZQB2AC4AbgB1AAMALABlAGwAaQBzAGEAYgBlAHQAaAAuAGMAYwAuAGkAYwBlAGQAZQB2AC4AbgB1AAAAAAAAAAAAdGVzdHVzZXJjdXJsaG9zdA==
\r
99 User-Agent: curl/7.30.0-DEV
\r