16 HTTP/1.1 407 Authorization Required swsclose
17 Server: Apache/1.3.27 (Darwin) PHP/4.1.2
18 Proxy-Authenticate: Blackmagic realm="gimme all yer s3cr3ts"
19 Proxy-Authenticate: Basic realm="gimme all yer s3cr3ts"
20 Proxy-Authenticate: NTLM
21 Content-Type: text/html; charset=iso-8859-1
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
30 Proxy-Authenticate: NTLM TlRMTVNTUAACAAAAAgACADAAAAAGgoEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA==
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
40 Server: Microsoft-IIS/5.0
41 Content-Type: text/html; charset=iso-8859-1
44 Contents of that page you requested, sir.
48 HTTP/1.1 407 Authorization Required swsclose
49 Server: Apache/1.3.27 (Darwin) PHP/4.1.2
50 Proxy-Authenticate: Blackmagic realm="gimme all yer s3cr3ts"
51 Proxy-Authenticate: Basic realm="gimme all yer s3cr3ts"
52 Proxy-Authenticate: NTLM
53 Content-Type: text/html; charset=iso-8859-1
56 HTTP/1.1 407 Authorization Required to proxy me my dear
57 Proxy-Authenticate: NTLM TlRMTVNTUAACAAAAAgACADAAAAAGgoEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA==
60 HTTP/1.1 200 Things are fine in proxy land swsclose
61 Server: Microsoft-IIS/5.0
62 Content-Type: text/html; charset=iso-8859-1
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
103 Host: %HOSTIP:%HTTPPORT
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
106 Proxy-Connection: Keep-Alive
108 Content-Type: application/x-www-form-urlencoded
110 postitPOST http://%HOSTIP:%HTTPPORT/243 HTTP/1.1
111 Host: %HOSTIP:%HTTPPORT
112 Proxy-Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=
113 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
115 Proxy-Connection: Keep-Alive
117 Content-Type: application/x-www-form-urlencoded
119 POST http://%HOSTIP:%HTTPPORT/243 HTTP/1.1
120 Host: %HOSTIP:%HTTPPORT
121 Proxy-Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAACeAJ4AWAAAAAAAAAD2AAAACAAIAPYAAAAIAAgA/gAAAAAAAAAAAAAABoKBAMOv20GsURsat8gdH/RfnYI0MzIxNTMyMeCdd8AzFZLZ/N1ujmilmCcBAQAAAAAAAACAPtXesZ0BNDMyMTUzMjEAAAAAAgAEAEMAQwABABIARQBMAEkAUwBBAEIARQBUAEgABAAYAGMAYwAuAGkAYwBlAGQAZQB2AC4AbgB1AAMALABlAGwAaQBzAGEAYgBlAHQAaAAuAGMAYwAuAGkAYwBlAGQAZQB2AC4AbgB1AAAAAAAAAAAAdGVzdHVzZXJjdXJsaG9zdA==
122 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
124 Proxy-Connection: Keep-Alive
126 Content-Type: application/x-www-form-urlencoded