Return to test79 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 ! 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: Thu, 09 Nov 2010 14:49:00 GMT ! 16: Server: test-server/fake swsclose ! 17: Content-Type: text/html ! 18: Funny-head: yesyes ! 19: ! 20: contents ! 21: </data> ! 22: </reply> ! 23: ! 24: # ! 25: # Client-side ! 26: <client> ! 27: <server> ! 28: http ! 29: </server> ! 30: <features> ! 31: ftp ! 32: proxy ! 33: </features> ! 34: <name> ! 35: FTP over HTTP proxy ! 36: </name> ! 37: <command> ! 38: ftp://%HOSTIP:%HTTPPORT/we/want/that/page/79 -x %HOSTIP:%HTTPPORT ! 39: </command> ! 40: </client> ! 41: ! 42: # ! 43: # Verify data after the test has been "shot" ! 44: <verify> ! 45: <strip> ! 46: ^User-Agent:.* ! 47: </strip> ! 48: <protocol> ! 49: GET ftp://%HOSTIP:%HTTPPORT/we/want/that/page/79 HTTP/1.1 ! 50: Host: %HOSTIP:%HTTPPORT ! 51: Accept: */* ! 52: Proxy-Connection: Keep-Alive ! 53: ! 54: </protocol> ! 55: </verify> ! 56: </testcase>