Annotation of embedaddon/curl/tests/data/test35, revision 1.1
1.1 ! misho 1: <testcase>
! 2: <info>
! 3: <keywords>
! 4: HTTP
! 5: HTTP POST
! 6: --data-binary
! 7: </keywords>
! 8: </info>
! 9: <reply>
! 10: <data>
! 11: HTTP/1.1 200 OK swsclose
! 12: Date: Thu, 09 Nov 2010 14:49:00 GMT
! 13: Server: test-server/fake
! 14:
! 15: blablabla
! 16:
! 17: </data>
! 18: </reply>
! 19:
! 20: # Client-side
! 21: <client>
! 22: <server>
! 23: http
! 24: </server>
! 25: <name>
! 26: HTTP POST binary data with embedded NUL
! 27: </name>
! 28: <command>
! 29: http://%HOSTIP:%HTTPPORT/we/want/35 --data-binary @log/test35.txt
! 30: </command>
! 31: <file name="log/test35.txt">
! 32: This is binary data with an embedded NUL byte
! 33: </file>
! 34: </client>
! 35:
! 36: # Verify data after the test has been "shot"
! 37: <verify>
! 38: <strip>
! 39: ^User-Agent:.*
! 40: </strip>
! 41: <protocol>
! 42: POST /we/want/35 HTTP/1.1
! 43: Host: %HOSTIP:%HTTPPORT
! 44: Accept: */*
! 45: Content-Length: 47
! 46: Content-Type: application/x-www-form-urlencoded
! 47:
! 48: This is binary data with an embedded NUL byte
! 49: </protocol>
! 50: </verify>
! 51: </testcase>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>