[Python-Dev] how to debug httplib slowness

Bill Janssen janssen at parc.com
Fri Sep 18 00:33:30 CEST 2009


Oleg Broytmann <phd at phd.pp.ru> wrote:

> On Fri, Sep 04, 2009 at 04:02:39PM +0100, Chris Withers wrote:
> > So, httplib does this:
> >
> > GET /<blah> HTTP/1.1
> [skip]
> > While wget does this:
> >
> > GET /<blah> HTTP/1.0
> [skip]
> > - Apache responds with a chunked response only to httplib. Why is that?
> 
>    Probably because wget uses HTTP/1.0?

Yep.  Not allowed to respond chunked to 1.0 requests.

Bill


More information about the Python-Dev mailing list