Debian Codegraph @

curl/tests/data/test85

raw
1 <info>
2 <keywords>
3 HTTP
4 HTTP GET
5 HTTP Basic auth
6 HTTP proxy Basic auth
7 </keywords>
8 </info>
9 #
10 # Server-side
11 <reply>
12 <data>
13 HTTP/1.1 200 OK
14 Date: Thu, 09 Nov 2010 14:49:00 GMT
15 Server: test-server/fake swsclose
16 Content-Type: text/html
17 Funny-head: yesyes
18
19 contents
20 </data>
21 </reply>
22
23 #
24 # Client-side
25 <client>
26 <server>
27 http
28 </server>
29 <name>
30 HTTP over proxy with site and proxy authentication
31 </name>
32 <command>
33 http://%HOSTIP:%HTTPPORT/we/want/that/page/85 -x %HOSTIP:%HTTPPORT --user iam:myself --proxy-user testing:this
34 </command>
35 </client>
36
37 #
38 # Verify data after the test has been "shot"
39 <verify>
40 <strip>
41 ^User-Agent:.*
42 </strip>
43 <protocol>
44 GET http://127.0.0.1:%HTTPPORT/we/want/that/page/85 HTTP/1.1
45 Proxy-Authorization: Basic dGVzdGluZzp0aGlz
46 Authorization: Basic aWFtOm15c2VsZg==
47 User-Agent: curl/7.10.7-pre2 (i686-pc-linux-gnu) libcurl/7.10.7-pre2 OpenSSL/0.9.7a zlib/1.1.3
48 Host: 127.0.0.1:%HTTPPORT
49 Pragma: no-cache
50 Accept: */*
51 Proxy-Connection: Keep-Alive
52
53 </protocol>
54 </verify>