Annotation of embedaddon/curl/tests/data/test299, revision 1.1
1.1 ! misho 1: <testcase>
! 2: <info>
! 3: <keywords>
! 4: FTP
! 5: HTTP
! 6: CURLOPT_USERPWD
! 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: FTP over HTTP proxy with user:pass not in url
! 34: </name>
! 35: <command>
! 36: -x http://%HOSTIP:%HTTPPORT -u michal:aybabtu ftp://host.com/we/want/299
! 37: </command>
! 38: </client>
! 39:
! 40: # Verify data after the test has been "shot"
! 41: <verify>
! 42: <strip>
! 43: ^User-Agent:.*
! 44: </strip>
! 45: <protocol>
! 46: GET ftp://michal:aybabtu@host.com/we/want/299 HTTP/1.1
! 47: Host: host.com:21
! 48: Authorization: Basic bWljaGFsOmF5YmFidHU=
! 49: Accept: */*
! 50: Proxy-Connection: Keep-Alive
! 51:
! 52: </protocol>
! 53: </verify>
! 54: </testcase>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>