test36 790 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. #
  2. # Server-side
  3. <reply>
  4. <data>
  5. HTTP/1.1 200 funky chunky!
  6. Server: fakeit/0.9 fakeitbad/1.0
  7. Transfer-Encoding: chunked
  8. Connection: mooo
  9. 2
  10. a
  11. ILLEGAL
  12. bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
  13. </data>
  14. <datacheck>
  15. HTTP/1.1 200 funky chunky!
  16. Server: fakeit/0.9 fakeitbad/1.0
  17. Transfer-Encoding: chunked
  18. Connection: mooo
  19. a
  20. </datacheck>
  21. </reply>
  22. #
  23. # Client-side
  24. <client>
  25. <server>
  26. http
  27. </server>
  28. <name>
  29. HTTP GET with bad chunked Transfer-Encoding
  30. </name>
  31. <command>
  32. http://%HOSTIP:%HOSTPORT/36
  33. </command>
  34. </test>
  35. #
  36. # Verify data after the test has been "shot"
  37. <verify>
  38. <errorcode>
  39. 56
  40. </errocode>
  41. <strip>
  42. ^User-Agent:.*
  43. </strip>
  44. <protocol>
  45. GET /36 HTTP/1.1
  46. Host: 127.0.0.1:8999
  47. Pragma: no-cache
  48. Accept: */*
  49. </protocol>
  50. </verify>