Annotation of embedaddon/curl/tests/data/test1295, revision 1.1
1.1 ! misho 1: <testcase>
! 2: <info>
! 3: <keywords>
! 4: HTTP
! 5: HTTP POST
! 6: </keywords>
! 7: </info>
! 8:
! 9: #
! 10: # Server-side
! 11: <reply>
! 12: <data>
! 13: HTTP/1.1 200 OK
! 14: Date: Thu, 09 Nov 2010 14:49:00 GMT
! 15: Server: test-server/fake
! 16: Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT
! 17: ETag: "21025-dc7-39462498"
! 18: Accept-Ranges: bytes
! 19: Content-Length: 6
! 20: Connection: close
! 21: Content-Type: text/html
! 22: Funny-head: yesyes
! 23:
! 24: -foo-
! 25: </data>
! 26: </reply>
! 27:
! 28: #
! 29: # Client-side
! 30: <client>
! 31: <features>
! 32: debug
! 33: </features>
! 34: <server>
! 35: http
! 36: </server>
! 37: <name>
! 38: HTTP POST with split initial request send
! 39: </name>
! 40: <setenv>
! 41: # The Hound of the Baskervilles
! 42: #
! 43: # make the first send cut off after this amount of data
! 44: CURL_SMALLREQSEND=100
! 45: </setenv>
! 46: <command>
! 47: http://%HOSTIP:%HTTPPORT/012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679/1295 -H "012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679: 300" -d "Mr. Sherlock Holmes, who was usually very late in the mornings, save upon those not infrequent occasions when he was up all night, was seated at the breakfast table."
! 48: </command>
! 49: </client>
! 50:
! 51: #
! 52: # Verify data after the test has been "shot"
! 53: <verify>
! 54: <strip>
! 55: ^User-Agent:.*
! 56: </strip>
! 57: <protocol nonewline="yes">
! 58: POST /012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679/1295 HTTP/1.1
! 59: Host: %HOSTIP:%HTTPPORT
! 60: Accept: */*
! 61: 012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679: 300
! 62: Content-Length: 165
! 63: Content-Type: application/x-www-form-urlencoded
! 64:
! 65: Mr. Sherlock Holmes, who was usually very late in the mornings, save upon those not infrequent occasions when he was up all night, was seated at the breakfast table.
! 66: </protocol>
! 67: </verify>
! 68: </testcase>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>