Re: IDN support in the validator

* Martin Duerst wrote:
>If it were only for "Bad hostname", I would have guessed the same.
>What made me guess differently was the 500 in front of it. This
>suggested to me that the "Bad hostname" came from an actual server
>on the other end, which would strongly suggest that punycode was
>involved. But it's probably easier to do an actual check on the
>server than to do more guessing.

The response code is generated by libwww-perl, you get it whenever the
request failed for some reason (timeouts, prohibed communication, bad
hostnames, etc). Servers would rather respond with status 400 for bad
requests (e.g., if the host header contains non-ascii octets.)
-- 
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 

Received on Friday, 14 January 2005 13:57:17 UTC