Debian Codegraph @

deps/curl/tests/data/test170

raw
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 SSL
23 !SSPI
24 proxy
25 </features>
26 <name>
27 HTTP POST with --proxy-ntlm and no SSL with no response
28 </name>
29 <command>
30 http://a.galaxy.far.far.away/170 --proxy http://%HOSTIP:%HTTPPORT --proxy-user foo:bar --proxy-ntlm -F "dummy=value"
31 </command>
32 </client>
33
34 # Verify data after the test has been "shot"
35 <verify>
36 <strip>
37 ^User-Agent: curl/.*
38 </strip>
39 <protocol>
40 POST http://a.galaxy.far.far.away/170 HTTP/1.1
41 Host: a.galaxy.far.far.away
42 Proxy-Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=
43 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
44 Accept: */*
45 Proxy-Connection: Keep-Alive
46 Content-Length: 0
47
48 </protocol>
49 # 52 is CURLE_GOT_NOTHING
50 <errorcode>
51 52
52 </errorcode>
53 </verify>
54 </testcase>