[Python-Dev] Better HTTP 1.1 support in http.server?

Christian Heimes christian at python.org
Mon Sep 24 18:39:49 CEST 2012


Am 24.09.2012 17:27, schrieb Antoine Pitrou:
> 
> Hello,
> 
> I was wondering if it would be worth providing better HTTP 1.1 support
> in http.server. The way I envision it, there would be a separate
> HTTP11RequestHandler which would provide:
> 
> - a smart wfile with automatic chunk encoding (which relieves the API
>   user from manually handling chunk encoding or content length
>   calculation)
> - keep-alive enabled by default
> - HTTP 1.1 by default (BaseHTTPRequestHandler defaults to 1.0)
> 
> What do you think?

+1 for 3.4

You proposed gave me another idea. What do you think about SPDY support
in the stdlib? It's the next step after HTTP 1.1.



More information about the Python-Dev mailing list