diff options
| author | Fabien Meghazi <fme@openerp.com> | 2014-02-26 17:44:07 +0100 |
|---|---|---|
| committer | Fabien Meghazi <fme@openerp.com> | 2014-02-26 17:44:07 +0100 |
| commit | 992975f2368166627dc0717009edc9e441cf0e45 (patch) | |
| tree | 02f4818b82b2930a5fc18c6096894fed97b0901b /addons/analytic_user_function/analytic_user_function.py | |
| parent | a900c2f44dbd6ed565f742c41a72f6a41ea81a75 (diff) | |
| parent | e2f92040dbff416b6494f75695296fed3bd230bb (diff) | |
[IMP] Improvement/changes to the http request/response API.
- Added http.Response object
- @http.route decorator wraps methods in order to convert returned value to Response object
- http.Request.func* variables moved to http.EndPoint class
- moved _first_arg_is_req backward compatibility feature in EndPoint class
- CORS support moved to new http.Request object
- Added a #render() helper on request object as a companion of #make_response() that will return a lazy qweb rendering response
- Extra check in routing_map() in order to forbid the chabge of request type in @http.route arguments inheritance
- Fix crash happening when no Host header is present in the request
bzr revid: fme@openerp.com-20140226164407-5avn72p20o3o4f7x
Diffstat (limited to 'addons/analytic_user_function/analytic_user_function.py')
0 files changed, 0 insertions, 0 deletions
