test26 657 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <testcase>
  2. <info>
  3. <keywords>
  4. HTTP
  5. HTTP GET
  6. </keywords>
  7. </info>
  8. # Server-side
  9. <reply>
  10. <data>
  11. HTTP/1.0 200 Mooo swsclose
  12. Server: test-server/fake
  13. Connection: close
  14. *flopp*
  15. </data>
  16. </reply>
  17. # Client-side
  18. <client>
  19. <server>
  20. http
  21. </server>
  22. <name>
  23. specify more -o than URLs
  24. </name>
  25. <command>
  26. http://%HOSTIP:%HTTPPORT/want/26 -o - -o -
  27. </command>
  28. </client>
  29. # Verify data after the test has been "shot"
  30. <verify>
  31. <strip>
  32. ^User-Agent: curl.*
  33. </strip>
  34. <protocol>
  35. GET /want/26 HTTP/1.1
  36. User-Agent: curl/7.8.1-pre3 (sparc-sun-solaris2.7) libcurl 7.8.1-pre3 (OpenSSL 0.9.6a) (krb4 enabled)
  37. Host: %HOSTIP:%HTTPPORT
  38. Accept: */*
  39. </protocol>
  40. </verify>
  41. </testcase>