This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author matrixise
Recipients matrixise
Date 2014-04-14.20:43:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1397508232.09.0.0337317788686.issue21224@psf.upfronthosting.co.za>
In-reply-to
Content
Hi,

With this issue, I would like to ask you to use the last version of the HTTP protocol in the BaseHTTPRequestHandler for Python 3.5.
Because this one uses the version 1.0 of the protocol for the backward-compatibility.

https://docs.python.org/3/library/http.server.html?highlight=protocol_version#http.server.BaseHTTPRequestHandler.protocol_version

When we develop an web app with Flask/Werkzeug or an other tool, the default version of 
the protocol is "HTTP/1.0". If we use Gunicorn, the protocol version is HTTP/1.1 and not 1.0, but this one can support the old version.

So, I propose to change the default version to the HTTP/1.1. It seems that the code of the server can handle this version without any problem.

HTTP 1.0 - http://www.ietf.org/rfc/rfc1945.txt - 1996
HTTP 1.1 - http://www.ietf.org/rfc/rfc2616.txt - 1999

In 2014, I think we can move to HTTP 1.1 by default.

Regards,

Stephane
History
Date User Action Args
2014-04-14 20:43:52matrixisesetrecipients: + matrixise
2014-04-14 20:43:52matrixisesetmessageid: <1397508232.09.0.0337317788686.issue21224@psf.upfronthosting.co.za>
2014-04-14 20:43:52matrixiselinkissue21224 messages
2014-04-14 20:43:51matrixisecreate