]> icculus.org git repositories - icculus/iodoom3.git/blob - neo/curl/tests/data/test82
hello world
[icculus/iodoom3.git] / neo / curl / tests / data / test82
1 # Server-side
2 <reply>
3
4 <data>
5 HTTP/1.1 407 We only deal with NTLM my friend
6 Server: Microsoft-IIS/5.0
7 Content-Type: text/html; charset=iso-8859-1
8 Content-Length: 34
9 Proxy-Authenticate: NTLM
10
11 This is not the real page either!
12 </data>
13
14 </reply>
15
16 # Client-side
17 <client>
18 <features>
19 </features>
20 <server>
21 http
22 </server>
23  <name>
24 HTTP with proxy requiring NTLM, but we send Basic
25  </name>
26  <command>
27 http://%HOSTIP:%HOSTPORT/82 --proxy-user testuser:testpass -x http://%HOSTIP:%HOSTPORT
28 </command>
29 </test>
30
31 # Verify data after the test has been "shot"
32 <verify>
33 <strip>
34 ^User-Agent:.*
35 </strip>
36 <protocol>
37 GET http://127.0.0.1:8999/82 HTTP/1.1
38 Proxy-authorization: Basic dGVzdHVzZXI6dGVzdHBhc3M=
39 User-Agent: curl/7.10.6-pre1 (i686-pc-linux-gnu) libcurl/7.10.6-pre1 OpenSSL/0.9.7a ipv6 zlib/1.1.3
40 Host: 127.0.0.1:8999
41 Pragma: no-cache
42 Accept: */*
43
44 </protocol>
45 </verify>