Annotation of embedaddon/curl/tests/data/test1068, revision 1.1.1.1

1.1       misho       1: <testcase>
                      2: # Similar to test 60
                      3: <info>
                      4: <keywords>
                      5: HTTP
                      6: HTTP PUT
                      7: chunked Transfer-Encoding
                      8: </keywords>
                      9: </info>
                     10: 
                     11: # Server-side
                     12: <reply>
                     13: <data>
                     14: HTTP/1.0 200 OK swsclose
                     15: Date: Thu, 09 Nov 2010 14:49:00 GMT
                     16: Server: test-server/fake
                     17: 
                     18: blablabla
                     19: 
                     20: </data>
                     21: </reply>
                     22: 
                     23: # Client-side
                     24: <client>
                     25: <server>
                     26: http
                     27: </server>
                     28: <name>
                     29: HTTP PUT from stdin
                     30: </name>
                     31:  <command>
                     32: http://%HOSTIP:%HTTPPORT/bzz/1068 -T -
                     33: </command>
                     34: <stdin>
                     35: more than one byte
                     36: </stdin>
                     37: </client>
                     38: 
                     39: # Verify data after the test has been "shot"
                     40: <verify>
                     41: <strip>
                     42: ^User-Agent:.*
                     43: </strip>
                     44: <protocol>
                     45: PUT /bzz/1068 HTTP/1.1
                     46: Host: %HOSTIP:%HTTPPORT
                     47: Accept: */*
                     48: Transfer-Encoding: chunked
                     49: Expect: 100-continue
                     50: 
                     51: 13
                     52: more than one byte
                     53: 
                     54: 0
                     55: 
                     56: </protocol>
                     57: </verify>
                     58: </testcase>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>