Annotation of embedaddon/curl/tests/data/test717, revision 1.1
1.1 ! misho 1: <testcase>
! 2: <info>
! 3: <keywords>
! 4: HTTP
! 5: SOCKS5
! 6: all_proxy
! 7: </keywords>
! 8: </info>
! 9: #
! 10: # Server-side
! 11: <reply>
! 12: <data>
! 13: HTTP/1.1 200 OK
! 14: Date: Thu, 09 Nov 2010 14:49:00 GMT
! 15: Server: test-server/fake
! 16: Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT
! 17: ETag: "21025-dc7-39462498"
! 18: Accept-Ranges: bytes
! 19: Content-Length: 6
! 20: Connection: close
! 21: Content-Type: text/html
! 22: Funny-head: yesyes
! 23:
! 24: -foo-
! 25: </data>
! 26: # method 2 is SOCKS5 asking for user+password
! 27: <servercmd>
! 28: method 2
! 29: user uz3r
! 30: password p4ssworm
! 31: backendport %HTTPPORT
! 32: </servercmd>
! 33: </reply>
! 34:
! 35: #
! 36: # Client-side
! 37: <client>
! 38: <server>
! 39: socks5
! 40: http
! 41: </server>
! 42: <name>
! 43: SOCKS5 proxy auth
! 44: </name>
! 45:
! 46: # target a port that won't work without the SOCKS magic
! 47: <command>
! 48: http://%HOSTIP:1/717 -x socks5://uz3r:p4ssworm@%HOSTIP:%SOCKSPORT
! 49: </command>
! 50: <features>
! 51: proxy
! 52: </features>
! 53: </client>
! 54:
! 55: #
! 56: # Verify data after the test has been "shot"
! 57: <verify>
! 58: <strip>
! 59: ^User-Agent:.*
! 60: </strip>
! 61: <protocol>
! 62: GET /717 HTTP/1.1
! 63: Host: %HOSTIP:1
! 64: Accept: */*
! 65:
! 66: </protocol>
! 67: </verify>
! 68: </testcase>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>