2
0

test1277 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206
  1. <testcase>
  2. <info>
  3. <keywords>
  4. HTTP
  5. HTTP GET
  6. compressed
  7. Transfer-Encoding
  8. Content-Encoding
  9. </keywords>
  10. </info>
  11. #
  12. # Server-side
  13. <reply>
  14. <data base64="yes">
  15. SFRUUC8xLjEgMjAwIE9LDQpEYXRlOiBNb24sIDI5IE5vdiAyMDA0IDIxOjU2OjUzIEdNVA0KU2Vy
  16. dmVyOiBBcGFjaGUvMS4zLjMxIChEZWJpYW4gR05VL0xpbnV4KSBtb2RfZ3ppcC8xLjMuMjYuMWEg
  17. UEhQLzQuMy45LTEgbW9kX3NzbC8yLjguMjAgT3BlblNTTC8wLjkuN2QgbW9kX3BlcmwvMS4yOQ0K
  18. VmFyeTogQWNjZXB0LUVuY29kaW5nDQpDb250ZW50LVR5cGU6IHRleHQvaHRtbDsgY2hhcnNldD1J
  19. U08tODg1OS0xDQpUcmFuc2Zlci1FbmNvZGluZzogZ3ppcCwgY2h1bmtlZA0KQ29udGVudC1FbmNv
  20. ZGluZzogZGVmbGF0ZQ0KDQo1MjINCh+LCAAHgbBjAv8BCwX0+nja3VjbbuM2EH03kH9g/dQCtm62
  21. EzlwtChy2QTNNsHaBbpPBi3RNhtJFEjKuTz02zuUKImxHK93g74ESGJy5pzD4QxJk5l8ekpitCFc
  22. UJaedV3L6SKShiyi6eqsezO96/v+aNx3u5+CzuSXi7vz2bf7S5Rx9g8JZT+mQgIQTb9NZ5dfUHct
  23. ZXZq20tOxDohWFopkfYChw8kjexl0tc80XesoRXJqAuiW1pBB6HKptpNb06jwD12vYltGEpEhCWZ
  24. 4ygigBiP/b7j9z0XOcNTxz31xhP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qGnLVMJRLnEm4y
  38. og6p7Ffd2qBPYJxSEqOpJCl8w68mtulsUaBKu+v+7wKvIqKKbCBbdM5iEtw9poTXuMJURWqboVY9
  39. YVzJOE1oiqU5O8nhhlDUBgpad1pezzve5x7s5e5zur6/l+vuHReWxv6o97rd4+E+93gv2R/v9Tp7
  40. 3e7oO3F/J7D9kQ1aY5f3u+3yw5rI4MkEDzG4jtY6tfEZyeeMnHU5CeF1oGzqJVUvygZnbmRHDbXL
  41. sZOo7y3gPhmqYux07WQaj7MWdfvh9hZXUqk2FNjhzo5+1bep33Zqldh6pzWIt/PGinsbjv+/pDk/
  42. nbHh4J0ZU++rj58o1xuM3Hdk6gWeYh8/SwPPGZ68I0vXhCYRjj9+oobD0cB7R6LCPjz1xc/kybDo
  43. s77+r1DQqZvNf8f+A904jtHT7+gYCwUAAA0KMA0KDQo=
  44. </data>
  45. <datacheck>
  46. HTTP/1.1 200 OK
  47. Date: Mon, 29 Nov 2004 21:56:53 GMT
  48. 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
  49. Vary: Accept-Encoding
  50. Content-Type: text/html; charset=ISO-8859-1
  51. Transfer-Encoding: gzip, chunked
  52. Content-Encoding: deflate
  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
  64. using URL syntax. It supports HTTP, HTTPS, FTP,
  65. FTPS, DICT, TELNET, LDAP, FILE, and GOPHER, as
  66. well as HTTP-post, HTTP-put, cookies, FTP upload,
  67. resumed transfers, passwords, portnumbers, SSL
  68. certificates, Kerberos, and proxies. It is powered
  69. by libcurl, the client-side URL transfer library.
  70. There are bindings to libcurl for over 20
  71. languages 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. </reply>
  167. #
  168. # Client-side
  169. <client>
  170. <features>
  171. libz
  172. </features>
  173. <server>
  174. http
  175. </server>
  176. <name>
  177. HTTP GET with both content and transfer encoding
  178. </name>
  179. <command>
  180. http://%HOSTIP:%HTTPPORT/%TESTNUMBER --tr-encoding --compressed
  181. </command>
  182. </client>
  183. #
  184. # Verify data after the test has been "shot"
  185. <verify>
  186. <strippart>
  187. s/^Accept-Encoding: [a-zA-Z, ]*/Accept-Encoding: xxx/
  188. </strippart>
  189. <protocol>
  190. GET /%TESTNUMBER HTTP/1.1
  191. Host: %HOSTIP:%HTTPPORT
  192. User-Agent: curl/%VERSION
  193. Accept: */*
  194. Connection: TE
  195. TE: gzip
  196. Accept-Encoding: xxx
  197. </protocol>
  198. </verify>
  199. </testcase>