test1267 600 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <testcase>
  2. <info>
  3. <keywords>
  4. HTTP/0.9
  5. </keywords>
  6. </info>
  7. #
  8. # Server-side
  9. <reply>
  10. <data>
  11. HTTPr
  12. </data>
  13. <servercmd>
  14. swsclose
  15. </servercmd>
  16. </reply>
  17. #
  18. # Client-side
  19. <client>
  20. # hyper doesn't grok HTTP/0.9
  21. <features>
  22. !hyper
  23. </features>
  24. <server>
  25. http
  26. </server>
  27. <name>
  28. HTTP GET with a invalid HTTP/1 response line start
  29. </name>
  30. <command>
  31. http://%HOSTIP:%HTTPPORT/%TESTNUMBER --http0.9
  32. </command>
  33. </client>
  34. #
  35. # Verify data after the test has been "shot"
  36. <verify>
  37. <protocol>
  38. GET /%TESTNUMBER HTTP/1.1
  39. Host: %HOSTIP:%HTTPPORT
  40. User-Agent: curl/%VERSION
  41. Accept: */*
  42. </protocol>
  43. </verify>
  44. </testcase>