14 # this is returned first since we get no proxy-auth
16 HTTP/1.1 407 Authorization Required to proxy me my dear
\r
17 Proxy-Authenticate: NTLM TlRMTVNTUAACAAAAAgACADAAAAAGgoEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA==
\r
20 Hey you, authenticate or go away!
23 # This is supposed to be returned when the server gets the second
24 # Authorization: NTLM line passed-in from the client
26 HTTP/1.1 200 Things are fine in proxy land swsclose
\r
27 Server: Microsoft-IIS/5.0
\r
28 Content-Type: text/html; charset=iso-8859-1
\r
31 Contents of that page you requested, sir.
35 HTTP/1.1 407 Authorization Required to proxy me my dear
\r
36 Proxy-Authenticate: NTLM TlRMTVNTUAACAAAAAgACADAAAAAGgoEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA==
\r
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.
57 HTTP proxy-auth NTLM and then POST
60 # we force our own host name, in order to make the test machine independent
61 CURL_GETHOSTNAME=curlhost
62 # we try to use the LD_PRELOAD hack, if not a debug build
63 LD_PRELOAD=%PWD/libtest/.libs/libhostname.so
66 http://%HOSTIP:%HTTPPORT/239 --proxy http://%HOSTIP:%HTTPPORT --proxy-user silly:person --proxy-ntlm -d "postit"
73 # Verify data after the test has been "shot"
78 <protocol nonewline="yes">
79 POST http://%HOSTIP:%HTTPPORT/239 HTTP/1.1
\r
80 Proxy-Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=
\r
81 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
82 Host: %HOSTIP:%HTTPPORT
\r
84 Proxy-Connection: Keep-Alive
\r
86 Content-Type: application/x-www-form-urlencoded
\r
88 POST http://%HOSTIP:%HTTPPORT/239 HTTP/1.1
\r
89 Proxy-Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAABQAFAHAAAAAIAAgAdQAAAAAAAAAAAAAABoKBAKAeQjzKtCQ7ubW8S6MN7B59436GAxPu0CVROwwNBsgxML49gcbAXLT/bU+H5wrS9XNpbGx5Y3VybGhvc3Q=
\r
90 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
91 Host: %HOSTIP:%HTTPPORT
\r
93 Proxy-Connection: Keep-Alive
\r
95 Content-Type: application/x-www-form-urlencoded
\r