test1416 897 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. <testcase>
  2. <info>
  3. <keywords>
  4. HTTP
  5. HTTP GET
  6. chunked Transfer-Encoding
  7. </keywords>
  8. </info>
  9. #
  10. # Server-side
  11. <reply>
  12. <data nocheck="yes">
  13. HTTP/1.1 200 funky chunky!
  14. Server: fakeit/0.9 fakeitbad/1.0
  15. Transfer-Encoding: chunked
  16. Connection: mooo
  17. 12345678123456789
  18. aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
  19. 30
  20. bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
  21. 21;heresatest=moooo
  22. cccccccccccccccccccccccccccccccc
  23. 0
  24. </data>
  25. </reply>
  26. #
  27. # Client-side
  28. <client>
  29. <server>
  30. http
  31. </server>
  32. <name>
  33. HTTP GET with chunked Transfer-Encoding overflowed chunked size
  34. </name>
  35. <command>
  36. http://%HOSTIP:%HTTPPORT/1416
  37. </command>
  38. </client>
  39. #
  40. # Verify data after the test has been "shot"
  41. <verify>
  42. <strip>
  43. ^User-Agent:.*
  44. </strip>
  45. <protocol>
  46. GET /1416 HTTP/1.1
  47. Host: %HOSTIP:%HTTPPORT
  48. Accept: */*
  49. </protocol>
  50. # 56 = CURLE_RECV_ERROR
  51. <errorcode>
  52. 56
  53. </errorcode>
  54. </verify>
  55. </testcase>