test1174 561 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. <testcase>
  2. <info>
  3. <keywords>
  4. HTTP
  5. HTTP/0.9
  6. </keywords>
  7. </info>
  8. #
  9. # Server-side
  10. <reply>
  11. <data>
  12. -foo- swsclose
  13. </data>
  14. <datacheck>
  15. </datacheck>
  16. </reply>
  17. #
  18. # Client-side
  19. <client>
  20. <server>
  21. http
  22. </server>
  23. <name>
  24. HTTP/0.9 GET response denied by default
  25. </name>
  26. <command>
  27. http://%HOSTIP:%HTTPPORT/1174
  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 /1174 HTTP/1.1
  38. Host: %HOSTIP:%HTTPPORT
  39. Accept: */*
  40. </protocol>
  41. # unsupported protocol
  42. <errorcode>
  43. 1
  44. </errorcode>
  45. </verify>
  46. </testcase>