doc/book/en/devweb/request.rst
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Thu, 14 Oct 2010 00:10:07 +0200
changeset 6486 2b3fa6fb647b
parent 5458 a5b96b98242c
child 6832 f392e4fb36ec
permissions -rw-r--r--
[doc] kill deprecated french documentation
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1714
a721966779be new book layout, do not compile yet
sylvain.thenault@logilab.fr
parents:
diff changeset
     1
The `Request` class (`cubicweb.web`)
5290
15846058378b [doc/book] fix a bit the request chapter, add autodoc
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5231
diff changeset
     2
------------------------------------
15846058378b [doc/book] fix a bit the request chapter, add autodoc
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5231
diff changeset
     3
15846058378b [doc/book] fix a bit the request chapter, add autodoc
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5231
diff changeset
     4
Overview
15846058378b [doc/book] fix a bit the request chapter, add autodoc
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5231
diff changeset
     5
````````
1714
a721966779be new book layout, do not compile yet
sylvain.thenault@logilab.fr
parents:
diff changeset
     6
5458
a5b96b98242c [doc/book] complete a bit the request api
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5394
diff changeset
     7
A request instance is created when an HTTP request is sent to the web
a5b96b98242c [doc/book] complete a bit the request api
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5394
diff changeset
     8
server.  It contains informations such as form parameters,
a5b96b98242c [doc/book] complete a bit the request api
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5394
diff changeset
     9
authenticated user, etc. It is a very prevalent object and is used
a5b96b98242c [doc/book] complete a bit the request api
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5394
diff changeset
    10
throughout all of the framework and applications.
1714
a721966779be new book layout, do not compile yet
sylvain.thenault@logilab.fr
parents:
diff changeset
    11
5458
a5b96b98242c [doc/book] complete a bit the request api
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5394
diff changeset
    12
**A request represents a user query, either through HTTP or not (we
a5b96b98242c [doc/book] complete a bit the request api
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5394
diff changeset
    13
also talk about RQL queries on the server side for example).**
a5b96b98242c [doc/book] complete a bit the request api
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5394
diff changeset
    14
a5b96b98242c [doc/book] complete a bit the request api
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5394
diff changeset
    15
Here is a non-exhaustive list of attributes and methods available on
a5b96b98242c [doc/book] complete a bit the request api
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5394
diff changeset
    16
request objects (grouped by category):
1714
a721966779be new book layout, do not compile yet
sylvain.thenault@logilab.fr
parents:
diff changeset
    17
5458
a5b96b98242c [doc/book] complete a bit the request api
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5394
diff changeset
    18
* `Browser control`:
1714
a721966779be new book layout, do not compile yet
sylvain.thenault@logilab.fr
parents:
diff changeset
    19
5458
a5b96b98242c [doc/book] complete a bit the request api
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5394
diff changeset
    20
  * `ie_browser`: tells if the browser belong to the Internet Explorer
a5b96b98242c [doc/book] complete a bit the request api
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5394
diff changeset
    21
    family
a5b96b98242c [doc/book] complete a bit the request api
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5394
diff changeset
    22
  * `xhtml_browser`: tells if the browser is able to properly handle
a5b96b98242c [doc/book] complete a bit the request api
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5394
diff changeset
    23
    XHTML (at the HTTP content_type level)
1714
a721966779be new book layout, do not compile yet
sylvain.thenault@logilab.fr
parents:
diff changeset
    24
5458
a5b96b98242c [doc/book] complete a bit the request api
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5394
diff changeset
    25
* `User and identification`:
a5b96b98242c [doc/book] complete a bit the request api
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5394
diff changeset
    26
a5b96b98242c [doc/book] complete a bit the request api
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5394
diff changeset
    27
  * `user`, instance of `cubicweb.common.utils.User` corresponding to
a5b96b98242c [doc/book] complete a bit the request api
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5394
diff changeset
    28
    the authenticated user
1714
a721966779be new book layout, do not compile yet
sylvain.thenault@logilab.fr
parents:
diff changeset
    29
5290
15846058378b [doc/book] fix a bit the request chapter, add autodoc
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5231
diff changeset
    30
* `Session data handling`
15846058378b [doc/book] fix a bit the request chapter, add autodoc
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5231
diff changeset
    31
1714
a721966779be new book layout, do not compile yet
sylvain.thenault@logilab.fr
parents:
diff changeset
    32
  * `session_data()`, returns a dictionary containing all the session data
a721966779be new book layout, do not compile yet
sylvain.thenault@logilab.fr
parents:
diff changeset
    33
  * `get_session_data(key, default=None)`, returns a value associated to the given
a721966779be new book layout, do not compile yet
sylvain.thenault@logilab.fr
parents:
diff changeset
    34
    key or the value `default` if the key is not defined
a721966779be new book layout, do not compile yet
sylvain.thenault@logilab.fr
parents:
diff changeset
    35
  * `set_session_data(key, value)`, assign a value to a key
a721966779be new book layout, do not compile yet
sylvain.thenault@logilab.fr
parents:
diff changeset
    36
  * `del_session_data(key)`,  suppress the value associated to a key
a721966779be new book layout, do not compile yet
sylvain.thenault@logilab.fr
parents:
diff changeset
    37
5458
a5b96b98242c [doc/book] complete a bit the request api
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5394
diff changeset
    38
* `Edition` (utilities for edition control):
a5b96b98242c [doc/book] complete a bit the request api
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5394
diff changeset
    39
a5b96b98242c [doc/book] complete a bit the request api
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5394
diff changeset
    40
  * `cancel_edition`: resets error url and cleans up pending operations
a5b96b98242c [doc/book] complete a bit the request api
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5394
diff changeset
    41
  * `create_entity`: utility to create an entity (from an etype,
a5b96b98242c [doc/book] complete a bit the request api
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5394
diff changeset
    42
    attributes and relation values)
a5b96b98242c [doc/book] complete a bit the request api
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5394
diff changeset
    43
  * `datadir_url`: returns the url to the merged external resources
a5b96b98242c [doc/book] complete a bit the request api
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5394
diff changeset
    44
    (|cubicweb|'s `web/data` directory plus all `data` directories of
a5b96b98242c [doc/book] complete a bit the request api
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5394
diff changeset
    45
    used cubes)
a5b96b98242c [doc/book] complete a bit the request api
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5394
diff changeset
    46
  * `edited_eids`: returns the list of eids of entities that are
a5b96b98242c [doc/book] complete a bit the request api
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5394
diff changeset
    47
    edited under the current http request
a5b96b98242c [doc/book] complete a bit the request api
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5394
diff changeset
    48
  * `eid_rset(eid)`: utility which returns a result set from an eid
a5b96b98242c [doc/book] complete a bit the request api
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5394
diff changeset
    49
  * `entity_from_eid(eid)`: returns an entity instance from the given eid
a5b96b98242c [doc/book] complete a bit the request api
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5394
diff changeset
    50
  * `encoding`: returns the encoding of the current HTTP request
a5b96b98242c [doc/book] complete a bit the request api
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5394
diff changeset
    51
  * `ensure_ro_rql(rql)`: ensure some rql query is a data request
a5b96b98242c [doc/book] complete a bit the request api
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5394
diff changeset
    52
  * etype_rset
a5b96b98242c [doc/book] complete a bit the request api
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5394
diff changeset
    53
  * `form`, dictionary containing the values of a web form
a5b96b98242c [doc/book] complete a bit the request api
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5394
diff changeset
    54
  * `encoding`, character encoding to use in the response
a5b96b98242c [doc/book] complete a bit the request api
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5394
diff changeset
    55
  * `next_tabindex()`: returns a monotonically growing integer used to
a5b96b98242c [doc/book] complete a bit the request api
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5394
diff changeset
    56
    build the html tab index of forms
a5b96b98242c [doc/book] complete a bit the request api
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5394
diff changeset
    57
a5b96b98242c [doc/book] complete a bit the request api
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5394
diff changeset
    58
* `HTTP`
a5b96b98242c [doc/book] complete a bit the request api
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5394
diff changeset
    59
a5b96b98242c [doc/book] complete a bit the request api
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5394
diff changeset
    60
  * `authmode`: returns a string describing the authentication mode
a5b96b98242c [doc/book] complete a bit the request api
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5394
diff changeset
    61
    (http, cookie, ...)
a5b96b98242c [doc/book] complete a bit the request api
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5394
diff changeset
    62
  * `lang`: returns the user agents/browser's language as carried by
a5b96b98242c [doc/book] complete a bit the request api
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5394
diff changeset
    63
    the http request
a5b96b98242c [doc/book] complete a bit the request api
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5394
diff changeset
    64
  * `demote_to_html()`: in the context of an XHTML compliant browser,
a5b96b98242c [doc/book] complete a bit the request api
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5394
diff changeset
    65
    this will force emission of the response as an HTML document
a5b96b98242c [doc/book] complete a bit the request api
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5394
diff changeset
    66
    (using the http content negociation)
a5b96b98242c [doc/book] complete a bit the request api
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5394
diff changeset
    67
5290
15846058378b [doc/book] fix a bit the request chapter, add autodoc
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5231
diff changeset
    68
*  `Cookies handling`
1714
a721966779be new book layout, do not compile yet
sylvain.thenault@logilab.fr
parents:
diff changeset
    69
a721966779be new book layout, do not compile yet
sylvain.thenault@logilab.fr
parents:
diff changeset
    70
  * `get_cookie()`, returns a dictionary containing the value of the header
a721966779be new book layout, do not compile yet
sylvain.thenault@logilab.fr
parents:
diff changeset
    71
    HTTP 'Cookie'
a721966779be new book layout, do not compile yet
sylvain.thenault@logilab.fr
parents:
diff changeset
    72
  * `set_cookie(cookie, key, maxage=300)`, adds a header HTTP `Set-Cookie`,
a721966779be new book layout, do not compile yet
sylvain.thenault@logilab.fr
parents:
diff changeset
    73
    with a minimal 5 minutes length of duration by default (`maxage` = None
a721966779be new book layout, do not compile yet
sylvain.thenault@logilab.fr
parents:
diff changeset
    74
    returns a *session* cookie which will expire when the user closes the browser
a721966779be new book layout, do not compile yet
sylvain.thenault@logilab.fr
parents:
diff changeset
    75
    window)
a721966779be new book layout, do not compile yet
sylvain.thenault@logilab.fr
parents:
diff changeset
    76
  * `remove_cookie(cookie, key)`, forces a value to expire
a721966779be new book layout, do not compile yet
sylvain.thenault@logilab.fr
parents:
diff changeset
    77
5290
15846058378b [doc/book] fix a bit the request chapter, add autodoc
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5231
diff changeset
    78
* `URL handling`
15846058378b [doc/book] fix a bit the request chapter, add autodoc
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5231
diff changeset
    79
5458
a5b96b98242c [doc/book] complete a bit the request api
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5394
diff changeset
    80
  * `build_url(__vid, *args, **kwargs)`: return an absolute URL using
a5b96b98242c [doc/book] complete a bit the request api
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5394
diff changeset
    81
    params dictionary key/values as URL parameters. Values are
a5b96b98242c [doc/book] complete a bit the request api
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5394
diff changeset
    82
    automatically URL quoted, and the publishing method to use may be
a5b96b98242c [doc/book] complete a bit the request api
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5394
diff changeset
    83
    specified or will be guessed.
a5b96b98242c [doc/book] complete a bit the request api
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5394
diff changeset
    84
  * `build_url_params(**kwargs)`: returns a properly prepared (quoted,
a5b96b98242c [doc/book] complete a bit the request api
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5394
diff changeset
    85
    separators, ...) string from the given parameters
4442
7bc0e4ed4109 fix stupid sed
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 4437
diff changeset
    86
  * `url()`, returns the full URL of the HTTP request
1714
a721966779be new book layout, do not compile yet
sylvain.thenault@logilab.fr
parents:
diff changeset
    87
  * `base_url()`, returns the root URL of the web application
4442
7bc0e4ed4109 fix stupid sed
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 4437
diff changeset
    88
  * `relative_path()`, returns the relative path of the request
1714
a721966779be new book layout, do not compile yet
sylvain.thenault@logilab.fr
parents:
diff changeset
    89
5458
a5b96b98242c [doc/book] complete a bit the request api
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5394
diff changeset
    90
* `Web resource (.css, .js files, etc.) handling`:
a5b96b98242c [doc/book] complete a bit the request api
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5394
diff changeset
    91
a5b96b98242c [doc/book] complete a bit the request api
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5394
diff changeset
    92
  * `add_css(cssfiles)`: adds the given list of css resources to the current
a5b96b98242c [doc/book] complete a bit the request api
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5394
diff changeset
    93
    html headers
a5b96b98242c [doc/book] complete a bit the request api
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5394
diff changeset
    94
  * `add_js(jsfiles)`: adds the given list of javascript resources to the
a5b96b98242c [doc/book] complete a bit the request api
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5394
diff changeset
    95
    current html headers
a5b96b98242c [doc/book] complete a bit the request api
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5394
diff changeset
    96
  * `add_onload(jscode)`: inject the given jscode fragment (an unicode
a5b96b98242c [doc/book] complete a bit the request api
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5394
diff changeset
    97
    string) into the current html headers, wrapped inside a
a5b96b98242c [doc/book] complete a bit the request api
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5394
diff changeset
    98
    document.ready(...) or another ajax-friendly one-time trigger event
a5b96b98242c [doc/book] complete a bit the request api
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5394
diff changeset
    99
  * `add_header(header, values)`: adds the header/value pair to the
a5b96b98242c [doc/book] complete a bit the request api
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5394
diff changeset
   100
    current html headers
a5b96b98242c [doc/book] complete a bit the request api
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5394
diff changeset
   101
5290
15846058378b [doc/book] fix a bit the request chapter, add autodoc
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5231
diff changeset
   102
* `And more...`
15846058378b [doc/book] fix a bit the request chapter, add autodoc
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5231
diff changeset
   103
1714
a721966779be new book layout, do not compile yet
sylvain.thenault@logilab.fr
parents:
diff changeset
   104
  * `set_content_type(content_type, filename=None)`, adds the header HTTP
a721966779be new book layout, do not compile yet
sylvain.thenault@logilab.fr
parents:
diff changeset
   105
    'Content-Type'
a721966779be new book layout, do not compile yet
sylvain.thenault@logilab.fr
parents:
diff changeset
   106
  * `get_header(header)`, returns the value associated to an arbitrary header
4442
7bc0e4ed4109 fix stupid sed
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 4437
diff changeset
   107
    of the HTTP request
1714
a721966779be new book layout, do not compile yet
sylvain.thenault@logilab.fr
parents:
diff changeset
   108
  * `set_header(header, value)`, adds an arbitrary header in the response
a721966779be new book layout, do not compile yet
sylvain.thenault@logilab.fr
parents:
diff changeset
   109
  * `cursor()` returns a RQL cursor on the session
a721966779be new book layout, do not compile yet
sylvain.thenault@logilab.fr
parents:
diff changeset
   110
  * `execute(*args, **kwargs)`, shortcut to ``.cursor().execute()``
a721966779be new book layout, do not compile yet
sylvain.thenault@logilab.fr
parents:
diff changeset
   111
  * `property_value(key)`, properties management (`CWProperty`)
a721966779be new book layout, do not compile yet
sylvain.thenault@logilab.fr
parents:
diff changeset
   112
  * dictionary `data` to store data to share informations between components
4442
7bc0e4ed4109 fix stupid sed
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 4437
diff changeset
   113
    *while a request is executed*
1714
a721966779be new book layout, do not compile yet
sylvain.thenault@logilab.fr
parents:
diff changeset
   114
a721966779be new book layout, do not compile yet
sylvain.thenault@logilab.fr
parents:
diff changeset
   115
Please note that this class is abstract and that a concrete implementation
a721966779be new book layout, do not compile yet
sylvain.thenault@logilab.fr
parents:
diff changeset
   116
will be provided by the *frontend* web used (in particular *twisted* as of
a721966779be new book layout, do not compile yet
sylvain.thenault@logilab.fr
parents:
diff changeset
   117
today). For the views or others that are executed on the server side,
a721966779be new book layout, do not compile yet
sylvain.thenault@logilab.fr
parents:
diff changeset
   118
most of the interface of `Request` is defined in the session associated
a721966779be new book layout, do not compile yet
sylvain.thenault@logilab.fr
parents:
diff changeset
   119
to the client.
5231
40f53867e332 [doc/book] misc fixes/enhancements & notes
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 4442
diff changeset
   120
5301
f4219a6e62e3 [doc/book] stuff a bit the publishing process (including various docstrings)
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5290
diff changeset
   121
API
f4219a6e62e3 [doc/book] stuff a bit the publishing process (including various docstrings)
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5290
diff changeset
   122
```
5231
40f53867e332 [doc/book] misc fixes/enhancements & notes
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 4442
diff changeset
   123
5290
15846058378b [doc/book] fix a bit the request chapter, add autodoc
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5231
diff changeset
   124
The elements we gave in overview for above are built in three layers,
15846058378b [doc/book] fix a bit the request chapter, add autodoc
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5231
diff changeset
   125
from ``cubicweb.req.RequestSessionBase``, ``cubicweb.dbapi.DBAPIRequest`` and
15846058378b [doc/book] fix a bit the request chapter, add autodoc
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5231
diff changeset
   126
``cubicweb.web.CubicWebRequestBase``.
15846058378b [doc/book] fix a bit the request chapter, add autodoc
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5231
diff changeset
   127
15846058378b [doc/book] fix a bit the request chapter, add autodoc
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5231
diff changeset
   128
.. autoclass:: cubicweb.req.RequestSessionBase
15846058378b [doc/book] fix a bit the request chapter, add autodoc
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5231
diff changeset
   129
   :members:
15846058378b [doc/book] fix a bit the request chapter, add autodoc
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5231
diff changeset
   130
15846058378b [doc/book] fix a bit the request chapter, add autodoc
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5231
diff changeset
   131
.. autoclass:: cubicweb.dbapi.DBAPIRequest
15846058378b [doc/book] fix a bit the request chapter, add autodoc
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5231
diff changeset
   132
   :members:
15846058378b [doc/book] fix a bit the request chapter, add autodoc
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5231
diff changeset
   133
15846058378b [doc/book] fix a bit the request chapter, add autodoc
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5231
diff changeset
   134
.. autoclass:: cubicweb.web.request.CubicWebRequestBase
15846058378b [doc/book] fix a bit the request chapter, add autodoc
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 5231
diff changeset
   135
   :members: