W3C home > Mailing lists > Public > public-webapi@w3.org > February 2007

Re: XMLHttpRequest for Last Call

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Sun, 18 Feb 2007 11:38:51 +0100
To: "Anne van Kesteren" <annevk@opera.com>
Cc: "Web API WG (public)" <public-webapi@w3.org>
Message-ID: <kbagt2hgekuevnpqrnh46d3da58hne2l6s@hive.bjoern.hoehrmann.de>

* Anne van Kesteren wrote:
>On Sat, 17 Feb 2007 21:27:53 +0100, Robert Sayre <sayrer@gmail.com> wrote:
>> OK. AFAIK, Basic and Digest are not interoperable outside of ASCII,
>> and this specification provides no guidance on the encoding of the
>> credentials. Is there anything useful we can say here? Maybe just warn
>> that it isn't internationalized?
>That or we require a specific encoding, such as UTF-8. Anyone with an  
>opinion on that?

It is reasonable to recommend use of UTF-8 if the authentication scheme
can make use of the user name and password specified by the programmer,
and the specification of the scheme fails to define how character to
byte string conversion is supposed to happen. If, however, this is well-
defined for the scheme, XHR must not contradict other specifications and
it seems unwise to require use of UTF-8 if that contradicts deployed im-
plementations, in particular for schemes besides Basic and Digest.
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 
Received on Sunday, 18 February 2007 10:39:07 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:16:23 UTC