17 HTTP/1.1 301 OK swsclose
\r
18 Date: Thu, 09 Nov 2010 14:49:00 GMT
\r
19 Server: test-server/fake
\r
21 Location: ftp://127.0.0.1:8992/1245
\r
35 --proto deny must override --proto-redir allow
38 --location --proto +all,-ftp --proto-redir -all,+ftp http://%HOSTIP:%HTTPPORT/1245
40 # The data section doesn't do variable substitution, so we must assert this
42 perl -e "print 'Test requires default test server host and port' if ( '%HOSTIP' ne '127.0.0.1' || '%FTPPORT' ne '8992' );"
47 # Verify data after the test has been "shot"
54 Host: %HOSTIP:%HTTPPORT
\r
58 # 1 - Protocol ftp not supported or disabled in libcurl