Annotation of embedaddon/curl/tests/data/test38, revision 1.1
1.1 ! misho 1: <testcase>
! 2: <info>
! 3: <keywords>
! 4: HTTP
! 5: HTTP GET
! 6: Resume
! 7: FAILURE
! 8: </keywords>
! 9: </info>
! 10: # Server-side
! 11: <reply>
! 12: <data nocheck="yes">
! 13: HTTP/1.0 200 Mooo
! 14: Date: Mon, 13 Nov 2000 13:41:09 GMT
! 15: Server: myown/1.0
! 16: Connection: close
! 17:
! 18: todelooooo lalalala yada yada, we know nothing about ranges ;-)
! 19: </data>
! 20: </reply>
! 21:
! 22: # Client-side
! 23: <client>
! 24: <server>
! 25: http
! 26: </server>
! 27: <name>
! 28: HTTP resume request without server supporting it
! 29: </name>
! 30: <command option="no-output">
! 31: http://%HOSTIP:%HTTPPORT/want/38 -C - --no-include -o log/fewl38.txt
! 32: </command>
! 33: <file name="log/fewl38.txt">
! 34: This text is here to simulate a partly downloaded file to resume
! 35: download on.
! 36: </file>
! 37: </client>
! 38:
! 39: # Verify data after the test has been "shot"
! 40: <verify>
! 41: <errorcode>
! 42: 33
! 43: </errorcode>
! 44: <strip>
! 45: ^User-Agent:.*
! 46: </strip>
! 47: <protocol>
! 48: GET /want/38 HTTP/1.1
! 49: Host: %HOSTIP:%HTTPPORT
! 50: Range: bytes=78-
! 51: Accept: */*
! 52:
! 53: </protocol>
! 54:
! 55: # the download target file must remain untouched
! 56: <file name="log/fewl38.txt">
! 57: This text is here to simulate a partly downloaded file to resume
! 58: download on.
! 59: </file>
! 60: </verify>
! 61: </testcase>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>