[Web-SIG] Request for Comments on upcoming WSGI Changes

René Dudfield renesd at gmail.com
Mon Sep 21 09:50:35 CEST 2009


On Mon, Sep 21, 2009 at 7:28 AM, Armin Ronacher
<armin.ronacher at active-4.com> wrote:
> Hi,
>
> James Bennett schrieb:
>> Well, ordinarily I'd be inclined to agree: HTTP deals in bytes, so an
>> interface to HTTP should deal in bytes as well.
> If it was just that I would be happy to stay with bytes.  But unless the
> standard library changes in the way it works on Python 3 there is not
> much but unicode we can use.  bytes no longer behave like strings, it's
> not very comfortable to work with them.
>

I think http traffic is increasingly more utf-8 these days.  Also most
upper level frame works use unicode natively.

So it makes sense to use utf-8 natively, as an option.


More information about the Web-SIG mailing list