Re: i74: Encoding for non-ASCII headers

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 UTC