elarson / PACK
A simple wrapper to use a returned tuple instead of using start response in WSGI. This was discussed at Pycon 2009 and was agreed upon my all the parties invovled.
PACK: Looking to WSGI 2.0
During PyCon 2009 it was discussed how to improve WSGI in order to implement the second version of the spec. One of the issues raised was the returning of a tuple instead of using a start response function to trigger returning the response to the client. Effectively, instead of doing:
You would return:
The idea is that this makes writing middleware much simpler and straightforward.
PACK is then an implementation of this change so you can use it within a web framework or existing WSGI stack and evaluate the change.
This revision is from 2009-03-30 17:38
