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>  
> 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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:13:05 UTC