~ubuntu-branches/ubuntu/vivid/curl/vivid

« back to all changes in this revision

Viewing changes to tests/data/test1035

  • Committer: Bazaar Package Importer
  • Author(s): Andreas Schuldei
  • Date: 2009-04-02 23:35:45 UTC
  • mto: (1.2.1 upstream) (3.2.3 sid)
  • mto: This revision was merged to the branch mainline in revision 38.
  • Revision ID: james.westby@ubuntu.com-20090402233545-geixkwhe3izccjt7
Tags: upstream-7.19.4
Import upstream version 7.19.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<testcase>
 
2
<info>
 
3
<keywords>
 
4
HTTP
 
5
HTTP GET
 
6
HTTP proxy
 
7
IDN
 
8
FAILURE
 
9
</keywords>
 
10
</info>
 
11
 
 
12
#
 
13
# Server-side
 
14
<reply>
 
15
<data>
 
16
HTTP/1.0 503 Service Unavailable
 
17
Date: Thu, 09 Nov 2010 14:49:00 GMT
 
18
Server: test-server/fake swsclose
 
19
Content-Type: text/html
 
20
Funny-head: yesyes
 
21
 
 
22
</data>
 
23
</reply>
 
24
 
 
25
#
 
26
# Client-side
 
27
<client>
 
28
<server>
 
29
http
 
30
</server>
 
31
<features>
 
32
idn
 
33
</features>
 
34
<setenv>
 
35
CHARSET=ISO8859-1
 
36
</setenv>
 
37
 <name>
 
38
HTTP over proxy with too long IDN host name
 
39
 </name>
 
40
 <command>
 
41
http://too-long-IDN-name-c�rl-r�les-la-la-la-dee-da-flooby-nooby.local/page/1035 -x %HOSTIP:%HTTPPORT
 
42
</command>
 
43
</client>
 
44
 
 
45
#
 
46
# Verify data after the test has been "shot"
 
47
<verify>
 
48
<strip>
 
49
^User-Agent:.*
 
50
</strip>
 
51
<protocol>
 
52
GET http://too-long-IDN-name-c�rl-r�les-la-la-la-dee-da-flooby-nooby.local/page/1035 HTTP/1.1
 
53
Host: too-long-IDN-name-c�rl-r�les-la-la-la-dee-da-flooby-nooby.local
 
54
Accept: */*
 
55
Proxy-Connection: Keep-Alive
 
56
 
 
57
</protocol>
 
58
</verify>
 
59
</testcase>