test14 542 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <testcase>
  2. <info>
  3. <keywords>
  4. HTTP
  5. HTTP HEAD
  6. </keywords>
  7. </info>
  8. # Server-side
  9. <reply>
  10. <data>
  11. HTTP/1.1 200 OK
  12. Server: thebest/1.0
  13. Connection: close
  14. </data>
  15. </reply>
  16. # Client-side
  17. <client>
  18. <server>
  19. http
  20. </server>
  21. <name>
  22. HTTP HEAD with Connection: close
  23. </name>
  24. <command>
  25. http://%HOSTIP:%HTTPPORT/want/%TESTNUMBER -i --head
  26. </command>
  27. </client>
  28. # Verify data after the test has been "shot"
  29. <verify>
  30. <protocol>
  31. HEAD /want/%TESTNUMBER HTTP/1.1
  32. Host: %HOSTIP:%HTTPPORT
  33. User-Agent: curl/%VERSION
  34. Accept: */*
  35. </protocol>
  36. </verify>
  37. </testcase>