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 | U08tODg1OS0xDQpDb250ZW50LUVuY29kaW5nOiBkZWZsYXRlDQpDb250ZW50LUxlbmd0aDogMTMw |
| 18 | NQ0KDQp4nNxY227jNhB9N5B/YP3UArZuthM5cLQoctkEzTbB2gW6TwYt0TYbSRRIyrk89Ns7lCiJ |
| 19 | sRyvd4O+BEhicuacw+EMSZOZfHpKYrQhXFCWnnVdy+kikoYsounqrHszvev7/mjcd7ufgs7kl4u7 |
| 20 | 89m3+0uUcfYPCWU/pkICEE2/TWeXX1B3LWV2attLTsQ6IVhaKZH2AocPJI3sZdLXPNF3rKEVyagL |
| 21 | oltaQQehyqbaTW9Oo8A9dr2JbRhKRIQlmeMoIoAYj/2+4/c9FznDU8c99cYT2/AbhDxTH1HgOc6w |
| 22 | 7zp910eOd+rBz0BTKsSrOFKckLlYMy6DMOdxHY5hb+OXeRwXcITTCMV00aYWEB0eEaGWOmdJUlJS |
| 23 | giRjtQDH/BktGUdhTEkq+4JGBP319RZJjlOxhIpaMItGyFDeGQyi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ThOaYmnOTnK4IRS1gYLWnZbX8473uQd7ufuc |
| 37 | ru/v5bp7x4WlsT/qvW73eLjPPd5L9sd7vc5etzv6TtzfCWx/ZIPW2OX9brv8sCYyeDLBQwyuo7VO |
| 38 | bXxG8jkjZ11OQngdKJt6SdWLssGZG9lRQ+1y7CTqewu4T4aqGDtdO5nG46xF3X64vcWVVKoNBXa4 |
| 39 | s6Nf9W3qt51aJbbeaQ3i7byx4t6G4/8vac5PZ2w4eGfG1Pvq4yfK9QYj9x2ZeoGn2MfP0sBzhifv |
| 40 | yNI1oUmE44+fqOFwNPDekaiwD0998TN5Miz6rK//KxR0/gMAAP//gjMRo2MAAAAA//8DAN04jtE= |
| 41 | </data> |
| 42 | |
| 43 | <datacheck> |
| 44 | HTTP/1.1 200 OK
|
| 45 | Date: Mon, 29 Nov 2004 21:56:53 GMT
|
| 46 | 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
|
| 47 | Vary: Accept-Encoding
|
| 48 | Content-Type: text/html; charset=ISO-8859-1
|
| 49 | Content-Encoding: deflate
|
| 50 | Content-Length: 1305
|
| 51 |
|
| 52 | <?xml version="1.0" encoding="ISO-8859-1"?> |
| 53 | <!DOCTYPE project-listing SYSTEM "http://freshmeat.net/backend/fm-projects-0.4.dtd"> |
| 54 | <project-listing> |
| 55 | <project> |
| 56 | <project_id>1612</project_id> |
| 57 | <date_added>1998-08-21 04:01:29</date_added> |
| 58 | <date_updated>2004-10-18 02:22:23</date_updated> |
| 59 | <projectname_short>curl</projectname_short> |
| 60 | <projectname_full>curl and libcurl</projectname_full> |
| 61 | <desc_short>Command line tool and library for client-side URL transfers.</desc_short> |
| 62 | <desc_full>curl and libcurl is a tool for transferring files
|
| 63 | using URL syntax. It supports HTTP, HTTPS, FTP,
|
| 64 | FTPS, DICT, TELNET, LDAP, FILE, and GOPHER, as
|
| 65 | well as HTTP-post, HTTP-put, cookies, FTP upload,
|
| 66 | resumed transfers, passwords, portnumbers, SSL
|
| 67 | certificates, Kerberos, and proxies. It is powered
|
| 68 | by libcurl, the client-side URL transfer library.
|
| 69 | There are bindings to libcurl for over 20
|
| 70 | languages and environments.
|
| 71 | </desc_full> |
| 72 | <vitality_score>5784.57</vitality_score> |
| 73 | <vitality_percent>3.16</vitality_percent> |
| 74 | <vitality_rank>169</vitality_rank> |
| 75 | <popularity_score>6594.54</popularity_score> |
| 76 | <popularity_percent>13.81</popularity_percent> |
| 77 | <popularity_rank>105</popularity_rank> |
| 78 | <rating>8.50</rating> |
| 79 | <rating_count>21</rating_count> |
| 80 | <rating_rank>183</rating_rank> |
| 81 | <subscriptions>323</subscriptions> |
| 82 | <branch_name>Default</branch_name> |
| 83 | <url_project_page>http://freshmeat.net/projects/curl/</url_project_page> |
| 84 | <url_homepage>http://freshmeat.net/redir/curl/1612/url_homepage/</url_homepage> |
| 85 | <url_tgz>http://freshmeat.net/redir/curl/1612/url_tgz/</url_tgz> |
| 86 | <url_bz2>http://freshmeat.net/redir/curl/1612/url_bz2/</url_bz2> |
| 87 | <url_zip>http://freshmeat.net/redir/curl/1612/url_zip/</url_zip> |
| 88 | <url_changelog>http://freshmeat.net/redir/curl/1612/url_changelog/</url_changelog> |
| 89 | <url_rpm>http://freshmeat.net/redir/curl/1612/url_rpm/</url_rpm> |
| 90 | <url_deb>http://freshmeat.net/redir/curl/1612/url_deb/</url_deb> |
| 91 | <url_osx>http://freshmeat.net/redir/curl/1612/url_osx/</url_osx> |
| 92 | <url_bsdport>http://freshmeat.net/redir/curl/1612/url_bsdport/</url_bsdport> |
| 93 | <url_purchase></url_purchase> |
| 94 | <url_cvs>http://freshmeat.net/redir/curl/1612/url_cvs/</url_cvs> |
| 95 | <url_list>http://freshmeat.net/redir/curl/1612/url_list/</url_list> |
| 96 | <url_mirror>http://freshmeat.net/redir/curl/1612/url_mirror/</url_mirror> |
| 97 | <url_demo></url_demo> |
| 98 | <license>MIT/X Consortium License</license> |
| 99 | <latest_release> |
| 100 | <latest_release_version>7.12.2</latest_release_version> |
| 101 | <latest_release_id>176085</latest_release_id> |
| 102 | <latest_release_date>2004-10-18 02:22:23</latest_release_date> |
| 103 | </latest_release> |
| 104 | <screenshot_thumb></screenshot_thumb> |
| 105 | <authors> |
| 106 | <author> |
| 107 | <author_name>Daniel Stenberg</author_name> |
| 108 | <author_url>http://freshmeat.net/~bagder/</author_url> |
| 109 | <author_role>Owner</author_role> |
| 110 | </author> |
| 111 | </authors> |
| 112 | <descriminators> |
| 113 | <trove_id>12</trove_id> |
| 114 | <trove_id>226</trove_id> |
| 115 | <trove_id>3</trove_id> |
| 116 | <trove_id>2</trove_id> |
| 117 | <trove_id>188</trove_id> |
| 118 | <trove_id>216</trove_id> |
| 119 | <trove_id>200</trove_id> |
| 120 | <trove_id>220</trove_id> |
| 121 | <trove_id>164</trove_id> |
| 122 | <trove_id>90</trove_id> |
| 123 | <trove_id>89</trove_id> |
| 124 | <trove_id>809</trove_id> |
| 125 | <trove_id>150</trove_id> |
| 126 | <trove_id>224</trove_id> |
| 127 | <trove_id>900</trove_id> |
| 128 | <trove_id>839</trove_id> |
| 129 | </descriminators> |
| 130 | <dependencies> |
| 131 | <dependency type="recommended"> |
| 132 | <dependency_release_id>0</dependency_release_id> |
| 133 | <dependency_branch_id>7464</dependency_branch_id> |
| 134 | <dependency_project_id>7464</dependency_project_id> |
| 135 | <dependency_project_title>OpenSSL (Default)</dependency_project_title> |
| 136 | </dependency> |
| 137 | <dependency type="optional"> |
| 138 | <dependency_release_id>0</dependency_release_id> |
| 139 | <dependency_branch_id>0</dependency_branch_id> |
| 140 | <dependency_project_id>7443</dependency_project_id> |
| 141 | <dependency_project_title>OpenLDAP</dependency_project_title> |
| 142 | </dependency> |
| 143 | <dependency type="optional"> |
| 144 | <dependency_release_id>0</dependency_release_id> |
| 145 | <dependency_branch_id>0</dependency_branch_id> |
| 146 | <dependency_project_id>12351</dependency_project_id> |
| 147 | <dependency_project_title>zlib</dependency_project_title> |
| 148 | </dependency> |
| 149 | <dependency type="optional"> |
| 150 | <dependency_release_id>0</dependency_release_id> |
| 151 | <dependency_branch_id>0</dependency_branch_id> |
| 152 | <dependency_project_id>32047</dependency_project_id> |
| 153 | <dependency_project_title>Heimdal</dependency_project_title> |
| 154 | </dependency> |
| 155 | <dependency type="optional"> |
| 156 | <dependency_release_id>0</dependency_release_id> |
| 157 | <dependency_branch_id>0</dependency_branch_id> |
| 158 | <dependency_project_id>44532</dependency_project_id> |
| 159 | <dependency_project_title>c-ares</dependency_project_title> |
| 160 | </dependency> |
| 161 | </dependencies> |
| 162 | </project> |
| 163 | </project-listing> |
| 164 | </datacheck> |
| 165 | |
| 166 | </reply> |
| 167 | |
| 168 | # |
| 169 | # Client-side |
| 170 | <client> |
| 171 | <features> |
| 172 | libz |
| 173 | </features> |
| 174 | <server> |
| 175 | http |
| 176 | </server> |
| 177 | <name> |
| 178 | HTTP GET deflate compressed content |
| 179 | </name> |
| 180 | <command> |
| 181 | http://%HOSTIP:%HTTPPORT/%TESTNUMBER --compressed |
| 182 | </command> |
| 183 | </client> |
| 184 | |
| 185 | # |
| 186 | # Verify data after the test has been "shot" |
| 187 | <verify> |
| 188 | <strippart> |
| 189 | s/^Accept-Encoding: [a-zA-Z, ]*/Accept-Encoding: xxx/ |
| 190 | </strippart> |
| 191 | <protocol> |
| 192 | GET /%TESTNUMBER HTTP/1.1
|
| 193 | Host: %HOSTIP:%HTTPPORT
|
| 194 | User-Agent: curl/%VERSION
|
| 195 | Accept: */*
|
| 196 | Accept-Encoding: xxx
|
| 197 |
|
| 198 | </protocol> |
| 199 | </verify> |
| 200 | </testcase> |