Re: XHR LC comment: header encoding

On Mon, 01 Feb 2010 16:07:00 +0100, Julian Reschke <>  
> I've got a question. You know have several parts where you say something  
> like:
> "If any code point in method is higher than U+00FF LATIN SMALL LETTER Y  
> WITH DIAERESIS or after deflating method it does not match the Method  
> token production raise a SYNTAX_ERR exception and terminate these steps."
> a) the part about > U+00FF seems to be redundant with the requirement  
> for deflate not to loose information, and

Deflate as defined is a very simple algorithm so this check is needed.

> b) as "Method token" (actually "token" in HTTP/1.1) does not allow  
> non-ASCII characters anyway, it appears to be much simpler to just  
> require conformance to that ABNF.

HTTP/1.1 ABNF is in bytes, not characters, so I'd prefer to keep it this  

Anne van Kesteren

Received on Tuesday, 16 February 2010 13:35:29 UTC