[FIX] http.dispatch: call handle_exception() even w/ session missing/expired
authorOlivier Dony <odo@openerp.com>
Wed, 25 Jun 2014 15:41:24 +0000 (17:41 +0200)
committerOlivier Dony <odo@openerp.com>
Wed, 25 Jun 2014 15:41:40 +0000 (17:41 +0200)
commit141e1b2615ee992b111da7d7a2070f25b5de8318
treef3d6b7514dfa74624024c448a9789c9034bcbe83
parentbac08227e28fcd8fb16ea173308761ff1a8ad6f3
[FIX] http.dispatch: call handle_exception() even w/ session missing/expired

This gives JSONRequests a chance to return
a proper JSON-RPC result when an HTTPException
is raised downstream, instead of returning a
plain HTML 404 error.
openerp/http.py