Annotation of embedaddon/curl/tests/data/test1055, revision 1.1.1.1
1.1 misho 1: <testcase>
2: <info>
3: <keywords>
4: HTTP
5: HTTP PUT
6: followlocation
7: FTP
8: EPSV
9: STOR
10: </keywords>
11: </info>
12:
13: #
14: # Server-side
15: <reply>
16: <data>
17: HTTP/1.1 307 OK
18: Date: Thu, 09 Nov 2010 14:49:00 GMT
19: Server: test-server/fake swsclose
20: Content-Type: text/html
21: Location: ftp://%HOSTIP:%FTPPORT/1055
22: Content-Length: 0
23: Connection: close
24:
25: </data>
26: </reply>
27:
28: #
29: # Client-side
30: <client>
31: <server>
32: http
33: ftp
34: </server>
35: <name>
36: HTTP PUT Location: redirect to FTP URL
37: </name>
38: <command>
39: http://%HOSTIP:%HTTPPORT/1055 -L -T log/test1055.txt
40: </command>
41: <file name="log/test1055.txt">
42: Weird
43: file
44: to
45: upload
46: for
47: testing
48: the
49: PUT
50: feature
51: </file>
52: </client>
53:
54: #
55: # Verify data after the test has been "shot"
56: <verify>
57: <strip>
58: ^User-Agent:.*
59: </strip>
60: <protocol>
61: PUT /1055 HTTP/1.1
62: Host: %HOSTIP:%HTTPPORT
63: Accept: */*
64: Content-Length: 78
65: Expect: 100-continue
66:
67: Weird
68: file
69: to
70: upload
71: for
72: testing
73: the
74: PUT
75: feature
76: USER anonymous
77: PASS ftp@example.com
78: PWD
79: EPSV
80: TYPE I
81: STOR 1055
82: QUIT
83: </protocol>
84: <upload>
85: Weird
86: file
87: to
88: upload
89: for
90: testing
91: the
92: PUT
93: feature
94: </upload>
95: </verify>
96: </testcase>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>