Annotation of embedaddon/curl/tests/data/test1514, revision 1.1
1.1 ! misho 1: <testcase>
! 2: <info>
! 3: <keywords>
! 4: HTTP
! 5: HTTP POST
! 6: Content-Length
! 7: chunked Transfer-Encoding
! 8: </keywords>
! 9: </info>
! 10:
! 11: # Server-side
! 12: <reply>
! 13: <data nocheck="yes">
! 14: HTTP/1.1 200 OK
! 15: Date: Sun, 19 Jan 2014 18:50:58 GMT
! 16: Server: test-server/fake swsclose
! 17: Connection: close
! 18: </data>
! 19: </reply>
! 20:
! 21: # Client-side
! 22: <client>
! 23: <server>
! 24: http
! 25: </server>
! 26: <tool>
! 27: lib1514
! 28: </tool>
! 29: <name>
! 30: HTTP POST with read callback and unknown data size
! 31: </name>
! 32: <command>
! 33: http://%HOSTIP:%HTTPPORT/1514
! 34: </command>
! 35: </client>
! 36:
! 37: # Verify data after the test has been "shot"
! 38: <verify>
! 39: # Content-Length header is not present
! 40: # Transfer-Encoding header is added automatically
! 41: <protocol>
! 42: POST /1514 HTTP/1.1
! 43: Host: %HOSTIP:%HTTPPORT
! 44: Accept: */*
! 45: Transfer-Encoding: chunked
! 46: Content-Type: application/x-www-form-urlencoded
! 47: Expect: 100-continue
! 48:
! 49: 1
! 50: d
! 51: 1
! 52: u
! 53: 1
! 54: m
! 55: 1
! 56: m
! 57: 1
! 58: y
! 59: 0
! 60:
! 61: </protocol>
! 62: </verify>
! 63: </testcase>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>