stricter newline policy
[platform/upstream/curl.git] / tests / data / test63
1 # Server-side
2 <reply>
3 <data>
4 HTTP/1.1 200 OK swsclose\r
5 Date: Thu, 09 Nov 2010 14:49:00 GMT\r
6 Content-Type: text/html\r
7 \r
8 the content would go here
9 </data>
10 </reply>
11
12 # Client-side
13 <client>
14 <server>
15 http
16 </server>
17  <name>
18 HTTP with proxy authorization set in environment
19  </name>
20 <setenv>
21 http_proxy=http://fake:user@%HOSTIP:%HTTPPORT/
22 </setenv>
23  <command>
24 http://we.want.that.site.com/63
25 </command>
26 </test>
27
28 # Verify data after the test has been "shot"
29 <verify>
30 <strip>
31 ^User-Agent:.*
32 </strip>
33 <protocol>
34 GET http://we.want.that.site.com/63 HTTP/1.1\r
35 Proxy-Authorization: Basic ZmFrZTp1c2Vy\r
36 Host: we.want.that.site.com\r
37 Pragma: no-cache\r
38 Accept: */*\r
39 \r
40 </protocol>
41 </verify>