Annotation of embedaddon/curl/tests/data/test1411, revision 1.1
1.1 ! misho 1: <testcase>
! 2: <info>
! 3: <keywords>
! 4: HTTP
! 5: PUT
! 6: </keywords>
! 7: </info>
! 8:
! 9: <reply>
! 10: <data>
! 11: HTTP/1.1 200 OK
! 12: Date: Thu, 09 Nov 2010 14:49:00 GMT
! 13: Server: test-server/fake
! 14: Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT
! 15: ETag: "21025-dc7-39462498"
! 16: Accept-Ranges: bytes
! 17: Content-Length: 6
! 18: Connection: close
! 19: Content-Type: text/html
! 20: Funny-head: yesyes
! 21:
! 22: -foo-
! 23: </data>
! 24: </reply>
! 25:
! 26:
! 27: #
! 28: # Client-side
! 29: <client>
! 30: <server>
! 31: http
! 32: </server>
! 33:
! 34: # make sure there's no Expect: 100-continue when there's no file to send!
! 35: <name>
! 36: HTTP with zero size file PUT
! 37: </name>
! 38: <command>
! 39: http://%HOSTIP:%HTTPPORT/1411 -T log/empty1411
! 40: </command>
! 41: # create an empty file
! 42: <file name="log/empty1411">
! 43: </file>
! 44: </client>
! 45:
! 46: #
! 47: # Verify data after the test has been "shot"
! 48: <verify>
! 49: <strip>
! 50: ^User-Agent:.*
! 51: </strip>
! 52: <protocol>
! 53: PUT /1411 HTTP/1.1
! 54: Host: %HOSTIP:%HTTPPORT
! 55: Accept: */*
! 56: Content-Length: 0
! 57:
! 58: </protocol>
! 59: </verify>
! 60: </testcase>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>