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 LC_ALL= 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" ^User-Agent:.* GET http://www.xn--4cab6c.se/page/165 HTTP/1.1 Host: www.xn--4cab6c.se Accept: */* Proxy-Connection: Keep-Alive GET http://www.xn--groe-xna.de/page/165 HTTP/1.1 Host: www.xn--groe-xna.de Accept: */* Proxy-Connection: Keep-Alive