test1266 512 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <testcase>
  2. <info>
  3. <keywords>
  4. HTTP/0.9
  5. </keywords>
  6. </info>
  7. #
  8. # Server-side
  9. <reply>
  10. <data>
  11. o
  12. </data>
  13. <servercmd>
  14. swsclose
  15. </servercmd>
  16. </reply>
  17. #
  18. # Client-side
  19. <client>
  20. <server>
  21. http
  22. </server>
  23. <name>
  24. HTTP GET with a single-byte HTTP/0.9 response
  25. </name>
  26. <command>
  27. http://%HOSTIP:%HTTPPORT/1266
  28. </command>
  29. </client>
  30. #
  31. # Verify data after the test has been "shot"
  32. <verify>
  33. <strip>
  34. ^User-Agent:.*
  35. </strip>
  36. <protocol>
  37. GET /1266 HTTP/1.1
  38. Host: %HOSTIP:%HTTPPORT
  39. Accept: */*
  40. </protocol>
  41. </verify>
  42. </testcase>