Resync
[CMakeLuaTailorHgBridge.git] / CMakeLua / Utilities / cmcurl-7.19.0 / tests / data / test279
blob89599e08574d8a888d26b7ace1aeb2e71aedd535
1 <testcase>
2 <info>
3 <keywords>
4 HTTP
5 HTTP GET
6 HTTP proxy
7 HTTP proxy Basic auth
8 </keywords>
9 </info>
11 # Server-side
12 <reply>
13 <data>
14 HTTP/1.1 200 OK swsclose
15 Date: Thu, 09 Nov 2010 14:49:00 GMT
16 Content-Type: text/html
17 Content-Length: 27
19 the content would go here
20 </data>
21 </reply>
23 # Client-side
24 <client>
25 <server>
26 http
27 </server>
28  <name>
29 HTTP with proxy string including http:// and user only
30  </name>
31  <command>
32 http://we.want.that.site.com/279 -x http://f%61ke@%HOSTIP:%HTTPPORT
33 </command>
34 </client>
36 # Verify data after the test has been "shot"
37 <verify>
38 <strip>
39 ^User-Agent:.*
40 </strip>
41 <protocol>
42 GET http://we.want.that.site.com/279 HTTP/1.1
43 Proxy-Authorization: Basic ZmFrZTo=
44 Host: we.want.that.site.com
45 Pragma: no-cache
46 Accept: */*
47 Proxy-Connection: Keep-Alive
49 </protocol>
50 </verify>
51 </testcase>