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

1.1       misho       1: <testcase>
                      2: <info>
                      3: <keywords>
                      4: HTTP
                      5: HTTP GET
                      6: Content-Range
                      7: </keywords>
                      8: </info>
                      9: 
                     10: # Server-side
                     11: <reply>
                     12: <data>
                     13: HTTP/1.1 206 Partial Content
                     14: Date: Thu, 31 Jul 2008 13:41:09 GMT
                     15: Accept-Ranges: bytes
                     16: Content-Length: 101
                     17: Content-Range: bytes 100-200/201
                     18: Connection: close
                     19: Content-Type: text/html
                     20: 
                     21: ..partial data returned from the
                     22: server as a result of setting an explicit byte range
                     23: in the request
                     24: </data>
                     25: </reply>
                     26: 
                     27: # Client-side
                     28: <client>
                     29: <server>
                     30: http
                     31: </server>
                     32:  <name>
                     33: HTTP range relative to end of file
                     34:  </name>
                     35:  <command>
                     36: http://%HOSTIP:%HTTPPORT/want/1058 -r -101
                     37: </command>
                     38: </client>
                     39: 
                     40: # Verify data after the test has been "shot"
                     41: <verify>
                     42: <strip>
                     43: ^User-Agent:.*
                     44: </strip>
                     45: <protocol>
                     46: GET /want/1058 HTTP/1.1
                     47: Host: %HOSTIP:%HTTPPORT
                     48: Range: bytes=-101
                     49: Accept: */*
                     50: 
                     51: </protocol>
                     52: </verify>
                     53: </testcase>

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