1<testcase>
2<info>
3<keywords>
4HTTP
5HTTP GET
6compressed
7</keywords>
8</info>
9#
10# Server-side
11<reply>
12<data base64="yes">
13SFRUUC8xLjEgMjAwIE9LDQpEYXRlOiBNb24sIDI5IE5vdiAyMDA0IDIxOjU2OjUzIEdNVA0KU2Vy
14dmVyOiBBcGFjaGUvMS4zLjMxIChEZWJpYW4gR05VL0xpbnV4KSBtb2RfZ3ppcC8xLjMuMjYuMWEg
15UEhQLzQuMy45LTEgbW9kX3NzbC8yLjguMjAgT3BlblNTTC8wLjkuN2QgbW9kX3BlcmwvMS4yOQ0K
16VmFyeTogQWNjZXB0LUVuY29kaW5nDQpDb250ZW50LVR5cGU6IHRleHQvaHRtbDsgY2hhcnNldD1J
17U08tODg1OS0xDQpDb250ZW50LUVuY29kaW5nOiBkZWZsYXRlLCBpZGVudGl0eSwgZ3ppcA0KQ29u
18dGVudC1MZW5ndGg6IDEzMjgNCg0KH4sIAPpl+lkAAwEZBeb6eJzcWNtu4zYQfTeQf2D91AK2brYT
19OXC0KHLZBM02wdoFuk8GLdE2G0kUSMq5PPTbO5QoibEcr3eDvgRIYnLmnMPhDEmTmXx6SmK0IVxQ
20lp51XcvpIpKGLKLp6qx7M73r+/5o3He7n4LO5JeLu/PZt/tLlHH2DwllP6ZCAhBNv01nl19Qdy1l
21dmrbS07EOiFYWimR9gKHDySN7GXS1zzRd6yhFcmoC6JbWkEHocqm2k1vTqPAPXa9iW0YSkSEJZnj
22KCKAGI/9vuP3PRc5w1PHPfXGE9vwG4Q8Ux9R4DnOsO86fddHjnfqwc9AUyrEqzhSnJC5WDMugzDn
23cR2OYW/jl3kcF3CE0wjFdNGmFhAdHhGhljpnSVJSUoIkY7UAx/wZLRlHYUxJKvuCRgT99fUWSY5T
24sYSKWjCLRshQ3hkMogLhcgSlWqlwVd8ljYk46uRCddQY4jmV+MlCNxKJPMtAX6Dr2ey+V/yd9tAV
25tI86V0X74uZ81kOzy9s/L+Hz9uJ3gF3d3F72iuE/391fX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6redWiW23mkN4u28seLehuP/L2nO
40T2dsOHhnxtT76uMnyvUGI/cdmXqBp9jHz9LAc4Yn78jSNaFJhOOPn6jhcDTw3pGosA9PffEzeTIs
41+qyv/ysUdP4DAAD//4IzEaNjAAAAAP//AwDdOI7RbCh2MRkFAAA=
42</data>
43
44<datacheck>
45HTTP/1.1 200 OK
46Date: Mon, 29 Nov 2004 21:56:53 GMT
47Server: 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
48Vary: Accept-Encoding
49Content-Type: text/html; charset=ISO-8859-1
50Content-Encoding: deflate, identity, gzip
51Content-Length: 1328
52
53<?xml version="1.0" encoding="ISO-8859-1"?>
54<!DOCTYPE project-listing SYSTEM "http://freshmeat.net/backend/fm-projects-0.4.dtd">
55<project-listing>
56  <project>
57    <project_id>1612</project_id>
58    <date_added>1998-08-21 04:01:29</date_added>
59    <date_updated>2004-10-18 02:22:23</date_updated>
60    <projectname_short>curl</projectname_short>
61    <projectname_full>curl and libcurl</projectname_full>
62    <desc_short>Command line tool and library for client-side URL transfers.</desc_short>
63    <desc_full>curl and libcurl is a tool for transferring files
64using URL syntax. It supports HTTP, HTTPS, FTP,
65FTPS, DICT, TELNET, LDAP, FILE, and GOPHER, as
66well as HTTP-post, HTTP-put, cookies, FTP upload,
67resumed transfers, passwords, portnumbers, SSL
68certificates, Kerberos, and proxies. It is powered
69by libcurl, the client-side URL transfer library.
70There are bindings to libcurl for over 20
71languages and environments.
72</desc_full>
73    <vitality_score>5784.57</vitality_score>
74    <vitality_percent>3.16</vitality_percent>
75    <vitality_rank>169</vitality_rank>
76    <popularity_score>6594.54</popularity_score>
77    <popularity_percent>13.81</popularity_percent>
78    <popularity_rank>105</popularity_rank>
79    <rating>8.50</rating>
80    <rating_count>21</rating_count>
81    <rating_rank>183</rating_rank>
82    <subscriptions>323</subscriptions>
83    <branch_name>Default</branch_name>
84    <url_project_page>http://freshmeat.net/projects/curl/</url_project_page>
85    <url_homepage>http://freshmeat.net/redir/curl/1612/url_homepage/</url_homepage>
86    <url_tgz>http://freshmeat.net/redir/curl/1612/url_tgz/</url_tgz>
87    <url_bz2>http://freshmeat.net/redir/curl/1612/url_bz2/</url_bz2>
88    <url_zip>http://freshmeat.net/redir/curl/1612/url_zip/</url_zip>
89    <url_changelog>http://freshmeat.net/redir/curl/1612/url_changelog/</url_changelog>
90    <url_rpm>http://freshmeat.net/redir/curl/1612/url_rpm/</url_rpm>
91    <url_deb>http://freshmeat.net/redir/curl/1612/url_deb/</url_deb>
92    <url_osx>http://freshmeat.net/redir/curl/1612/url_osx/</url_osx>
93    <url_bsdport>http://freshmeat.net/redir/curl/1612/url_bsdport/</url_bsdport>
94    <url_purchase></url_purchase>
95    <url_cvs>http://freshmeat.net/redir/curl/1612/url_cvs/</url_cvs>
96    <url_list>http://freshmeat.net/redir/curl/1612/url_list/</url_list>
97    <url_mirror>http://freshmeat.net/redir/curl/1612/url_mirror/</url_mirror>
98    <url_demo></url_demo>
99    <license>MIT/X Consortium License</license>
100    <latest_release>
101      <latest_release_version>7.12.2</latest_release_version>
102      <latest_release_id>176085</latest_release_id>
103      <latest_release_date>2004-10-18 02:22:23</latest_release_date>
104    </latest_release>
105    <screenshot_thumb></screenshot_thumb>
106    <authors>
107      <author>
108        <author_name>Daniel Stenberg</author_name>
109        <author_url>http://freshmeat.net/~bagder/</author_url>
110        <author_role>Owner</author_role>
111      </author>
112    </authors>
113    <descriminators>
114      <trove_id>12</trove_id>
115      <trove_id>226</trove_id>
116      <trove_id>3</trove_id>
117      <trove_id>2</trove_id>
118      <trove_id>188</trove_id>
119      <trove_id>216</trove_id>
120      <trove_id>200</trove_id>
121      <trove_id>220</trove_id>
122      <trove_id>164</trove_id>
123      <trove_id>90</trove_id>
124      <trove_id>89</trove_id>
125      <trove_id>809</trove_id>
126      <trove_id>150</trove_id>
127      <trove_id>224</trove_id>
128      <trove_id>900</trove_id>
129      <trove_id>839</trove_id>
130    </descriminators>
131    <dependencies>
132      <dependency type="recommended">
133        <dependency_release_id>0</dependency_release_id>
134        <dependency_branch_id>7464</dependency_branch_id>
135        <dependency_project_id>7464</dependency_project_id>
136        <dependency_project_title>OpenSSL (Default)</dependency_project_title>
137      </dependency>
138      <dependency type="optional">
139        <dependency_release_id>0</dependency_release_id>
140        <dependency_branch_id>0</dependency_branch_id>
141        <dependency_project_id>7443</dependency_project_id>
142        <dependency_project_title>OpenLDAP</dependency_project_title>
143      </dependency>
144      <dependency type="optional">
145        <dependency_release_id>0</dependency_release_id>
146        <dependency_branch_id>0</dependency_branch_id>
147        <dependency_project_id>12351</dependency_project_id>
148        <dependency_project_title>zlib</dependency_project_title>
149      </dependency>
150      <dependency type="optional">
151        <dependency_release_id>0</dependency_release_id>
152        <dependency_branch_id>0</dependency_branch_id>
153        <dependency_project_id>32047</dependency_project_id>
154        <dependency_project_title>Heimdal</dependency_project_title>
155      </dependency>
156      <dependency type="optional">
157        <dependency_release_id>0</dependency_release_id>
158        <dependency_branch_id>0</dependency_branch_id>
159        <dependency_project_id>44532</dependency_project_id>
160        <dependency_project_title>c-ares</dependency_project_title>
161      </dependency>
162    </dependencies>
163  </project>
164</project-listing>
165</datacheck>
166
167</reply>
168
169#
170# Client-side
171<client>
172<features>
173libz
174</features>
175<server>
176http
177</server>
178 <name>
179HTTP GET multiply compressed content
180 </name>
181 <command>
182http://%HOSTIP:%HTTPPORT/230 --compressed
183</command>
184</client>
185
186#
187# Verify data after the test has been "shot"
188<verify>
189<strip>
190^User-Agent:.*
191</strip>
192<strippart>
193s/^Accept-Encoding: .*/Accept-Encoding: xxx/
194</strippart>
195<protocol>
196GET /230 HTTP/1.1
197Host: %HOSTIP:%HTTPPORT
198Accept: */*
199Accept-Encoding: xxx
200
201</protocol>
202</verify>
203</testcase>
204