test1174 571 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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/%TESTNUMBER
  28. </command>
  29. </client>
  30. #
  31. # Verify data after the test has been "shot"
  32. <verify>
  33. <protocol>
  34. GET /%TESTNUMBER HTTP/1.1
  35. Host: %HOSTIP:%HTTPPORT
  36. User-Agent: curl/%VERSION
  37. Accept: */*
  38. </protocol>
  39. # unsupported protocol
  40. <errorcode>
  41. 1
  42. </errorcode>
  43. </verify>
  44. </testcase>