Annotation of embedaddon/curl/tests/data/test220, revision 1.1.1.1
1.1 misho 1: <testcase>
2: <info>
3: <keywords>
4: HTTP
5: HTTP GET
6: compressed
7: </keywords>
8: </info>
9: #
10: # Server-side
11: <reply>
12: <data base64="yes">
13: SFRUUC8xLjEgMjAwIE9LDQpEYXRlOiBNb24sIDI5IE5vdiAyMDA0IDIxOjU2OjUzIEdNVA0KU2Vy
14: dmVyOiBBcGFjaGUvMS4zLjMxIChEZWJpYW4gR05VL0xpbnV4KSBtb2RfZ3ppcC8xLjMuMjYuMWEg
15: UEhQLzQuMy45LTEgbW9kX3NzbC8yLjguMjAgT3BlblNTTC8wLjkuN2QgbW9kX3BlcmwvMS4yOQ0K
16: VmFyeTogQWNjZXB0LUVuY29kaW5nDQpDb250ZW50LVR5cGU6IHRleHQvaHRtbDsgY2hhcnNldD1J
17: U08tODg1OS0xDQpDb250ZW50LUVuY29kaW5nOiBHWklQDQpDb250ZW50LUxlbmd0aDogNDQNCg0K
18: H4sICHmeq0EAA2xhbGFsYQDLycxLVTDkUsgB0UZcChCGMRcACgJxYBgAAAA=
19: </data>
20:
21: <datacheck>
22: HTTP/1.1 200 OK
23: Date: Mon, 29 Nov 2004 21:56:53 GMT
24: Server: Apache/1.3.31 (Debian GNU/Linux) mod_gzip/1.3.26.1a PHP/4.3.9-1 mod_ssl/2.8.20 OpenSSL/0.9.7d mod_perl/1.29
25: Vary: Accept-Encoding
26: Content-Type: text/html; charset=ISO-8859-1
27: Content-Encoding: GZIP
28: Content-Length: 44
29:
30: line 1
31: line 2
32: line 3
33: </datacheck>
34:
35: </reply>
36:
37: #
38: # Client-side
39: <client>
40: <features>
41: libz
42: </features>
43: <server>
44: http
45: </server>
46: <name>
47: HTTP GET gzip compressed content
48: </name>
49: <command>
50: http://%HOSTIP:%HTTPPORT/220 --compressed
51: </command>
52: </client>
53:
54: #
55: # Verify data after the test has been "shot"
56: <verify>
57: <strip>
58: ^User-Agent:.*
59: </strip>
60: <strippart>
61: s/^Accept-Encoding: .*/Accept-Encoding: xxx/
62: </strippart>
63: <protocol>
64: GET /220 HTTP/1.1
65: Host: %HOSTIP:%HTTPPORT
66: Accept: */*
67: Accept-Encoding: xxx
68:
69: </protocol>
70: </verify>
71: </testcase>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>