test1144 702 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. <testcase>
  2. <info>
  3. <keywords>
  4. HTTP
  5. HTTP HEAD
  6. HTTP/0.9
  7. </keywords>
  8. </info>
  9. #
  10. # Server-side
  11. <reply>
  12. <data>
  13. No headers at all, just data swsclose
  14. Let's get
  15. a little
  16. so that
  17. we
  18. have
  19. some
  20. test
  21. data to
  22. verify
  23. </data>
  24. # make sure no data is written
  25. <datacheck nonewline="yes">
  26. </datacheck>
  27. </reply>
  28. #
  29. # Client-side
  30. <client>
  31. <server>
  32. http
  33. </server>
  34. <name>
  35. HTTP HEAD, receive no headers only body
  36. </name>
  37. <command>
  38. -I http://%HOSTIP:%HTTPPORT/1144 --http0.9
  39. </command>
  40. </client>
  41. #
  42. # Verify data after the test has been "shot"
  43. <verify>
  44. <strip>
  45. ^User-Agent:.*
  46. </strip>
  47. <protocol>
  48. HEAD /1144 HTTP/1.1
  49. Host: %HOSTIP:%HTTPPORT
  50. Accept: */*
  51. </protocol>
  52. <errorcode>
  53. 8
  54. </errorcode>
  55. </verify>
  56. </testcase>