Annotation of embedaddon/curl/tests/data/test1034, revision 1.1.1.1
1.1 misho 1: <?xml version="1.0" encoding="ISO-8859-1"?>
2: <testcase>
3: <info>
4: <keywords>
5: HTTP
6: HTTP GET
7: HTTP proxy
8: IDN
9: FAILURE
10: config file
11: </keywords>
12: </info>
13:
14: #
15: # Server-side
16: <reply>
17: </reply>
18:
19: #
20: # Client-side
21: <client>
22: <server>
23: none
24: </server>
25: <features>
26: idn
27: http
28: </features>
29: <setenv>
30: LC_ALL=
31: LC_CTYPE=en_US.UTF-8
32: </setenv>
33: <precheck>
34: perl -MI18N::Langinfo=langinfo,CODESET -e 'die "Needs a UTF-8 locale" if (lc(langinfo(CODESET())) ne "utf-8");'
35: </precheck>
36: <name>
37: HTTP over proxy with malformatted IDN host name
38: </name>
39:
40: # This host name contains an invalid UTF-8 byte sequence that can't be
41: # converted into an IDN name
42: <stdin>
43: url = "http://invalid-utf8-.local/page/1034"
44: </stdin>
45: <command>
46: -K - -x %HOSTIP:%HTTPPORT
47: </command>
48: </client>
49:
50: #
51: <verify>
52: <errorcode>
53: 3
54: </errorcode>
55: </verify>
56: </testcase>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>