Annotation of embedaddon/curl/tests/data/test208, revision 1.1
1.1 ! misho 1: <testcase>
! 2: <info>
! 3: <keywords>
! 4: FTP
! 5: HTTP
! 6: HTTP PUT
! 7: HTTP proxy
! 8: </keywords>
! 9: </info>
! 10:
! 11: # Server-side
! 12: <reply>
! 13: <data>
! 14: HTTP/1.0 200 OK swsclose
! 15: Date: Thu, 09 Nov 2010 14:49:00 GMT
! 16: Server: test-server/fake
! 17:
! 18: blablabla
! 19:
! 20: </data>
! 21: </reply>
! 22:
! 23: # Client-side
! 24: <client>
! 25: <server>
! 26: http
! 27: </server>
! 28: <features>
! 29: ftp
! 30: proxy
! 31: </features>
! 32: <name>
! 33: HTTP PUT to a FTP URL with username+password - over HTTP proxy
! 34: </name>
! 35: <command>
! 36: -x http://%HOSTIP:%HTTPPORT ftp://daniel:mysecret@host.com/we/want/208 -T log/test208.txt
! 37: </command>
! 38: <file name="log/test208.txt">
! 39: Weird
! 40: file
! 41: to
! 42: upload
! 43: for
! 44: testing
! 45: the
! 46: PUT
! 47: feature
! 48: </file>
! 49: </client>
! 50:
! 51: # Verify data after the test has been "shot"
! 52: <verify>
! 53: <strip>
! 54: ^User-Agent:.*
! 55: </strip>
! 56: <protocol>
! 57: PUT ftp://daniel:mysecret@host.com/we/want/208 HTTP/1.1
! 58: Host: host.com:21
! 59: Authorization: Basic ZGFuaWVsOm15c2VjcmV0
! 60: Accept: */*
! 61: Proxy-Connection: Keep-Alive
! 62: Content-Length: 78
! 63: Expect: 100-continue
! 64:
! 65: Weird
! 66: file
! 67: to
! 68: upload
! 69: for
! 70: testing
! 71: the
! 72: PUT
! 73: feature
! 74: </protocol>
! 75: </verify>
! 76: </testcase>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>