On Apr 15, 2005, at 3:52 PM, Blake Winton wrote:I'd personally love to see a common set of request/response/session objects (a la Paul's webstack) be adopted.
Isn't that what WSGI offers?
Perhaps I need to look closer but my assumption after a pass through the PIP a while ago was that it was more of standard way of getting the information to and from the framework ("middleware") and likely not meant to reach the presentation and controllerish code.
Well, at a certain level you could create the request object that you desire given the WSGI environment, and possibly extract that environment from request objects that already exist. However, that leaves an API disconnect that would probably be a bit uncomfortable. Admittedly, for ZPTKit I made a dictionary-like request object to make the transition from Zope easier (and because dictionary-like requests are easier to use).
I would like to see a more limited set of request object APIs, but you can't really do that in a backward-compatible way.
-- Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org _______________________________________________ Web-SIG mailing list Web-SIG@python.org Web SIG: http://www.python.org/sigs/web-sig Unsubscribe: http://mail.python.org/mailman/options/web-sig/archive%40mail-archive.com