Resync
[CMakeLuaTailorHgBridge.git] / CMakeLua / Utilities / cmcurl-7.19.0 / tests / data / test82
blob25f22188a6675091bd7df66b94c299729d67c003
1 <testcase>
2 <info>
3 <keywords>
4 HTTP
5 HTTP GET
6 HTTP proxy Basic auth
7 HTTP proxy NTLM auth
8 </keywords>
9 </info>
10 # Server-side
11 <reply>
13 <data>
14 HTTP/1.1 407 We only deal with NTLM my friend
15 Server: Microsoft-IIS/5.0
16 Content-Type: text/html; charset=iso-8859-1
17 Content-Length: 34
18 Proxy-Authenticate: NTLM
20 This is not the real page either!
21 </data>
23 </reply>
25 # Client-side
26 <client>
27 <features>
28 </features>
29 <server>
30 http
31 </server>
32  <name>
33 HTTP with proxy requiring NTLM, but we send Basic
34  </name>
35  <command>
36 http://%HOSTIP:%HTTPPORT/82 --proxy-user testuser:testpass -x http://%HOSTIP:%HTTPPORT
37 </command>
38 </client>
40 # Verify data after the test has been "shot"
41 <verify>
42 <strip>
43 ^User-Agent:.*
44 </strip>
45 <protocol>
46 GET http://%HOSTIP:%HTTPPORT/82 HTTP/1.1
47 Proxy-Authorization: Basic dGVzdHVzZXI6dGVzdHBhc3M=
48 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
49 Host: %HOSTIP:%HTTPPORT
50 Pragma: no-cache
51 Accept: */*
52 Proxy-Connection: Keep-Alive
54 </protocol>
55 </verify>
56 </testcase>