test93 623 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. #
  2. # Server-side
  3. <reply>
  4. <data>
  5. HTTP/1.1 407 Needs proxy authentication
  6. Server: test-server/fake swsclose yesyes
  7. Proxy-Authenticate: Basic "oh please"
  8. Connection: close
  9. bing
  10. </data>
  11. </reply>
  12. #
  13. # Client-side
  14. <client>
  15. <server>
  16. http
  17. </server>
  18. <name>
  19. HTTP GET with failed proxy auth
  20. </name>
  21. <command>
  22. http://%HOSTIP:%HOSTPORT/93 -x %HOSTIP:%HOSTPORT
  23. </command>
  24. </client>
  25. #
  26. # Verify data after the test has been "shot"
  27. <verify>
  28. <strip>
  29. ^User-Agent:.*
  30. </strip>
  31. <protocol>
  32. GET http://127.0.0.1:8999/93 HTTP/1.1
  33. Host: 127.0.0.1:8999
  34. Pragma: no-cache
  35. Accept: */*
  36. </protocol>
  37. </verify>