[Web-SIG] PEP 444 Goals

James Y Knight foom at fuhm.net
Thu Jan 6 22:06:36 CET 2011


On Jan 6, 2011, at 3:52 PM, Alice Bevan–McGregor wrote:
> :: Making optional (and thus rarely-implemented) features non-optional. E.g. server support for HTTP/1.1 with clarifications for interfacing applications to 1.1 servers.  Thus pipelining, chunked encoding, et. al. as per the HTTP 1.1 RFC.

Requirements on the HTTP compliance of the server don't really have any place in the WSGI spec. You should be able to be WSGI compliant even if you don't use the HTTP transport at all (e.g. maybe you just send around requests via SCGI). 

The original spec got this right: chunking etc are something which is not relevant to the wsgi application code -- it is up to the server to implement the HTTP transport according to the HTTP spec, if it's purporting to be an HTTP server. 

James


More information about the Web-SIG mailing list