[Python-Dev] Better HTTP 1.1 support in http.server? (original) (raw)
Antoine Pitrou solipsis at pitrou.net
Mon Sep 24 17:27:49 CEST 2012
- Previous message: [Python-Dev] [RELEASED] Python 3.3.0 release candidate 3
- Next message: [Python-Dev] Better HTTP 1.1 support in http.server?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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?
Regards
Antoine.
-- Software development and contracting: http://pro.pitrou.net
- Previous message: [Python-Dev] [RELEASED] Python 3.3.0 release candidate 3
- Next message: [Python-Dev] Better HTTP 1.1 support in http.server?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]