Annotation of embedaddon/curl/tests/data/test193, 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: Location: ./193
! 20:
! 21: monster
! 22: </data>
! 23: <data1 nocheck="yes">
! 24: HTTP/1.1 200 OK
! 25: Date: Thu, 09 Nov 2010 14:49:00 GMT
! 26: Content-Length: 8
! 27: Connection: close
! 28:
! 29: monster
! 30: </data1>
! 31:
! 32: </reply>
! 33:
! 34: #
! 35: # Client-side
! 36: <client>
! 37: <server>
! 38: http
! 39: </server>
! 40: <name>
! 41: HTTP GET -w num_connects with redirected fetch (2 connects)
! 42: </name>
! 43: <command>
! 44: http://%HOSTIP:%HTTPPORT/193 -w "%{num_connects}\n" -L
! 45: </command>
! 46: </client>
! 47:
! 48: #
! 49: # Verify data after the test has been "shot"
! 50: <verify>
! 51: <strip>
! 52: ^User-Agent:.*
! 53: </strip>
! 54: <protocol>
! 55: GET /193 HTTP/1.1
! 56: Host: %HOSTIP:%HTTPPORT
! 57: Accept: */*
! 58:
! 59: GET /193 HTTP/1.1
! 60: Host: %HOSTIP:%HTTPPORT
! 61: Accept: */*
! 62:
! 63: </protocol>
! 64:
! 65: <stdout>
! 66: HTTP/1.1 302 OK swsbounce swsclose
! 67: Date: Thu, 09 Nov 2010 14:49:00 GMT
! 68: Content-Length: 8
! 69: Connection: close
! 70: Location: ./193
! 71:
! 72: HTTP/1.1 200 OK
! 73: Date: Thu, 09 Nov 2010 14:49:00 GMT
! 74: Content-Length: 8
! 75: Connection: close
! 76:
! 77: monster
! 78: 2
! 79: </stdout>
! 80:
! 81: </verify>
! 82: </testcase>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>