test79 640 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. #
  2. # Server-side
  3. <reply>
  4. <data>
  5. HTTP/1.1 200 OK
  6. Date: Thu, 09 Nov 2010 14:49:00 GMT
  7. Server: test-server/fake swsclose
  8. Content-Type: text/html
  9. Funny-head: yesyes
  10. contents
  11. </data>
  12. </reply>
  13. #
  14. # Client-side
  15. <client>
  16. <server>
  17. http
  18. </server>
  19. <name>
  20. FTP over HTTP proxy
  21. </name>
  22. <command>
  23. ftp://%HOSTIP:%HOSTPORT/we/want/that/page/79 -x %HOSTIP:%HOSTPORT
  24. </command>
  25. </test>
  26. #
  27. # Verify data after the test has been "shot"
  28. <verify>
  29. <strip>
  30. ^User-Agent:.*
  31. </strip>
  32. <protocol>
  33. GET ftp://127.0.0.1:8999/we/want/that/page/79 HTTP/1.1
  34. Host: 127.0.0.1:8999
  35. Pragma: no-cache
  36. Accept: */*
  37. </protocol>
  38. </verify>