xf.li | 6c8fc1e | 2023-08-12 00:11:09 -0700 | [diff] [blame^] | 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 | U08tODg1OS0xDQpDb250ZW50LUVuY29kaW5nOiBicg0KQ29udGVudC1MZW5ndGg6IDEwNTYNCg0K |
| 18 | G7ATAJwFdhtdgaQ8i+mZBoO/lwogPKuqHpeP38jV5TDITTB7/oJVCS69FFDKWDVtMk8y4SfMSu/a |
| 19 | 9vvLxWPweDCKePH/2y9VIkbF+EgCYSNs9v53J8QTIHT4ZucHCCRQiXRdT6XdE60KSlbIvobr5rJQ |
| 20 | sRn7ipIjMVMq3Go+/UXtY2d0yP1qaaGSxCn8nZuUNGh74KOI7EEkgFl1tjYytkpc9mJJy9J+wTTI |
| 21 | +HroUQP2VR2DYkNoUECqgtOLlGcVEln4+eVzEWcrb8fNrcrVxLArJBpSd8FX8eZs8ebJUO7aBZ5e |
| 22 | pHz6zel7lhLlfHoQIkGh34riaSVr7VTGDmmO6HjSCzKO27LybZ9I3CtMSD2Il4mB131Tlcbut1Bd |
| 23 | zL4XU4DZYMLBN4jwVZEoHpjzHX+vQ3prnrNw4oB7OWOr/fBzjvfjDuO24WxwzPqPo+V6VNcthz1p |
| 24 | fF1+sMK4yWY7He33m32EuQgQFSZ3a5Wu4FyQcAb45Z+wUxM5XCmX52YmdUR2YTs+W+bNw2EZSfMR |
| 25 | cP3CinyJI/cTT+JubL3T4COkhz0Rffeoh/3E4c/6ugma1ubhokYecXp8HBwmeDL48d62H26u69DO |
| 26 | yMhg1PFj+oVDWnK4K+L5AlRr0mpJLqoGHrzflMLQ6qL2oIo9hN6qCeZEEqXM+/KunVYpWVeTY+ht |
| 27 | hA0y5p5RLLTTS4cehaJOpbFyAVxZOardIkJAVx0NshOZY4hDbts9BXsXzFEOgsFhrIQYgh04StZz |
| 28 | llIRMVDptYlwGmpZCHHmVECdGiFIfEhkQ2INSwMCuuKpaycgSOO9hJA9UFKDBdzTiLJBP9oUVkKL |
| 29 | bHjwicICCi3k0HcppcvQaW27AMI06kuQU4WUGizgnkaUDcZqCgsotMgG528UFlBo8SFpb05OAjJq |
| 30 | 2gEI0UgN93KS1OvAOYSLN5IaLOCeRnQpJXuLUwcm7urpg6lYxAk26uEoADdsRytHGkSWjOKP6T07 |
| 31 | wiceuNo7CXyu7ohtUZXoEWawRHGVkPDVJYqH+xa0DDRKSSgM4K3efLVPSTaUPvBGIZgnn2JBFFWa |
| 32 | MsKZguUuUnz6qaSGqnmGAYiupdC1EFye58V4CLbWVjJU4NF2jrOUYR/Dv04zYwVQtQcFzgmK6H4N |
| 33 | HAhmb0a6pQRKxZaZ+x2vCC7sCuIu4dNCATwqzk12ue6oEsxzYybLPNGJd084M43O9W8E+5/drd/F |
| 34 | QVB2X4jlFlCuHuWeQxQo+w73Tb9swW692v3BlfQTP1ClWzuJ+RwuSb9m4V3QVa4MEL+0Xzc5FX9P |
| 35 | +YX1cgaL+6oMHw7L+IOjOt+n1BOloyqk35lLHX7RZmu8SckMnGP95XjWc4FRKP9x/iXrKaeCnut/ |
| 36 | zstyZdJS5FRmBT/wb5KK9YWBGnqPLO8isN2HS8gA |
| 37 | </data> |
| 38 | |
| 39 | <datacheck> |
| 40 | HTTP/1.1 200 OK
|
| 41 | Date: Mon, 29 Nov 2004 21:56:53 GMT
|
| 42 | 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
|
| 43 | Vary: Accept-Encoding
|
| 44 | Content-Type: text/html; charset=ISO-8859-1
|
| 45 | Content-Encoding: br
|
| 46 | Content-Length: 1056
|
| 47 |
|
| 48 | <?xml version="1.0" encoding="ISO-8859-1"?> |
| 49 | <!DOCTYPE project-listing SYSTEM "http://freshmeat.net/backend/fm-projects-0.4.dtd"> |
| 50 | <project-listing> |
| 51 | <project> |
| 52 | <project_id>1612</project_id> |
| 53 | <date_added>1998-08-21 04:01:29</date_added> |
| 54 | <date_updated>2004-10-18 02:22:23</date_updated> |
| 55 | <projectname_short>curl</projectname_short> |
| 56 | <projectname_full>curl and libcurl</projectname_full> |
| 57 | <desc_short>Command line tool and library for client-side URL transfers.</desc_short> |
| 58 | <desc_full>curl and libcurl is a tool for transferring files
|
| 59 | using URL syntax. It supports HTTP, HTTPS, FTP,
|
| 60 | FTPS, DICT, TELNET, LDAP, FILE, and GOPHER, as
|
| 61 | well as HTTP-post, HTTP-put, cookies, FTP upload,
|
| 62 | resumed transfers, passwords, portnumbers, SSL
|
| 63 | certificates, Kerberos, and proxies. It is powered
|
| 64 | by libcurl, the client-side URL transfer library.
|
| 65 | There are bindings to libcurl for over 20
|
| 66 | languages and environments.
|
| 67 | </desc_full> |
| 68 | <vitality_score>5784.57</vitality_score> |
| 69 | <vitality_percent>3.16</vitality_percent> |
| 70 | <vitality_rank>169</vitality_rank> |
| 71 | <popularity_score>6594.54</popularity_score> |
| 72 | <popularity_percent>13.81</popularity_percent> |
| 73 | <popularity_rank>105</popularity_rank> |
| 74 | <rating>8.50</rating> |
| 75 | <rating_count>21</rating_count> |
| 76 | <rating_rank>183</rating_rank> |
| 77 | <subscriptions>323</subscriptions> |
| 78 | <branch_name>Default</branch_name> |
| 79 | <url_project_page>http://freshmeat.net/projects/curl/</url_project_page> |
| 80 | <url_homepage>http://freshmeat.net/redir/curl/1612/url_homepage/</url_homepage> |
| 81 | <url_tgz>http://freshmeat.net/redir/curl/1612/url_tgz/</url_tgz> |
| 82 | <url_bz2>http://freshmeat.net/redir/curl/1612/url_bz2/</url_bz2> |
| 83 | <url_zip>http://freshmeat.net/redir/curl/1612/url_zip/</url_zip> |
| 84 | <url_changelog>http://freshmeat.net/redir/curl/1612/url_changelog/</url_changelog> |
| 85 | <url_rpm>http://freshmeat.net/redir/curl/1612/url_rpm/</url_rpm> |
| 86 | <url_deb>http://freshmeat.net/redir/curl/1612/url_deb/</url_deb> |
| 87 | <url_osx>http://freshmeat.net/redir/curl/1612/url_osx/</url_osx> |
| 88 | <url_bsdport>http://freshmeat.net/redir/curl/1612/url_bsdport/</url_bsdport> |
| 89 | <url_purchase></url_purchase> |
| 90 | <url_cvs>http://freshmeat.net/redir/curl/1612/url_cvs/</url_cvs> |
| 91 | <url_list>http://freshmeat.net/redir/curl/1612/url_list/</url_list> |
| 92 | <url_mirror>http://freshmeat.net/redir/curl/1612/url_mirror/</url_mirror> |
| 93 | <url_demo></url_demo> |
| 94 | <license>MIT/X Consortium License</license> |
| 95 | <latest_release> |
| 96 | <latest_release_version>7.12.2</latest_release_version> |
| 97 | <latest_release_id>176085</latest_release_id> |
| 98 | <latest_release_date>2004-10-18 02:22:23</latest_release_date> |
| 99 | </latest_release> |
| 100 | <screenshot_thumb></screenshot_thumb> |
| 101 | <authors> |
| 102 | <author> |
| 103 | <author_name>Daniel Stenberg</author_name> |
| 104 | <author_url>http://freshmeat.net/~bagder/</author_url> |
| 105 | <author_role>Owner</author_role> |
| 106 | </author> |
| 107 | </authors> |
| 108 | <descriminators> |
| 109 | <trove_id>12</trove_id> |
| 110 | <trove_id>226</trove_id> |
| 111 | <trove_id>3</trove_id> |
| 112 | <trove_id>2</trove_id> |
| 113 | <trove_id>188</trove_id> |
| 114 | <trove_id>216</trove_id> |
| 115 | <trove_id>200</trove_id> |
| 116 | <trove_id>220</trove_id> |
| 117 | <trove_id>164</trove_id> |
| 118 | <trove_id>90</trove_id> |
| 119 | <trove_id>89</trove_id> |
| 120 | <trove_id>809</trove_id> |
| 121 | <trove_id>150</trove_id> |
| 122 | <trove_id>224</trove_id> |
| 123 | <trove_id>900</trove_id> |
| 124 | <trove_id>839</trove_id> |
| 125 | </descriminators> |
| 126 | <dependencies> |
| 127 | <dependency type="recommended"> |
| 128 | <dependency_release_id>0</dependency_release_id> |
| 129 | <dependency_branch_id>7464</dependency_branch_id> |
| 130 | <dependency_project_id>7464</dependency_project_id> |
| 131 | <dependency_project_title>OpenSSL (Default)</dependency_project_title> |
| 132 | </dependency> |
| 133 | <dependency type="optional"> |
| 134 | <dependency_release_id>0</dependency_release_id> |
| 135 | <dependency_branch_id>0</dependency_branch_id> |
| 136 | <dependency_project_id>7443</dependency_project_id> |
| 137 | <dependency_project_title>OpenLDAP</dependency_project_title> |
| 138 | </dependency> |
| 139 | <dependency type="optional"> |
| 140 | <dependency_release_id>0</dependency_release_id> |
| 141 | <dependency_branch_id>0</dependency_branch_id> |
| 142 | <dependency_project_id>12351</dependency_project_id> |
| 143 | <dependency_project_title>zlib</dependency_project_title> |
| 144 | </dependency> |
| 145 | <dependency type="optional"> |
| 146 | <dependency_release_id>0</dependency_release_id> |
| 147 | <dependency_branch_id>0</dependency_branch_id> |
| 148 | <dependency_project_id>32047</dependency_project_id> |
| 149 | <dependency_project_title>Heimdal</dependency_project_title> |
| 150 | </dependency> |
| 151 | <dependency type="optional"> |
| 152 | <dependency_release_id>0</dependency_release_id> |
| 153 | <dependency_branch_id>0</dependency_branch_id> |
| 154 | <dependency_project_id>44532</dependency_project_id> |
| 155 | <dependency_project_title>c-ares</dependency_project_title> |
| 156 | </dependency> |
| 157 | </dependencies> |
| 158 | </project> |
| 159 | </project-listing> |
| 160 | </datacheck> |
| 161 | |
| 162 | </reply> |
| 163 | |
| 164 | # |
| 165 | # Client-side |
| 166 | <client> |
| 167 | <features> |
| 168 | brotli |
| 169 | </features> |
| 170 | <server> |
| 171 | http |
| 172 | </server> |
| 173 | <name> |
| 174 | HTTP GET brotli compressed content |
| 175 | </name> |
| 176 | <command> |
| 177 | http://%HOSTIP:%HTTPPORT/%TESTNUMBER --compressed |
| 178 | </command> |
| 179 | </client> |
| 180 | |
| 181 | # |
| 182 | # Verify data after the test has been "shot" |
| 183 | <verify> |
| 184 | <strippart> |
| 185 | s/^Accept-Encoding: [a-zA-Z, ]*/Accept-Encoding: xxx/ |
| 186 | </strippart> |
| 187 | <protocol> |
| 188 | GET /%TESTNUMBER HTTP/1.1
|
| 189 | Host: %HOSTIP:%HTTPPORT
|
| 190 | User-Agent: curl/%VERSION
|
| 191 | Accept: */*
|
| 192 | Accept-Encoding: xxx
|
| 193 |
|
| 194 | </protocol> |
| 195 | </verify> |
| 196 | </testcase> |