W3C home > Mailing lists > Public > www-talk@w3.org > March to April 2010

Re: non ascii character in headers?

From: Julian Reschke <julian.reschke@gmx.de>
Date: Tue, 02 Mar 2010 14:17:13 +0100
Message-ID: <4B8D0FD9.2030908@gmx.de>
To: Brendan Miller <catphive@catphive.net>
CC: www-talk@w3.org
On 02.03.2010 00:49, Brendan Miller wrote:
> I'm looking at a possible bug in my companies http handling library.
> The code seems to assume that there are no bytes with the higher order
> bit set in the http Location header. I'm thinking this will break if
> the Location header's URI contains non-ascii characters.

In which case it wouldn't be a valid URI.

> Is my thinking correct, or is there some rule that prohibits non-ascii
> chars in an http header?

Valid URIs never contain non-ASCII characters.

That doesn't mean it doesn't happen in the wild, though.

Best regards, Julian
Received on Tuesday, 2 March 2010 13:17:51 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 27 October 2010 18:14:31 GMT