2
0

test222 8.0 KB

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