W3C home > Mailing lists > Public > ietf-http-wg@w3.org > January to March 2008

Re: i74: Encoding for non-ASCII headers

From: Mark Nottingham <mnot@mnot.net>
Date: Tue, 25 Mar 2008 21:46:28 +1100
Cc: ietf-http-wg@w3.org
Message-Id: <4BA420AD-1C1B-4D82-9B3E-BE223BFAF895@mnot.net>
To: Nicolas Alvarez <nicolas.alvarez@gmail.com>

That's allowed;
> Reason-Phrase = *<TEXT, excluding CR, LF>
> The TEXT rule is only used for descriptive field contents and values  
> that are not intended to be interpreted by the message parser. Words  
> of *TEXT MAY contain characters from character sets other than ISO-  
> 8859-1 [22] only when encoded according to the rules of RFC 2047 [14].
> TEXT = <any OCTET except CTLs, but including LWS>
Cheers,

On 25/03/2008, at 4:02 PM, Nicolas Alvarez wrote:

>
> Mark Nottingham escribió:
>> WRT reason phrases -- although that's what the spec says, I think  
>> that 'human user' is a stretch -- it's really for debugging /  
>> logging / development in common use. Whether elements with that use  
>> case should be able to be internationalised is a separate  
>> discussion, of course.
>
> Apache Tomcat returns translated reason phrases:
>
> HTTP/1.1 302 Movido temporálmente
> Server: Apache-Coyote/1.1
>
> Yep, that is an accented letter (which is even wrong, that word  
> doesn't have an accent in Spanish!). Apparently ISO-8859-1.
>
>


--
Mark Nottingham     http://www.mnot.net/
Received on Tuesday, 25 March 2008 10:47:18 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 27 April 2012 06:50:37 GMT