diff options
| author | Chris McDonough <chrism@agendaless.com> | 2009-12-27 15:32:14 +0000 |
|---|---|---|
| committer | Chris McDonough <chrism@agendaless.com> | 2009-12-27 15:32:14 +0000 |
| commit | e4e3aa3449d3ae390402a9cead205626816a2938 (patch) | |
| tree | cdab3582902124055fedfb3d0320157c983638fe /docs/narr/webob.rst | |
| parent | 878328bdfc3b5ac832f1728e4a0461e3129cf8d4 (diff) | |
| download | pyramid-e4e3aa3449d3ae390402a9cead205626816a2938.tar.gz pyramid-e4e3aa3449d3ae390402a9cead205626816a2938.tar.bz2 pyramid-e4e3aa3449d3ae390402a9cead205626816a2938.zip | |
Rendering cleanups.
Diffstat (limited to 'docs/narr/webob.rst')
| -rw-r--r-- | docs/narr/webob.rst | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/docs/narr/webob.rst b/docs/narr/webob.rst index 8dbdef6f2..c4bd568c7 100644 --- a/docs/narr/webob.rst +++ b/docs/narr/webob.rst @@ -53,16 +53,16 @@ object: The request method, e.g., ``'GET'``, ``'POST'`` ``req.GET``: - A `dictionary-like object`_ with all the variables in the query + A :term:`multidict` with all the variables in the query string. ``req.POST``: - A `dictionary-like object`_ with all the variables in the request + A :term:`multidict` with all the variables in the request body. This only has variables if the request was a ``POST`` and it is a form submission. ``req.params``: - A `dictionary-like object`_ with a combination of everything in + A :term:`multidict` with a combination of everything in ``req.GET`` and ``req.POST``. ``req.body``: @@ -85,8 +85,6 @@ object: <http://routes.groovie.org/>`_ and `Selector <http://lukearno.com/projects/selector/>`_. -.. _`dictionary-like object`: #multidict - Also, for standard HTTP request headers there are usually attributes, for instance: ``req.accept_language``, ``req.content_length``, ``req.user_agent``, as an example. These properties expose the @@ -171,8 +169,8 @@ WSGI): ``response.headerlist``: A list of all the headers, like ``[('Content-Type', - 'text/html')]``. There's a case-insensitive `dictionary-like - object`_ in ``response.headers`` that also allows you to access + 'text/html')]``. There's a case-insensitive :term:`multidict` + in ``response.headers`` that also allows you to access these same headers. ``response.app_iter``: |
