123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- <testcase>
- <info>
- <keywords>
- FTP
- --proto-default
- </keywords>
- </info>
- #
- # Server-side
- <reply>
- <servercmd>
- REPLY welcome HTTP/1.1 200 OK\r\nContent-Length: 21\r\n\r\n500 Weird FTP Reply
- </servercmd>
- </reply>
- #
- # Client-side
- <client>
- <features>
- none
- </features>
- <server>
- ftp
- </server>
- <name>
- Set the default protocol to ftp for a schemeless URL
- </name>
- <command>
- -H "User-Agent:" -H "Host:" -H "Accept:" --proto-default ftp %HOSTIP:%FTPPORT
- </command>
- </client>
- #
- # Verify data after the test has been "shot"
- <verify>
- # CURLE_WEIRD_SERVER_REPLY is error code 8
- <errorcode>
- 8
- </errorcode>
- </verify>
- </testcase>
|