test24 706 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. # Server-side
  2. <reply>
  3. <data nocheck=1>
  4. HTTP/1.0 404 BAD BOY
  5. Content-Type: text/html
  6. This silly page doesn't reaaaaaly exist so you should not get it.
  7. </data>
  8. </reply>
  9. # Client-side
  10. <client>
  11. <server>
  12. http
  13. </server>
  14. <name>
  15. HTTP GET fail silently on HTTP error return
  16. </name>
  17. <command>
  18. http://%HOSTIP:%HOSTPORT/24 --fail
  19. </command>
  20. </test>
  21. # Verify data after the test has been "shot"
  22. <verify>
  23. <strip>
  24. ^User-Agent: curl/.*
  25. </strip>
  26. <protocol>
  27. GET /24 HTTP/1.1
  28. User-Agent: curl/7.8.1-pre3 (sparc-sun-solaris2.7) libcurl 7.8.1-pre3 (OpenSSL 0.9.6a) (krb4 enabled)
  29. Host: 127.0.0.1:8999
  30. Pragma: no-cache
  31. Accept: */*
  32. </protocol>
  33. <errorcode>
  34. 22
  35. </errorcode>
  36. </verify>