I am tring to inherit HttpRequest class and override disptch method , so i did the following :
from openerp.addons import web
class my_httprequest(web.http.HttpRequest):
def dispatch(self, method):# new code
however the original dispatch method is still being executed