Annotation of embedaddon/curl/tests/data/test156, revision 1.1
1.1 ! misho 1: <testcase>
! 2: <info>
! 3: <keywords>
! 4: HTTP
! 5: HTTP PUT
! 6: --anyauth
! 7: </keywords>
! 8: </info>
! 9:
! 10: # Server-side
! 11: <reply>
! 12: <data>
! 13: HTTP/1.1 200 No Authorization Required swsclose
! 14: Server: Apache/1.3.27 (Darwin) PHP/4.1.2
! 15: Content-Type: text/html; charset=iso-8859-1
! 16: Connection: close
! 17:
! 18: PUT received fine. Thank you very much
! 19: </data>
! 20: </reply>
! 21:
! 22: # Client-side
! 23: <client>
! 24: <server>
! 25: http
! 26: </server>
! 27: <name>
! 28: HTTP PUT with --anyauth (when the server requires none)
! 29: </name>
! 30: <command>
! 31: http://%HOSTIP:%HTTPPORT/156 -T log/put156 -u testuser:testpass --anyauth
! 32: </command>
! 33: <file name="log/put156">
! 34: This is data we upload with PUT
! 35: a second line
! 36: line three
! 37: four is the number of lines
! 38: </file>
! 39: </client>
! 40:
! 41: # Verify data after the test has been "shot"
! 42: <verify>
! 43: <strip>
! 44: ^User-Agent:.*
! 45: </strip>
! 46: <protocol>
! 47: PUT /156 HTTP/1.1
! 48: User-Agent: curl/7.10.5 (i686-pc-linux-gnu) libcurl/7.10.5 OpenSSL/0.9.7a ipv6 zlib/1.1.3
! 49: Host: %HOSTIP:%HTTPPORT
! 50: Accept: */*
! 51: Content-Length: 85
! 52: Expect: 100-continue
! 53:
! 54: This is data we upload with PUT
! 55: a second line
! 56: line three
! 57: four is the number of lines
! 58: </protocol>
! 59: </verify>
! 60: </testcase>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>