Annotation of embedaddon/curl/tests/data/test1524, revision 1.1.1.1
1.1 misho 1: <testcase>
2: <info>
3: <keywords>
4: HTTP
5: HTTP PUT
6: followlocation
7: </keywords>
8: </info>
9: #
10: # Server-side
11: <reply>
12: <data>
13: HTTP/1.1 303 OK swsclose
14: Location: moo.html&testcase=/15240002
15: Connection: close
16:
17: </data>
18: <data2>
19: HTTP/1.1 200 OK swsclose
20: Location: this should be ignored
21: Connection: close
22:
23: body
24: </data2>
25: <datacheck>
26: HTTP/1.1 303 OK swsclose
27: Location: moo.html&testcase=/15240002
28: Connection: close
29:
30: HTTP/1.1 200 OK swsclose
31: Location: this should be ignored
32: Connection: close
33:
34: body
35: </datacheck>
36: </reply>
37:
38: #
39: # Client-side
40: <client>
41: <server>
42: http
43: </server>
44: <name>
45: HTTP PUT with 303 redirect
46: </name>
47: <command>
48: http://%HOSTIP:%HTTPPORT/blah/1524 -L -T log/upload1524.txt
49: </command>
50: <file name="log/upload1524.txt">
51: moo
52: </file>
53: </client>
54:
55: #
56: # Verify data after the test has been "shot"
57: <verify>
58: <strip>
59: ^User-Agent:.*
60: </strip>
61: <protocol nonewline="yes">
62: PUT /blah/1524 HTTP/1.1
63: Host: %HOSTIP:%HTTPPORT
64: Accept: */*
65: Content-Length: 4
66: Expect: 100-continue
67:
68: moo
69: GET /blah/moo.html&testcase=/15240002 HTTP/1.1
70: User-Agent: this should be ignored
71: Host: %HOSTIP:%HTTPPORT
72: Accept: */*
73:
74:
75: </protocol>
76: </verify>
77: </testcase>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>