16 HTTP/1.1 407 Authorization Required swsclose
\r
17 Server: Apache/1.3.27 (Darwin) PHP/4.1.2
\r
18 Proxy-Authenticate: Blackmagic realm="gimme all yer s3cr3ts"
\r
19 Proxy-Authenticate: Basic realm="gimme all yer s3cr3ts"
\r
20 Proxy-Authenticate: NTLM
\r
21 Content-Type: text/html; charset=iso-8859-1
\r
24 This is not the real page
27 # this is returned first since we get no proxy-auth
29 HTTP/1.1 407 Authorization Required to proxy me my dear
\r
30 Proxy-Authenticate: NTLM TlRMTVNTUAACAAAAAgACADAAAAAGgoEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA==
\r
33 Hey you, authenticate or go away!
36 # This is supposed to be returned when the server gets the second
37 # Authorization: NTLM line passed-in from the client
39 HTTP/1.1 200 Things are fine in proxy land swsclose
\r
40 Server: Microsoft-IIS/5.0
\r
41 Content-Type: text/html; charset=iso-8859-1
\r
44 Contents of that page you requested, sir.
48 HTTP/1.1 407 Authorization Required swsclose
\r
49 Server: Apache/1.3.27 (Darwin) PHP/4.1.2
\r
50 Proxy-Authenticate: Blackmagic realm="gimme all yer s3cr3ts"
\r
51 Proxy-Authenticate: Basic realm="gimme all yer s3cr3ts"
\r
52 Proxy-Authenticate: NTLM
\r
53 Content-Type: text/html; charset=iso-8859-1
\r
56 HTTP/1.1 407 Authorization Required to proxy me my dear
\r
57 Proxy-Authenticate: NTLM TlRMTVNTUAACAAAAAgACADAAAAAGgoEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA==
\r
60 HTTP/1.1 200 Things are fine in proxy land swsclose
\r
61 Server: Microsoft-IIS/5.0
\r
62 Content-Type: text/html; charset=iso-8859-1
\r
65 Contents of that page you requested, sir.
80 HTTP POST with --proxy-anyauth, picking NTLM
83 # we force our own host name, in order to make the test machine independent
84 CURL_GETHOSTNAME=curlhost
85 # we try to use the LD_PRELOAD hack, if not a debug build
86 LD_PRELOAD=%PWD/libtest/.libs/libhostname.so
89 http://%HOSTIP:%HTTPPORT/243 --proxy http://%HOSTIP:%HTTPPORT --proxy-user testuser:testpass --proxy-anyauth -d "postit"
96 # Verify data after the test has been "shot"
101 <protocol nonewline="yes">
102 POST http://%HOSTIP:%HTTPPORT/243 HTTP/1.1
\r
103 Host: %HOSTIP:%HTTPPORT
\r
104 User-Agent: curl/7.13.2-CVS (i686-pc-linux-gnu) libcurl/7.13.2-CVS OpenSSL/0.9.7e zlib/1.2.2 libidn/0.5.13
\r
107 Content-Type: application/x-www-form-urlencoded
\r
109 postitPOST http://%HOSTIP:%HTTPPORT/243 HTTP/1.1
\r
110 Host: %HOSTIP:%HTTPPORT
\r
111 Proxy-Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=
\r
112 User-Agent: curl/7.13.2-CVS (i686-pc-linux-gnu) libcurl/7.13.2-CVS OpenSSL/0.9.7e zlib/1.2.2 libidn/0.5.13
\r
115 Content-Type: application/x-www-form-urlencoded
\r
117 POST http://%HOSTIP:%HTTPPORT/243 HTTP/1.1
\r
118 Host: %HOSTIP:%HTTPPORT
\r
119 Proxy-Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAACeAJ4AWAAAAAAAAAD2AAAACAAIAPYAAAAIAAgA/gAAAAAAAAAAAAAABoKBAL9LNW5+nkyHZRmyFaL/LJ4xMjM0MjIzNGUCyhgQ9hw6eWAT13EbDa0BAQAAAAAAAACAPtXesZ0BMTIzNDIyMzQAAAAAAgAEAEMAQwABABIARQBMAEkAUwBBAEIARQBUAEgABAAYAGMAYwAuAGkAYwBlAGQAZQB2AC4AbgB1AAMALABlAGwAaQBzAGEAYgBlAHQAaAAuAGMAYwAuAGkAYwBlAGQAZQB2AC4AbgB1AAAAAAAAAAAAdGVzdHVzZXJjdXJsaG9zdA==
\r
120 User-Agent: curl/7.13.2-CVS (i686-pc-linux-gnu) libcurl/7.13.2-CVS OpenSSL/0.9.7e zlib/1.2.2 libidn/0.5.13
\r
123 Content-Type: application/x-www-form-urlencoded
\r