[Web-SIG] PEP 444 (aka Web3)

Ian Bicking ianb at colorstudy.com
Fri Sep 17 19:43:08 CEST 2010

On Fri, Sep 17, 2010 at 1:37 PM, <chris.dent at gmail.com> wrote:

> On Fri, 17 Sep 2010, Ionel Maries Cristian wrote:
>  I feel this spec puts too much burden on applications - having to process
>> all those byte strings and even having to add Content-Length even for
>> naive
>> buffered-body apps.
> The Content-Length requirement is a big killer for me. I'm usually
> generating content in apps, rather deep in a stack of middleware-like
> pieces that may or may not be looking at or modifying that content.
> I don't want to a) have to unwind my generators at each level b)
> reset the content-length here there and everywhere.
> It could be I'm doing it completely wrong, but it works rather
> nicely.

I'm unclear what exactly you guys are reacting to.  This?

   - The server must not inject an additional Content-Length header by
   guessing the length from the response iterable. This must be set by the
   application itself in all situations.

I'm also not sure what motivated this particular change, but I don't have
any opinion one way or the other.

Ian Bicking  |  http://blog.ianbicking.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/web-sig/attachments/20100917/72d26797/attachment-0001.html>

More information about the Web-SIG mailing list