Imported Upstream version 7.59.0
[platform/upstream/curl.git] / tests / data / test1035
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 </reply>
16
17 #
18 # Client-side
19 <client>
20 <server>
21 none
22 </server>
23 <features>
24 idn
25 http
26 </features>
27 <setenv>
28 LC_ALL=
29 LC_CTYPE=en_US.UTF-8
30 </setenv>
31 <precheck>
32 perl -MI18N::Langinfo=langinfo,CODESET -e 'die "Needs a UTF-8 locale" if (lc(langinfo(CODESET())) ne "utf-8");'
33 </precheck>
34  <name>
35 HTTP over proxy with too long IDN host name
36  </name>
37  <command>
38 http://too-long-IDN-name-cürl-rüles-la-la-la-dee-da-flooby-nooby.local/page/1035 -x %HOSTIP:%HTTPPORT
39 </command>
40 </client>
41
42 #
43 # Verify data after the test has been "shot"
44 <verify>
45 <strip>
46 ^User-Agent:.*
47 </strip>
48 <errorcode>
49 3
50 </errorcode>
51 </verify>
52 </testcase>