]> rtime.felk.cvut.cz Git - hornmich/skoda-qr-demo.git/blob - QRScanner/mobile/jni/thirdparty/curl/tests/data/test170
Add MuPDF native source codes
[hornmich/skoda-qr-demo.git] / QRScanner / mobile / jni / thirdparty / curl / 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 </features>
23  <name>
24 HTTP POST with --proxy-ntlm and no SSL with no response
25  </name>
26  <command>
27 http://a.galaxy.far.far.away/170 --proxy http://%HOSTIP:%HTTPPORT --proxy-user foo:bar --proxy-ntlm -F "dummy=value"
28 </command>
29 </client>
30
31 # Verify data after the test has been "shot"
32 <verify>
33 <strip>
34 ^User-Agent: curl/.*
35 </strip>
36 <protocol>
37 POST http://a.galaxy.far.far.away/170 HTTP/1.1\r
38 Proxy-Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=\r
39 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
40 Host: a.galaxy.far.far.away\r
41 Accept: */*\r
42 Proxy-Connection: Keep-Alive\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>