test373 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. <testcase>
  2. <info>
  3. <keywords>
  4. HTTP
  5. HTTP GET
  6. chunked transfer encoding
  7. </keywords>
  8. </info>
  9. <reply>
  10. <data>
  11. HTTP/1.1 200 OK
  12. Date: Thu, 22 Jul 2010 11:22:33 GMT
  13. Connection: close
  14. Content-Type: text/html
  15. Transfer-Encoding: chunked
  16. X-Control: swsclose
  17. 100
  18. %repeat[255 x %00]%
  19. 100
  20. %repeat[255 x %00]%
  21. 100
  22. %repeat[255 x %00]%
  23. 100
  24. %repeat[255 x %00]%
  25. 0
  26. </data>
  27. <datacheck>
  28. HTTP/1.1 200 OK
  29. Date: Thu, 22 Jul 2010 11:22:33 GMT
  30. Connection: close
  31. Content-Type: text/html
  32. Transfer-Encoding: chunked
  33. X-Control: swsclose
  34. %repeat[255 x %00]%
  35. %repeat[255 x %00]%
  36. %repeat[255 x %00]%
  37. %repeat[255 x %00]%
  38. </datacheck>
  39. </reply>
  40. <client>
  41. <server>
  42. http
  43. </server>
  44. <name>
  45. Chunked transfer encoding - Multiple valid chunks with binary zeros.
  46. </name>
  47. <features>
  48. proxy
  49. </features>
  50. <command>
  51. http://%HOSTIP:%HTTPPORT/chunked-transfer-encoding/%TESTNUMBER
  52. </command>
  53. </client>
  54. <verify>
  55. <protocol>
  56. GET /chunked-transfer-encoding/%TESTNUMBER HTTP/1.1
  57. Host: %HOSTIP:%HTTPPORT
  58. User-Agent: curl/%VERSION
  59. Accept: */*
  60. </protocol>
  61. <errorcode>
  62. 0
  63. </errorcode>
  64. </verify>
  65. </testcase>