Annotation of embedaddon/curl/tests/data/test1563, revision 1.1
1.1 ! misho 1: <testcase>
! 2: <info>
! 3: <keywords>
! 4: GOPHER
! 5: HTTP GET
! 6: followlocation
! 7: </keywords>
! 8: </info>
! 9:
! 10: # Server-side
! 11: <reply>
! 12: <data1>
! 13: HTTP/1.1 302 OK
! 14: Date: Thu, 09 Nov 2010 14:49:00 GMT
! 15: Server: test-server/fake
! 16: Content-Length: 7
! 17: Location: gopher://www.example.co.uk
! 18:
! 19: nomnom
! 20: </data1>
! 21: </reply>
! 22:
! 23: # Client-side
! 24: <client>
! 25: <server>
! 26: http
! 27: </server>
! 28: <name>
! 29: Make sure redirects to CURLPROTO_GOPHER are forbidden by default
! 30: </name>
! 31: <command>
! 32: http://%HOSTIP:%HTTPPORT/15630001 -L -H "Host: www.example.com"
! 33: </command>
! 34: </client>
! 35: <verify>
! 36: <strip>
! 37: ^User-Agent:.*
! 38: </strip>
! 39: <errorcode>
! 40: 1
! 41: </errorcode>
! 42: <protocol>
! 43: GET /15630001 HTTP/1.1
! 44: Host: www.example.com
! 45: Accept: */*
! 46:
! 47: </protocol>
! 48:
! 49: </verify>
! 50:
! 51: </testcase>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>