W3C home > Mailing lists > Public > public-webapps@w3.org > January to March 2010

Re: XHR LC comment: header encoding

From: Anne van Kesteren <annevk@opera.com>
Date: Tue, 16 Feb 2010 14:34:55 +0100
To: "Julian Reschke" <julian.reschke@gmx.de>
Cc: "Boris Zbarsky" <bzbarsky@mit.edu>, "Jonas Sicking" <jonas@sicking.cc>, "WebApps WG" <public-webapps@w3.org>
Message-ID: <op.u772ohm564w2qv@annevk-t60>
On Mon, 01 Feb 2010 16:07:00 +0100, Julian Reschke <julian.reschke@gmx.de>  
wrote:
> 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  
way.


-- 
Anne van Kesteren
http://annevankesteren.nl/
Received on Tuesday, 16 February 2010 13:35:29 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:37 GMT