test79 753 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <testcase>
  2. <info>
  3. <keywords>
  4. FTP
  5. HTTP
  6. HTTP GET
  7. HTTP proxy
  8. </keywords>
  9. </info>
  10. #
  11. # Server-side
  12. <reply>
  13. <data>
  14. HTTP/1.0 200 OK
  15. Date: Tue, 09 Nov 2010 14:49:00 GMT
  16. Server: test-server/fake swsclose
  17. Content-Type: text/html
  18. Funny-head: yesyes
  19. contents
  20. </data>
  21. </reply>
  22. #
  23. # Client-side
  24. <client>
  25. <server>
  26. http
  27. </server>
  28. <features>
  29. ftp
  30. proxy
  31. </features>
  32. <name>
  33. FTP over HTTP proxy
  34. </name>
  35. <command>
  36. ftp://%HOSTIP:%HTTPPORT/we/want/that/page/%TESTNUMBER -x %HOSTIP:%HTTPPORT
  37. </command>
  38. </client>
  39. #
  40. # Verify data after the test has been "shot"
  41. <verify>
  42. <protocol>
  43. GET ftp://%HOSTIP:%HTTPPORT/we/want/that/page/%TESTNUMBER HTTP/1.1
  44. Host: %HOSTIP:%HTTPPORT
  45. User-Agent: curl/%VERSION
  46. Accept: */*
  47. Proxy-Connection: Keep-Alive
  48. </protocol>
  49. </verify>
  50. </testcase>