Annotation of embedaddon/curl/tests/data/test1527, revision 1.1.1.1
1.1 misho 1: <testcase>
2: <info>
3: <keywords>
4: HTTP
5: HTTP GET
6: HTTP CONNECT
7: HTTP proxy
8: proxytunnel
9: </keywords>
10: </info>
11:
12: # Server-side
13: <reply>
14: <connect>
15: HTTP/1.1 200 OK
16: We-are: good
17:
18: </connect>
19: <data>
20: HTTP/1.1 200 OK swsclose
21: Date: Thu, 09 Nov 2010 14:49:00 GMT
22: Server: test-server/fake
23: Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT
24: ETag: "21025-dc7-39462498"
25: </data>
26: <datacheck>
27: HTTP/1.1 200 OK
28: We-are: good
29:
30: HTTP/1.1 200 OK swsclose
31: Date: Thu, 09 Nov 2010 14:49:00 GMT
32: Server: test-server/fake
33: Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT
34: ETag: "21025-dc7-39462498"
35: </datacheck>
36:
37: </reply>
38: # Client-side
39: <client>
40: <server>
41: http
42: http-proxy
43: </server>
44: <tool>
45: lib1527
46: </tool>
47: <name>
48: Check same headers are generated with CURLOPT_HEADEROPT == CURLHEADER_UNIFIED
49: </name>
50: <command>
51: http://the.old.moo.1527:%HTTPPORT/1527 %HOSTIP:%PROXYPORT
52: </command>
53: <features>
54: proxy
55: </features>
56: </client>
57:
58: # Verify data after the test has been "shot"
59: <verify>
60: <proxy>
61: CONNECT the.old.moo.1527:%HTTPPORT HTTP/1.1
62: Host: the.old.moo.1527:%HTTPPORT
63: Proxy-Connection: Keep-Alive
64: User-Agent: Http Agent
65: Expect: 100-continue
66:
67: </proxy>
68: <protocol>
69: PUT /1527 HTTP/1.1
70: Host: the.old.moo.1527:%HTTPPORT
71: Accept: */*
72: User-Agent: Http Agent
73: Expect: 100-continue
74: Content-Length: 13
75:
76: Hello Cloud!
77: </protocol>
78: </verify>
79: </testcase>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>