[Simpleweb-py-users] [simpleweb-py commit] r11 - in trunk/src/simpleweb: . extlib plugins
Status: Beta
Brought to you by:
essiene
From: <cod...@go...> - 2007-01-30 15:59:02
|
Author: essiene Date: Tue Jan 30 07:58:37 2007 New Revision: 11 Modified: trunk/src/simpleweb/TODO trunk/src/simpleweb/extlib/selector.py trunk/src/simpleweb/plugins/dblayer.py Log: plugins/dblayer.py * do_table_function() now catches AttributeError, and ignores it. This is because when we're trying to discover the method to call on the table objects, some valid types are pulled in, but are not the exact subclass we're looking for. Especially with SQLObject. extlib/selector.py * Add optional method dispatch by HTTP_X_PROTOTYPE_METHOD if available, else via REQUEST_METHOD, this is a custom header that i'm using in a patched version of prototype.js, to support PUT and DELETE tunneled thru POST. In preparation for integrating in prototype.js out of the box |