Annotation of embedaddon/curl/tests/data/test1509, revision 1.1
1.1 ! misho 1: <testcase>
! 2: <info>
! 3: <keywords>
! 4: HTTP
! 5: HTTP GET
! 6: HTTP CONNECT
! 7: HTTP proxy
! 8: proxytunnel
! 9: </keywords>
! 10: </info>
! 11:
! 12: # Server-side
! 13: <reply>
! 14: <servercmd>
! 15: connection-monitor
! 16: </servercmd>
! 17: <connect>
! 18: HTTP/1.1 200 Mighty fine indeed
! 19: Server: the beast that eats naughty clients
! 20:
! 21: </connect>
! 22:
! 23: <data>
! 24: HTTP/1.1 200 OK swsclose
! 25: Date: Thu, 09 Nov 2010 14:49:00 GMT
! 26: Server: test-server/fake
! 27: Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT
! 28: ETag: "21025-dc7-39462498"
! 29:
! 30: </data>
! 31: <datacheck>
! 32: HTTP/1.1 200 Mighty fine indeed
! 33: Server: the beast that eats naughty clients
! 34:
! 35: HTTP/1.1 200 OK swsclose
! 36: Date: Thu, 09 Nov 2010 14:49:00 GMT
! 37: Server: test-server/fake
! 38: Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT
! 39: ETag: "21025-dc7-39462498"
! 40:
! 41: header length is ........: 245
! 42: header length should be..: 245
! 43: </datacheck>
! 44: </reply>
! 45:
! 46: # Client-side
! 47: <client>
! 48: <server>
! 49: http
! 50: http-proxy
! 51: </server>
! 52: # tool is what to use instead of 'curl'
! 53: <tool>
! 54: lib1509
! 55: </tool>
! 56: <features>
! 57: proxy
! 58: </features>
! 59: <name>
! 60: simple multi http:// through proxytunnel with authentication info
! 61: </name>
! 62: <command>
! 63: http://the.old.moo.1509:%HTTPPORT/1509 %HOSTIP:%PROXYPORT
! 64: </command>
! 65: <file name="log/test1509.txt">
! 66: foo
! 67: bar
! 68: bar
! 69: foo
! 70: moo
! 71: </file>
! 72: </client>
! 73:
! 74: # Verify data after the test has been "shot"
! 75: <verify>
! 76: <proxy>
! 77: CONNECT the.old.moo.1509:%HTTPPORT HTTP/1.1
! 78: Host: the.old.moo.1509:%HTTPPORT
! 79: Proxy-Connection: Keep-Alive
! 80:
! 81: </proxy>
! 82: <protocol>
! 83: GET /1509 HTTP/1.1
! 84: Host: the.old.moo.1509:%HTTPPORT
! 85: Accept: */*
! 86:
! 87: [DISCONNECT]
! 88: </protocol>
! 89: </verify>
! 90: </testcase>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>