W3C home > Mailing lists > Public > ietf-http-wg@w3.org > January to March 2014

Re: draft-montenegro-httpbis-uri-encoding

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Fri, 21 Mar 2014 16:42:19 +0100
To: Zhong Yu <zhong.j.yu@gmail.com>
Cc: Gabriel Montenegro <Gabriel.Montenegro@microsoft.com>, HTTP Working Group <ietf-http-wg@w3.org>
Message-ID: <28noi9d74th23tf5rm5u6dm5hjm9vhs87a@hive.bjoern.hoehrmann.de>
* Zhong Yu wrote:
>1. It's improbable that the origin server uses separate encoding
>schemes for path and query. If the encoding scheme for the query part
>is known, it can be assumed for the path part too.

This is actually a common situation. One reason is that the server
software handles the path, and some independent script handles the
query, and you might well have a server system that uses UTF-8 in
paths, but a legacy script expects ISO-8859-1 query strings. If it
is necessary and possible to communicate the encoding, if any, then
these two components need separate labels for maximum compatibility.
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de
25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 
Received on Friday, 21 March 2014 15:42:57 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:14:25 UTC