Annotation of embedaddon/curl/tests/data/test1371, 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=name1371; 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 stdout
33: </name>
34: <command option="no-output,no-include">
35: http://%HOSTIP:%HTTPPORT/1371 -J -o log/outfile1371 -D -
36: </command>
37: <postcheck>
38: perl %SRCDIR/libtest/notexists.pl log/1371 log/name1371
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 /1371 HTTP/1.1
50: Host: %HOSTIP:%HTTPPORT
51: Accept: */*
52:
53: </protocol>
54:
55: <file1 name="log/outfile1371">
56: 12345
57: </file1>
58:
59: <file2 name="log/stdout1371">
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=name1371; charset=funny; option=strange
67:
68: </file2>
69:
70: </verify>
71: </testcase>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>