~ubuntu-branches/ubuntu/edgy/curl/edgy-security

« back to all changes in this revision

Viewing changes to tests/data/test208

  • Committer: Bazaar Package Importer
  • Author(s): LaMont Jones
  • Date: 2005-03-23 18:41:29 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20050323184129-le70d05a0hk5w62j
Tags: 7.12.3-2ubuntu3
Fix the version numbers internal to debian/rules.  Closes; #8088

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Server-side
 
2
<reply>
 
3
<data>
 
4
HTTP/1.0 200 OK swsclose
 
5
Date: Thu, 09 Nov 2010 14:49:00 GMT
 
6
Server: test-server/fake
 
7
 
 
8
blablabla
 
9
 
 
10
</data>
 
11
</reply>
 
12
 
 
13
# Client-side
 
14
<client>
 
15
<server>
 
16
http
 
17
</server>
 
18
 <name>
 
19
HTTP PUT a to a FTP URL with username+password - over HTTP proxy
 
20
 </name>
 
21
 <command>
 
22
-x http://%HOSTIP:%HTTPPORT ftp://daniel:mysecret@host.com/we/want/208 -T log/test208.txt
 
23
</command>
 
24
<file name="log/test208.txt">
 
25
Weird
 
26
     file
 
27
         to
 
28
   upload
 
29
for
 
30
   testing
 
31
the
 
32
   PUT
 
33
      feature
 
34
</file>
 
35
</test>
 
36
 
 
37
# Verify data after the test has been "shot"
 
38
<verify>
 
39
<strip>
 
40
^User-Agent:.*
 
41
</strip>
 
42
<protocol>
 
43
PUT ftp://daniel:mysecret@host.com/we/want/208 HTTP/1.1
 
44
Authorization: Basic ZGFuaWVsOm15c2VjcmV0
 
45
Host: host.com:21
 
46
Pragma: no-cache
 
47
Accept: */*
 
48
Content-Length: 78
 
49
Expect: 100-continue
 
50
 
 
51
Weird
 
52
     file
 
53
         to
 
54
   upload
 
55
for
 
56
   testing
 
57
the
 
58
   PUT
 
59
      feature
 
60
</protocol>
 
61
</verify>