Return to test1092 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: 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: ! 21: contents ! 22: </data> ! 23: </reply> ! 24: ! 25: # ! 26: # Client-side ! 27: <client> ! 28: <server> ! 29: http ! 30: </server> ! 31: <features> ! 32: ftp ! 33: proxy ! 34: </features> ! 35: <name> ! 36: FTP with type=i over HTTP proxy ! 37: </name> ! 38: <command> ! 39: "ftp://%HOSTIP:%HTTPPORT/we/want/that/page/1092;type=i" --use-ascii -x %HOSTIP:%HTTPPORT ! 40: </command> ! 41: </client> ! 42: ! 43: # ! 44: # Verify data after the test has been "shot" ! 45: <verify> ! 46: <strip> ! 47: ^User-Agent:.* ! 48: </strip> ! 49: <protocol> ! 50: GET ftp://%HOSTIP:%HTTPPORT/we/want/that/page/1092;type=i HTTP/1.1 ! 51: Host: %HOSTIP:%HTTPPORT ! 52: Accept: */* ! 53: Proxy-Connection: Keep-Alive ! 54: ! 55: </protocol> ! 56: </verify> ! 57: </testcase>