test1144 687 B

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