Annotation of embedaddon/curl/tests/data/test492, revision 1.1.1.1
1.1 misho 1: <testcase>
2: <info>
3: <keywords>
4: HTTP
5: HTTP PUT
6: </keywords>
7: </info>
8:
9: #
10: # Server-side
11: <reply>
12: <data>
13: HTTP/1.1 200 OK
14: Date: Thu, 09 Nov 2010 14:49:00 GMT
15: Server: test-server/fake
16: Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT
17: ETag: "21025-dc7-39462498"
18: Accept-Ranges: bytes
19: Content-Length: 6
20: Connection: close
21: Content-Type: text/html
22: Funny-head: yesyes
23:
24: -foo-
25: </data>
26: </reply>
27:
28: #
29: # Client-side
30: <client>
31: <server>
32: http
33: </server>
34: <name>
35: Two globbed HTTP PUTs to two globbed URLs
36: </name>
37: <command>
38: 'http://%HOSTIP:%HTTPPORT/{one,two}/' -T '{log/first492,log/second492}' -H "Testno: 492"
39: </command>
40: <file name="log/first492">
41: first 492 contents
42: </file>
43: <file1 name="log/second492">
44: second 492 contents
45: </file1>
46: </client>
47:
48: #
49: # Verify data after the test has been "shot"
50: <verify>
51: <strip>
52: ^User-Agent:.*
53: </strip>
54: <protocol>
55: PUT /one/first492 HTTP/1.1
56: Host: %HOSTIP:%HTTPPORT
57: Accept: */*
58: Testno: 492
59: Content-Length: 19
60: Expect: 100-continue
61:
62: first 492 contents
63: PUT /two/first492 HTTP/1.1
64: Host: %HOSTIP:%HTTPPORT
65: Accept: */*
66: Testno: 492
67: Content-Length: 19
68: Expect: 100-continue
69:
70: first 492 contents
71: PUT /one/second492 HTTP/1.1
72: Host: %HOSTIP:%HTTPPORT
73: Accept: */*
74: Testno: 492
75: Content-Length: 20
76: Expect: 100-continue
77:
78: second 492 contents
79: PUT /two/second492 HTTP/1.1
80: Host: %HOSTIP:%HTTPPORT
81: Accept: */*
82: Testno: 492
83: Content-Length: 20
84: Expect: 100-continue
85:
86: second 492 contents
87: </protocol>
88: </verify>
89: </testcase>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>