48a263f464b5fa6571049e05e61a547231e36097
[platform/upstream/curl.git] / tests / data / test170
1 <testcase>
2 <info>
3 <keywords>
4 HTTP
5 HTTP POST
6 HTTP proxy
7 HTTP proxy NTLM auth
8 </keywords>
9 </info>
10
11 # Server-side
12 <reply>
13 </reply>
14
15 # Client-side
16 <client>
17 <server>
18 http
19 </server>
20 <features>
21 NTLM
22 !SSPI
23 </features>
24  <name>
25 HTTP POST with --proxy-ntlm and no SSL with no response
26  </name>
27  <command>
28 http://a.galaxy.far.far.away/170 --proxy http://%HOSTIP:%HTTPPORT --proxy-user foo:bar --proxy-ntlm -F "dummy=value"
29 </command>
30 </client>
31
32 # Verify data after the test has been "shot"
33 <verify>
34 <strip>
35 ^User-Agent: curl/.*
36 </strip>
37 <protocol>
38 POST http://a.galaxy.far.far.away/170 HTTP/1.1\r
39 Host: a.galaxy.far.far.away\r
40 Proxy-Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=\r
41 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
42 Accept: */*\r
43 Content-Length: 0\r
44 \r
45 </protocol>
46 # 52 is CURLE_GOT_NOTHING
47 <errorcode>
48 52
49 </errorcode>
50 </verify>
51 </testcase>