test1092 790 B

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