test319 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. <testcase>
  2. <info>
  3. <keywords>
  4. HTTP
  5. HTTP GET
  6. compressed
  7. Transfer-Encoding
  8. </keywords>
  9. </info>
  10. #
  11. # Server-side
  12. <reply>
  13. <data base64="yes">
  14. SFRUUC8xLjEgMjAwIE9LIHN3c2Nsb3NlDQpEYXRlOiBNb24sIDI5IE5vdiAyMDA0IDIxOjU2OjUz
  15. IEdNVA0KU2VydmVyOiBBcGFjaGUvMS4zLjMxIChEZWJpYW4gR05VL0xpbnV4KSBtb2RfZ3ppcC8x
  16. LjMuMjYuMWEgUEhQLzQuMy45LTEgbW9kX3NzbC8yLjguMjAgT3BlblNTTC8wLjkuN2QgbW9kX3Bl
  17. cmwvMS4yOQ0KQ29udGVudC1UeXBlOiB0ZXh0L2h0bWw7IGNoYXJzZXQ9SVNPLTg4NTktMQ0KVHJh
  18. bnNmZXItRW5jb2Rpbmc6IGd6aXANCkNvbnRlbnQtTGVuZ3RoOiA0NA0KDQofiwgIeZ6rQQADbGFs
  19. YWxhAMvJzEtVMORSyAHRRlwKEIYxFwAKAnFgGAAAAA==
  20. </data>
  21. <datacheck base64="yes">
  22. H4sICHmeq0EAA2xhbGFsYQDLycxLVTDkUsgB0UZcChCGMRcACgJxYBgAAAA=
  23. </datacheck>
  24. </reply>
  25. #
  26. # Client-side
  27. <client>
  28. <features>
  29. libz
  30. </features>
  31. <server>
  32. http
  33. </server>
  34. <name>
  35. HTTP GET gzip transfer-encoded data in raw mode
  36. </name>
  37. <command option="no-include">
  38. http://%HOSTIP:%HTTPPORT/%TESTNUMBER --raw
  39. </command>
  40. </client>
  41. #
  42. # Verify data after the test has been "shot"
  43. <verify>
  44. <protocol>
  45. GET /%TESTNUMBER HTTP/1.1
  46. Host: %HOSTIP:%HTTPPORT
  47. User-Agent: curl/%VERSION
  48. Accept: */*
  49. </protocol>
  50. </verify>
  51. </testcase>