Annotation of embedaddon/curl/tests/data/test1141, revision 1.1
1.1 ! misho 1: <testcase>
! 2: <info>
! 3: <keywords>
! 4: HTTP
! 5: HTTP GET
! 6: HTTP proxy
! 7: followlocation
! 8: </keywords>
! 9: </info>
! 10: # Server-side
! 11: <reply>
! 12: <data>
! 13: HTTP/1.1 302 This is a weirdo text message
! 14: Connection: close
! 15: Location: http:///foo.example.com/want/11410001
! 16:
! 17: This server reply is for testing
! 18: </data>
! 19: <data1>
! 20: HTTP/1.1 200 hello
! 21: Connection: close
! 22: Content-Length: 4
! 23:
! 24: hej
! 25: </data1>
! 26: <datacheck>
! 27: HTTP/1.1 302 This is a weirdo text message
! 28: Connection: close
! 29: Location: http:///foo.example.com/want/11410001
! 30:
! 31: HTTP/1.1 200 hello
! 32: Connection: close
! 33: Content-Length: 4
! 34:
! 35: hej
! 36: </datacheck>
! 37: </reply>
! 38:
! 39: # Client-side
! 40: <client>
! 41: <server>
! 42: http
! 43: </server>
! 44: <name>
! 45: HTTP redirect to http:/// (three slashes!)
! 46: </name>
! 47: <command>
! 48: %HOSTIP:%HTTPPORT/want/1141 -L -x http://%HOSTIP:%HTTPPORT
! 49: </command>
! 50: <features>
! 51: proxy
! 52: </features>
! 53: </client>
! 54:
! 55: # Verify data after the test has been "shot"
! 56: <verify>
! 57: <strip>
! 58: ^User-Agent:.*
! 59: </strip>
! 60: <protocol>
! 61: GET http://%HOSTIP:%HTTPPORT/want/1141 HTTP/1.1
! 62: Host: %HOSTIP:%HTTPPORT
! 63: Accept: */*
! 64: Proxy-Connection: Keep-Alive
! 65:
! 66: GET http://foo.example.com/want/11410001 HTTP/1.1
! 67: Host: foo.example.com
! 68: Accept: */*
! 69: Proxy-Connection: Keep-Alive
! 70:
! 71: </protocol>
! 72: </verify>
! 73: </testcase>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>