Return to test550 CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / curl / tests / data |
1.1 ! misho 1: <testcase> ! 2: <info> ! 3: <keywords> ! 4: FTP ! 5: HTTP proxy ! 6: CURLOPT_PROXY_TRANSFER_MODE ! 7: CURLOPT_PROXY ! 8: </keywords> ! 9: </info> ! 10: ! 11: # ! 12: # Server-side ! 13: <reply> ! 14: <data nocheck="yes"> ! 15: HTTP/1.1 200 OK swsclose ! 16: Date: Thu, 09 Nov 2010 14:49:00 GMT ! 17: Server: test-server/fake ! 18: Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT ! 19: ETag: "21025-dc7-39462498" ! 20: Accept-Ranges: bytes ! 21: Content-Length: 6 ! 22: ! 23: hello ! 24: </data> ! 25: </reply> ! 26: ! 27: # ! 28: # Client-side ! 29: <client> ! 30: <server> ! 31: http ! 32: </server> ! 33: <features> ! 34: ftp ! 35: proxy ! 36: </features> ! 37: <tool> ! 38: lib549 ! 39: </tool> ! 40: <name> ! 41: FTP RETR over proxy with CURLOPT_PROXY_TRANSFER_MODE and ASCII transfer ! 42: </name> ! 43: # first URL then proxy ! 44: <command> ! 45: ftp://www.example.com/moo/550 http://%HOSTIP:%HTTPPORT ascii ! 46: </command> ! 47: </client> ! 48: ! 49: # ! 50: # Verify data after the test has been "shot" ! 51: <verify> ! 52: <strip> ! 53: ^User-Agent:.* ! 54: </strip> ! 55: <protocol> ! 56: GET ftp://www.example.com/moo/550;type=a HTTP/1.1 ! 57: Host: www.example.com:21 ! 58: Accept: */* ! 59: Proxy-Connection: Keep-Alive ! 60: ! 61: </protocol> ! 62: <stdout> ! 63: hello ! 64: </stdout> ! 65: </verify> ! 66: </testcase>