test54 549 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. # Server-side
  2. <reply>
  3. <data>
  4. HTTP/1.1 302 This is a weirdo text message swsclose
  5. Connection: close
  6. Location:
  7. This server reply is for testing
  8. </data>
  9. </reply>
  10. # Client-side
  11. <client>
  12. <server>
  13. http
  14. </server>
  15. <name>
  16. HTTP with blank Location:
  17. </name>
  18. <command>
  19. http://%HOSTIP:%HOSTPORT/want/54 -L
  20. </command>
  21. </test>
  22. # Verify data after the test has been "shot"
  23. <verify>
  24. <strip>
  25. ^User-Agent:.*
  26. </strip>
  27. <protocol>
  28. GET /want/54 HTTP/1.1
  29. Host: 127.0.0.1:8999
  30. Pragma: no-cache
  31. Accept: */*
  32. </protocol>
  33. </verify>