Annotation of embedaddon/curl/tests/data/test275, revision 1.1.1.1
1.1 misho 1: <testcase>
2: <info>
3: <keywords>
4: HTTP
5: HTTP GET
6: HTTP CONNECT
7: HTTP Basic auth
8: HTTP proxy
9: HTTP proxy Basic auth
10: proxytunnel
11: </keywords>
12: </info>
13:
14: #
15: # Server-side
16: <reply>
17: <connect>
18: HTTP/1.1 200 OK
19: Connected-fine: sure
20:
21: </connect>
22:
23: <data>
24: HTTP/1.1 200 OK
25: Date: Thu, 09 Nov 2010 14:49:00 GMT
26: Server: test-server/fake
27: Content-Type: text/html
28: Content-Length: 9
29:
30: contents
31: </data>
32: <datacheck>
33: HTTP/1.1 200 OK
34: Connected-fine: sure
35:
36: HTTP/1.1 200 OK
37: Date: Thu, 09 Nov 2010 14:49:00 GMT
38: Server: test-server/fake
39: Content-Type: text/html
40: Content-Length: 9
41:
42: contents
43: </datacheck>
44: </reply>
45:
46: #
47: # Client-side
48: <client>
49: <server>
50: http
51: http-proxy
52: </server>
53: <name>
54: HTTP CONNECT with proxytunnel getting two URLs from the same host
55: </name>
56: <command>
57: http://remotesite.com.275:%HTTPPORT/we/want/that/page/275 -p -x %HOSTIP:%PROXYPORT --user iam:myself --proxy-user youare:yourself http://remotesite.com.275:%HTTPPORT/we/want/that/page/275
58: </command>
59: <features>
60: proxy
61: </features>
62: </client>
63:
64: #
65: # Verify data after the test has been "shot"
66: <verify>
67: <strip>
68: ^User-Agent:.*
69: </strip>
70: <proxy>
71: CONNECT remotesite.com.275:%HTTPPORT HTTP/1.1
72: Host: remotesite.com.275:%HTTPPORT
73: Proxy-Authorization: Basic eW91YXJlOnlvdXJzZWxm
74: User-Agent: curl/7.10.7-pre2 (i686-pc-linux-gnu) libcurl/7.10.7-pre2 OpenSSL/0.9.7a zlib/1.1.3
75: Proxy-Connection: Keep-Alive
76:
77: </proxy>
78: <protocol>
79: GET /we/want/that/page/275 HTTP/1.1
80: Host: remotesite.com.275:%HTTPPORT
81: Authorization: Basic aWFtOm15c2VsZg==
82: Accept: */*
83:
84: GET /we/want/that/page/275 HTTP/1.1
85: Host: remotesite.com.275:%HTTPPORT
86: Authorization: Basic aWFtOm15c2VsZg==
87: Accept: */*
88:
89: </protocol>
90: </verify>
91: </testcase>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>