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

1.1       misho       1: <testcase>
                      2: <info>
                      3: <keywords>
                      4: HTTP
                      5: HTTP GET
                      6: -J
                      7: </keywords>
                      8: </info>
                      9: 
                     10: #
                     11: <reply>
                     12: <data nocheck="yes">
                     13: HTTP/1.1 200 OK
                     14: Date: Thu, 09 Nov 2010 14:49:00 GMT
                     15: Server: test-server/fake
                     16: Content-Length: 6
                     17: Connection: close
                     18: Content-Type: text/html
                     19: Content-Disposition: filename=name1370; charset=funny; option=strange
                     20: 
                     21: 12345
                     22: </data>
                     23: </reply>
                     24: 
                     25: #
                     26: # Client-side
                     27: <client>
                     28: <server>
                     29: http
                     30: </server>
                     31: <name>
                     32: HTTP GET -o fname -J and Content-Disposition, -D file
                     33: </name>
                     34: <command option="no-output,no-include">
                     35: http://%HOSTIP:%HTTPPORT/1370 -J -o log/outfile1370 -D log/heads1370
                     36: </command>
                     37: <postcheck>
                     38: perl %SRCDIR/libtest/notexists.pl log/1370 log/name1370
                     39: </postcheck>
                     40: </client>
                     41: 
                     42: #
                     43: # Verify data after the test has been "shot"
                     44: <verify>
                     45: <strip>
                     46: ^User-Agent:.*
                     47: </strip>
                     48: <protocol>
                     49: GET /1370 HTTP/1.1
                     50: Host: %HOSTIP:%HTTPPORT
                     51: Accept: */*
                     52: 
                     53: </protocol>
                     54: 
                     55: <file1 name="log/outfile1370">
                     56: 12345
                     57: </file1>
                     58: 
                     59: <file2 name="log/heads1370">
                     60: HTTP/1.1 200 OK
                     61: Date: Thu, 09 Nov 2010 14:49:00 GMT
                     62: Server: test-server/fake
                     63: Content-Length: 6
                     64: Connection: close
                     65: Content-Type: text/html
                     66: Content-Disposition: filename=name1370; charset=funny; option=strange
                     67: 
                     68: </file2>
                     69: 
                     70: <file3 name="log/stdout1370">
                     71: </file3>
                     72: 
                     73: </verify>
                     74: </testcase>

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