15 HTTP/1.1 401 Need Basic or NTLM auth
16 Server: Microsoft-IIS/5.0
17 Content-Type: text/html; charset=iso-8859-1
19 WWW-Authenticate: NTLM
20 WWW-Authenticate: Basic realm="testrealm"
22 This is a bad password page!
27 HTTP/1.1 401 Need Basic or NTLM auth (2)
28 Server: Microsoft-IIS/5.0
29 Content-Type: text/html; charset=iso-8859-1
31 WWW-Authenticate: NTLM
32 WWW-Authenticate: Basic realm="testrealm"
34 This is not the real page!
38 HTTP/1.1 401 NTLM intermediate (2)
39 Server: Microsoft-IIS/5.0
40 Content-Type: text/html; charset=iso-8859-1
42 WWW-Authenticate: NTLM TlRMTVNTUAACAAAACAAIADAAAAAGggEAq6U1NAWaJCIAAAAAAAAAAAAAAAA4AAAATlRMTUF1dGg=
44 This is still not the real page!
48 HTTP/1.1 200 Things are fine in server land
49 Server: Microsoft-IIS/5.0
50 Content-Type: text/html; charset=iso-8859-1
53 Finally, this is the real page!
57 HTTP/1.1 401 Need Basic or NTLM auth
58 Server: Microsoft-IIS/5.0
59 Content-Type: text/html; charset=iso-8859-1
61 WWW-Authenticate: NTLM
62 WWW-Authenticate: Basic realm="testrealm"
64 This is a bad password page!
65 HTTP/1.1 401 Need Basic or NTLM auth
66 Server: Microsoft-IIS/5.0
67 Content-Type: text/html; charset=iso-8859-1
69 WWW-Authenticate: NTLM
70 WWW-Authenticate: Basic realm="testrealm"
72 This is a bad password page!
73 HTTP/1.1 401 NTLM intermediate (2)
74 Server: Microsoft-IIS/5.0
75 Content-Type: text/html; charset=iso-8859-1
77 WWW-Authenticate: NTLM TlRMTVNTUAACAAAACAAIADAAAAAGggEAq6U1NAWaJCIAAAAAAAAAAAAAAAA4AAAATlRMTUF1dGg=
79 HTTP/1.1 200 Things are fine in server land
80 Server: Microsoft-IIS/5.0
81 Content-Type: text/html; charset=iso-8859-1
84 Finally, this is the real page!
102 NTLM connection mapping
105 # we force our own host name, in order to make the test machine independent
106 CURL_GETHOSTNAME=curlhost
107 # we try to use the LD_PRELOAD hack, if not a debug build
108 LD_PRELOAD=%PWD/libtest/.libs/libhostname.so
111 http://%HOSTIP:%HTTPPORT/2032
118 # Verify data after the test has been "shot"
124 GET /20320100 HTTP/1.1
\r
125 Authorization: Basic dGVzdHVzZXI6dGVzdHBhc3M=
\r
126 Host: 127.0.0.1:8990
\r
129 GET /20320100 HTTP/1.1
\r
130 Authorization: Basic dGVzdHVzZXI6dGVzdHBhc3M=
\r
131 Host: 127.0.0.1:8990
\r
134 GET /20320200 HTTP/1.1
\r
135 Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=
\r
136 Host: 127.0.0.1:8990
\r
139 GET /20320200 HTTP/1.1
\r
140 Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAACAAIAHAAAAAIAAgAeAAAAAAAAAAAAAAABoIBAI+/Fp9IERAQ74OsdNPbBpg7o8CVwLSO4DtFyIcZHUMKVktWIu92s2892OVpd2JzqnRlc3R1c2VyY3VybGhvc3Q=
\r
141 Host: 127.0.0.1:8990
\r