NTLM requires SSL
[platform/upstream/curl.git] / tests / data / test170
1 # Server-side
2 <reply>
3 </reply>
4
5 # Client-side
6 <client>
7 <server>
8 http
9 </server>
10 <features>
11 SSL
12 </features>
13  <name>
14 HTTP POST with --proxy-ntlm and no SSL with no response
15  </name>
16  <command>
17 http://a.galaxy.far.far.away/170 --proxy http://%HOSTIP:%HOSTPORT --proxy-user foo:bar --proxy-ntlm -F "dummy=value"
18 </command>
19 </test>
20
21 # Verify data after the test has been "shot"
22 <verify>
23 <strip>
24 ^User-Agent: curl/.*
25 </strip>
26 <protocol>
27 HEAD http://a.galaxy.far.far.away/170 HTTP/1.1\r
28 Proxy-Authorization: NTLM TlRMTVNTUAABAAAAAgIAAAAAAAAgAAAAAAAAACAAAAA=\r
29 User-Agent: curl/7.12.0-CVS (i686-pc-linux-gnu) libcurl/7.12.0-CVS OpenSSL/0.9.6b ipv6 zlib/1.1.4 libidn/0.4.3\r
30 Host: a.galaxy.far.far.away\r
31 Pragma: no-cache\r
32 Accept: */*\r
33 \r
34 </protocol>
35 # 52 is CURLE_GOT_NOTHING
36 <errorcode>
37 52
38 </errorcode>
39 </verify>