16 HTTP/1.1 401 Need Basic or NTLM auth
17 Server: Microsoft-IIS/5.0
18 Content-Type: text/html; charset=iso-8859-1
20 WWW-Authenticate: NTLM
21 WWW-Authenticate: Basic realm="testrealm"
23 This is a bad password page!
28 HTTP/1.1 401 Need Basic or NTLM auth (2)
29 Server: Microsoft-IIS/5.0
30 Content-Type: text/html; charset=iso-8859-1
32 WWW-Authenticate: NTLM
33 WWW-Authenticate: Basic realm="testrealm"
35 This is not the real page!
39 HTTP/1.1 401 NTLM intermediate (2)
40 Server: Microsoft-IIS/5.0
41 Content-Type: text/html; charset=iso-8859-1
43 WWW-Authenticate: NTLM TlRMTVNTUAACAAAACAAIADAAAAAGggEAq6U1NAWaJCIAAAAAAAAAAAAAAAA4AAAATlRMTUF1dGg=
45 This is still not the real page!
49 HTTP/1.1 200 Things are fine in server land
50 Server: Microsoft-IIS/5.0
51 Content-Type: text/html; charset=iso-8859-1
54 Finally, this is the real page!
58 Data connection 0: 228
59 Data connection 1: 228
60 Data connection 2: 402
79 NTLM connection mapping
82 # we force our own host name, in order to make the test machine independent
83 CURL_GETHOSTNAME=curlhost
84 # we try to use the LD_PRELOAD hack, if not a debug build
85 LD_PRELOAD=%PWD/libtest/.libs/libhostname.so
88 http://%HOSTIP:%HTTPPORT/2032
95 # Verify data after the test has been "shot"
101 GET /20320100 HTTP/1.1
102 Host: 127.0.0.1:%HTTPPORT
103 Authorization: Basic dGVzdHVzZXI6dGVzdHBhc3M=
106 GET /20320100 HTTP/1.1
107 Host: 127.0.0.1:%HTTPPORT
108 Authorization: Basic dGVzdHVzZXI6dGVzdHBhc3M=
111 GET /20320200 HTTP/1.1
112 Host: 127.0.0.1:%HTTPPORT
113 Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=
116 GET /20320200 HTTP/1.1
117 Host: 127.0.0.1:%HTTPPORT
118 Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAACAAIAHAAAAAIAAgAeAAAAAAAAAAAAAAABoIBAI+/Fp9IERAQ74OsdNPbBpg7o8CVwLSO4DtFyIcZHUMKVktWIu92s2892OVpd2JzqnRlc3R1c2VyY3VybGhvc3Q=