~ubuntu-branches/ubuntu/warty/curl/warty

« back to all changes in this revision

Viewing changes to tests/data/test42

  • Committer: Bazaar Package Importer
  • Author(s): Domenico Andreoli
  • Date: 2004-06-04 19:09:25 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20040604190925-wy048bp31320r2z6
Tags: 7.12.0.is.7.11.2-1
* Reverted to version 7.11.2 (closes: #252348).
* Disabled support for libidn (closes: #252367). This is to leave
  curl in unstable as much similar as possible to the one in testing.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#
 
2
# Server-side
 
3
<reply>
 
4
<data>
 
5
HTTP/1.1 302 OK swsclose
 
6
Location: ../m o o.html/420002    
 
7
Date: Thu, 09 Nov 2010 14:49:00 GMT
 
8
Connection: close
 
9
 
 
10
</data>
 
11
<data2>
 
12
HTTP/1.1 200 OK swsclose
 
13
Location: this should be ignored
 
14
Date: Thu, 09 Nov 2010 14:49:00 GMT
 
15
Connection: close
 
16
 
 
17
body
 
18
</data2>
 
19
<datacheck>
 
20
HTTP/1.1 302 OK swsclose
 
21
Location: ../m o o.html/420002    
 
22
Date: Thu, 09 Nov 2010 14:49:00 GMT
 
23
Connection: close
 
24
 
 
25
HTTP/1.1 200 OK swsclose
 
26
Location: this should be ignored
 
27
Date: Thu, 09 Nov 2010 14:49:00 GMT
 
28
Connection: close
 
29
 
 
30
body
 
31
</datacheck>
 
32
</reply>
 
33
 
 
34
#
 
35
# Client-side
 
36
<client>
 
37
<server>
 
38
http
 
39
</server>
 
40
 <name>
 
41
HTTP redirect with whitespace in path (and conversion)
 
42
 </name>
 
43
 <command>
 
44
http://%HOSTIP:%HOSTPORT/we/are/all/twits/42 -L
 
45
</command>
 
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
GET /we/are/all/twits/42 HTTP/1.1
 
56
Host: 127.0.0.1:8999
 
57
Pragma: no-cache
 
58
Accept: */*
 
59
 
 
60
GET /we/are/all/m%20o%20o.html/420002 HTTP/1.1
 
61
User-Agent: curl/7.10 (i686-pc-linux-gnu) libcurl/7.10 OpenSSL/0.9.6c ipv6 zlib/1.1.3
 
62
Host: 127.0.0.1:8999
 
63
Pragma: no-cache
 
64
Accept: */*
 
65
 
 
66
</protocol>
 
67
</verify>