Annotation of embedaddon/curl/tests/data/test1089, revision 1.1
1.1 ! misho 1: <testcase>
! 2: <info>
! 3: <keywords>
! 4: HTTP
! 5: HTTP GET
! 6: followlocation
! 7: --write-out
! 8: </keywords>
! 9: </info>
! 10:
! 11: #
! 12: # Server-side
! 13: <reply>
! 14: <data nocheck="yes">
! 15: HTTP/1.1 302 OK swsbounce swsclose
! 16: Date: Thu, 09 Nov 2010 14:49:00 GMT
! 17: Content-Length: 8
! 18: Connection: close
! 19: Content-Type: text/plain
! 20: Location: ./10890001
! 21:
! 22: monster
! 23: </data>
! 24: <data1 nocheck="yes">
! 25: HTTP/1.1 200 OK
! 26: Date: Thu, 09 Nov 2010 14:49:00 GMT
! 27: Content-Length: 15
! 28: Connection: close
! 29: Content-Type: text/plain; charset=us-ascii
! 30:
! 31: bigger monster
! 32: </data1>
! 33:
! 34: </reply>
! 35:
! 36: #
! 37: # Client-side
! 38: <client>
! 39: <server>
! 40: http
! 41: </server>
! 42: <name>
! 43: HTTP GET --write-out with redirected fetch
! 44: </name>
! 45: <command>
! 46: http://%HOSTIP:%HTTPPORT/1089 -w "%{num_connects}\n%{num_redirects}\n%{size_download}\n%{url_effective}\n%{content_type}\n%{response_code}\n" -L
! 47: </command>
! 48: </client>
! 49:
! 50: #
! 51: # Verify data after the test has been "shot"
! 52: <verify>
! 53: <strip>
! 54: ^User-Agent:.*
! 55: </strip>
! 56: <protocol>
! 57: GET /1089 HTTP/1.1
! 58: Host: %HOSTIP:%HTTPPORT
! 59: Accept: */*
! 60:
! 61: GET /10890001 HTTP/1.1
! 62: Host: %HOSTIP:%HTTPPORT
! 63: Accept: */*
! 64:
! 65: </protocol>
! 66:
! 67: <stdout>
! 68: HTTP/1.1 302 OK swsbounce swsclose
! 69: Date: Thu, 09 Nov 2010 14:49:00 GMT
! 70: Content-Length: 8
! 71: Connection: close
! 72: Content-Type: text/plain
! 73: Location: ./10890001
! 74:
! 75: HTTP/1.1 200 OK
! 76: Date: Thu, 09 Nov 2010 14:49:00 GMT
! 77: Content-Length: 15
! 78: Connection: close
! 79: Content-Type: text/plain; charset=us-ascii
! 80:
! 81: bigger monster
! 82: 2
! 83: 1
! 84: 15
! 85: http://%HOSTIP:%HTTPPORT/10890001
! 86: text/plain; charset=us-ascii
! 87: 200
! 88: </stdout>
! 89:
! 90: </verify>
! 91: </testcase>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>