test1144 775 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  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. # hyper doesn't support HTTP/0.9
  32. <features>
  33. !hyper
  34. </features>
  35. <server>
  36. http
  37. </server>
  38. <name>
  39. HTTP HEAD, receive no headers only body
  40. </name>
  41. <command>
  42. -I http://%HOSTIP:%HTTPPORT/%TESTNUMBER --http0.9
  43. </command>
  44. </client>
  45. #
  46. # Verify data after the test has been "shot"
  47. <verify>
  48. <protocol>
  49. HEAD /%TESTNUMBER HTTP/1.1
  50. Host: %HOSTIP:%HTTPPORT
  51. User-Agent: curl/%VERSION
  52. Accept: */*
  53. </protocol>
  54. <errorcode>
  55. 8
  56. </errorcode>
  57. </verify>
  58. </testcase>