test14 573 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. # Server-side
  2. <reply>
  3. <data>
  4. HTTP/1.1 200 OK
  5. Server: thebest/1.0
  6. Connection: close
  7. </data>
  8. </reply>
  9. # Client-side
  10. <client>
  11. <server>
  12. http
  13. </server>
  14. <name>
  15. HTTP HEAD with Connection: close
  16. </name>
  17. <command>
  18. http://%HOSTIP:%HOSTPORT/want/14 -i --head
  19. </command>
  20. </test>
  21. # Verify data after the test has been "shot"
  22. <verify>
  23. <strip>
  24. ^User-Agent:.*
  25. </strip>
  26. <protocol>
  27. HEAD /want/14 HTTP/1.1
  28. User-Agent: curl/7.4.2-pre4 (sparc-sun-solaris2.7) libcurl 7.4.2-pre4
  29. Host: 127.0.0.1:8999
  30. Pragma: no-cache
  31. Accept: */*
  32. </protocol>
  33. </verify>