12 HTTP/1.1 401 Authorization Required swsclose
\r
13 Server: Apache/1.3.27 (Darwin) PHP/4.1.2
\r
14 WWW-Authenticate: Basic
\r
15 WWW-Authenticate: Wild-and-crazy
\r
16 WWW-Authenticate: NTLM
\r
17 Content-Type: text/html; charset=iso-8859-1
\r
20 This is not the real page
23 # This is supposed to be returned when the server gets a first
24 # Authorization: NTLM line passed-in from the client
26 HTTP/1.1 401 Now gimme that second request of crap
\r
27 Server: Microsoft-IIS/5.0
\r
29 Content-Type: text/html; charset=iso-8859-1
\r
30 WWW-Authenticate: NTLM TlRMTVNTUAACAAAAAgACADAAAAAGgoEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA==
\r
32 This is not the real page either!
35 # This is supposed to be returned when the server gets the second
36 # Authorization: NTLM line passed-in from the client
38 HTTP/1.1 200 Things are fine in server land swsclose
\r
39 Server: Microsoft-IIS/5.0
\r
40 Content-Type: text/html; charset=iso-8859-1
\r
43 Finally, this is the real page!
47 HTTP/1.1 401 Authorization Required swsclose
\r
48 Server: Apache/1.3.27 (Darwin) PHP/4.1.2
\r
49 WWW-Authenticate: Basic
\r
50 WWW-Authenticate: Wild-and-crazy
\r
51 WWW-Authenticate: NTLM
\r
52 Content-Type: text/html; charset=iso-8859-1
\r
55 HTTP/1.1 401 Now gimme that second request of crap
\r
56 Server: Microsoft-IIS/5.0
\r
58 Content-Type: text/html; charset=iso-8859-1
\r
59 WWW-Authenticate: NTLM TlRMTVNTUAACAAAAAgACADAAAAAGgoEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA==
\r
61 HTTP/1.1 200 Things are fine in server land swsclose
\r
62 Server: Microsoft-IIS/5.0
\r
63 Content-Type: text/html; charset=iso-8859-1
\r
66 Finally, this is the real page!
82 HTTP with NTLM, Basic or Wild-and-crazy authorization
85 # we force our own host name, in order to make the test machine independent
86 CURL_GETHOSTNAME=curlhost
87 # we try to use the LD_PRELOAD hack, if not a debug build
88 LD_PRELOAD=%PWD/libtest/.libs/libhostname.so
91 http://%HOSTIP:%HTTPPORT/69 -u testuser:testpass --anyauth
98 # Verify data after the test has been "shot"
105 Host: %HOSTIP:%HTTPPORT
\r
106 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
110 Host: %HOSTIP:%HTTPPORT
\r
111 Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=
\r
112 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
116 Host: %HOSTIP:%HTTPPORT
\r
117 Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAACeAJ4AWAAAAAAAAAD2AAAACAAIAPYAAAAIAAgA/gAAAAAAAAAAAAAABoKBAL9LNW5+nkyHZRmyFaL/LJ4xMjM0MjIzNGUCyhgQ9hw6eWAT13EbDa0BAQAAAAAAAACAPtXesZ0BMTIzNDIyMzQAAAAAAgAEAEMAQwABABIARQBMAEkAUwBBAEIARQBUAEgABAAYAGMAYwAuAGkAYwBlAGQAZQB2AC4AbgB1AAMALABlAGwAaQBzAGEAYgBlAHQAaAAuAGMAYwAuAGkAYwBlAGQAZQB2AC4AbgB1AAAAAAAAAAAAdGVzdHVzZXJjdXJsaG9zdA==
\r
118 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