Annotation of embedaddon/curl/tests/data/test10, revision 1.1.1.1
1.1 misho 1: <testcase>
2: <info>
3: <keywords>
4: HTTP
5: HTTP PUT
6: </keywords>
7: </info>
8: # Server-side
9: <reply>
10: <data>
11: HTTP/1.0 200 OK swsclose
12: Date: Thu, 09 Nov 2010 14:49:00 GMT
13: Server: test-server/fake
14:
15: blablabla
16:
17: </data>
18: </reply>
19:
20: # Client-side
21: <client>
22: <server>
23: http
24: </server>
25: <name>
26: simple HTTP PUT from file
27: </name>
28: <command>
29: http://%HOSTIP:%HTTPPORT/we/want/10 -T log/test10.txt
30: </command>
31: <file name="log/test10.txt">
32: Weird
33: file
34: to
35: upload
36: for
37: testing
38: the
39: PUT
40: feature
41: </file>
42: </client>
43:
44: # Verify data after the test has been "shot"
45: <verify>
46: <strip>
47: ^User-Agent:.*
48: </strip>
49: <protocol>
50: PUT /we/want/10 HTTP/1.1
51: Host: %HOSTIP:%HTTPPORT
52: Accept: */*
53: Content-Length: 78
54: Expect: 100-continue
55:
56: Weird
57: file
58: to
59: upload
60: for
61: testing
62: the
63: PUT
64: feature
65: </protocol>
66: </verify>
67: </testcase>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>