Annotation of embedaddon/curl/tests/data/test523, revision 1.1.1.1
1.1 misho 1: <testcase>
2: <info>
3: <keywords>
4: HTTP
5: HTTP GET
6: HTTP proxy
7: CURLOPT_PORT
8: CURLOPT_PROXY
9: </keywords>
10: </info>
11:
12: #
13: # Server-side
14: <reply>
15: <data nocheck="yes">
16: HTTP/1.1 200 OK swsclose
17: Date: Thu, 09 Nov 2010 14:49:00 GMT
18: Server: test-server/fake
19: Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT
20: ETag: "21025-dc7-39462498"
21: Accept-Ranges: bytes
22: Content-Length: 6
23:
24: hello
25: </data>
26: </reply>
27:
28: #
29: # Client-side
30: <client>
31: <server>
32: http
33: </server>
34: <tool>
35: lib523
36: </tool>
37: <name>
38: HTTP GET with proxy and CURLOPT_PORT
39: </name>
40: # first URL then proxy
41: <command>
42: http://www.example.com:999/523 http://%HOSTIP:%HTTPPORT
43: </command>
44: <features>
45: proxy
46: </features>
47: </client>
48:
49: #
50: # Verify data after the test has been "shot"
51: <verify>
52: <strip>
53: ^User-Agent:.*
54: </strip>
55: <protocol>
56: GET http://www.example.com:19999/523 HTTP/1.1
57: Host: www.example.com:19999
58: Authorization: Basic eHh4Onl5eQ==
59: Accept: */*
60: Proxy-Connection: Keep-Alive
61:
62: </protocol>
63: <stdout>
64: hello
65: </stdout>
66: </verify>
67: </testcase>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>