HTTP
HTTP GET
HTTP proxy
IDN
#
# Server-side
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake swsclose
Content-Type: text/html
Funny-head: yesyes
#
# Client-side
http
idn
proxy
LC_ALL=en_US.UTF-8
LC_CTYPE=en_US.UTF-8
perl -MI18N::Langinfo=langinfo,CODESET -e 'die "Needs a UTF-8 locale" if (lc(langinfo(CODESET())) ne "utf-8");'
HTTP over proxy with IDN host name
http://www.åäö.se/page/165 -x %HOSTIP:%HTTPPORT http://www.große.de/page/165
#
# Verify data after the test has been "shot"
GET http://www.xn--4cab6c.se/page/165 HTTP/1.1
Host: www.xn--4cab6c.se
User-Agent: curl/%VERSION
Accept: */*
Proxy-Connection: Keep-Alive
GET http://www.xn--groe-xna.de/page/165 HTTP/1.1
Host: www.xn--groe-xna.de
User-Agent: curl/%VERSION
Accept: */*
Proxy-Connection: Keep-Alive