[FIX] developer/http: adapt to recent httppocalypse changes
See https://github.com/odoo/odoo/pull/78857 closes odoo/documentation#1640 Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
This commit is contained in:
parent
a75c78e9d4
commit
d4367c4d9a
@ -56,7 +56,7 @@ API
|
||||
Routing
|
||||
-------
|
||||
|
||||
.. autofunction:: odoo.http.route
|
||||
.. autodecorator:: odoo.http.route
|
||||
|
||||
.. _reference/http/request:
|
||||
|
||||
@ -64,15 +64,18 @@ Request
|
||||
-------
|
||||
|
||||
The request object is automatically set on :data:`odoo.http.request` at
|
||||
the start of the request
|
||||
the start of the request.
|
||||
|
||||
.. autoclass:: odoo.http.WebRequest
|
||||
.. autoclass:: odoo.http.Request
|
||||
:members:
|
||||
:member-order: bysource
|
||||
.. autoclass:: odoo.http.HttpRequest
|
||||
|
||||
.. autoclass:: odoo.http.JsonRPCDispatcher
|
||||
:members:
|
||||
.. autoclass:: odoo.http.JsonRequest
|
||||
:member-order: bysource
|
||||
.. autoclass:: odoo.http.HttpDispatcher
|
||||
:members:
|
||||
:member-order: bysource
|
||||
|
||||
Response
|
||||
--------
|
||||
|
@ -525,7 +525,7 @@ At a deeper level than the previous helper is the ``render`` method on
|
||||
Sets up a number of default values in the rendering context:
|
||||
|
||||
``request``
|
||||
the current :class:`~odoo.http.WebRequest` object, if any
|
||||
the current :class:`~odoo.http.Request` object, if any
|
||||
``debug``
|
||||
whether the current request (if any) is in ``debug`` mode
|
||||
:func:`quote_plus <werkzeug.urls.url_quote_plus>`
|
||||
|
Loading…
Reference in New Issue
Block a user