[IMP] http move db dispatching on the orm level
authorAntony Lesuisse <al@openerp.com>
Sun, 10 Nov 2013 01:46:09 +0000 (02:46 +0100)
committerAntony Lesuisse <al@openerp.com>
Sun, 10 Nov 2013 01:46:09 +0000 (02:46 +0100)
commitd50577b69d6d529b51341ab883aa14c98c66ed65
tree2ef0cc0602aa53fbedc387398c987e78d07af2c2
parentc9a7e69a7585089e5835eb12d09e5250b9a12b22
[IMP] http move db dispatching on the orm level
Split low level dispatching and high level dispatching.
Low level dispatching is used when the db is unknown it's only used by a few
controller in base and web.
High level dispatching is used when the db is known, it is used by most
controllers and it handles authentication and errors. Because it's a regular
osv object all it is fully overridable by openerp modules.

bzr revid: al@openerp.com-20131110014609-io03vspj2q1wtqa0
openerp/addons/base/ir/__init__.py
openerp/addons/base/ir/ir_http.py [new file with mode: 0644]
openerp/http.py