test301 686 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. #
  2. # Server-side
  3. <reply>
  4. <data>
  5. HTTP/1.1 200 OK swsclose
  6. Date: Thu, 09 Nov 2010 14:49:00 GMT
  7. Server: test-server/fake
  8. Content-Type: text/html
  9. Funny-head: yesyes
  10. </data>
  11. </reply>
  12. #
  13. # Client-side
  14. <client>
  15. <server>
  16. https
  17. </server>
  18. <name>
  19. HTTPS GET with user and password
  20. </name>
  21. <command>
  22. -k -u fake:user https://%HOSTIP:%HTTPSPORT/301
  23. </command>
  24. </test>
  25. #
  26. # Verify data after the test has been "shot"
  27. <verify>
  28. <strip>
  29. ^User-Agent:.*
  30. </strip>
  31. <protocol>
  32. GET /301 HTTP/1.1
  33. Authorization: Basic ZmFrZTp1c2Vy
  34. Host: 127.0.0.1:8433
  35. Pragma: no-cache
  36. Accept: */*
  37. </protocol>
  38. <data>
  39. [insert full protocol verifiction dump here]
  40. </data>
  41. </verify>