Annotation of embedaddon/curl/tests/data/test331, revision 1.1
1.1 ! misho 1: <testcase>
! 2: <info>
! 3: <keywords>
! 4: HTTP
! 5: HTTP GET
! 6: cookies
! 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: Content-Type: text/html
! 17: Content-Length: 4
! 18: Set-Cookie: moo=yes;
! 19:
! 20: hej
! 21: </data>
! 22: <data2>
! 23: HTTP/1.1 200 OK
! 24: Date: Thu, 09 Nov 2010 14:49:00 GMT
! 25: Server: test-server/fake
! 26: Content-Type: text/html
! 27: Content-Length: 0
! 28: Funny-head: yesyes swsclose
! 29:
! 30: </data2>
! 31: </reply>
! 32:
! 33: # Client-side
! 34: <client>
! 35: <server>
! 36: http
! 37: </server>
! 38: <name>
! 39: HTTP with cookie using host name 'moo'
! 40: </name>
! 41: <command>
! 42: -x http://%HOSTIP:%HTTPPORT http://moo/we/want/331 -b none http://moo/we/want/3310002
! 43: </command>
! 44: <features>
! 45: proxy
! 46: </features>
! 47: </client>
! 48:
! 49: # Verify data after the test has been "shot"
! 50: <verify>
! 51: <strip>
! 52: ^User-Agent:.*
! 53: </strip>
! 54: <protocol>
! 55: GET http://moo/we/want/331 HTTP/1.1
! 56: Host: moo
! 57: Accept: */*
! 58: Proxy-Connection: Keep-Alive
! 59:
! 60: GET http://moo/we/want/3310002 HTTP/1.1
! 61: Host: moo
! 62: Accept: */*
! 63: Proxy-Connection: Keep-Alive
! 64: Cookie: moo=yes
! 65:
! 66: </protocol>
! 67: </verify>
! 68: </testcase>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>