From e4e3aa3449d3ae390402a9cead205626816a2938 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sun, 27 Dec 2009 15:32:14 +0000 Subject: Rendering cleanups. --- docs/narr/webob.rst | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'docs/narr/webob.rst') 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: `_ and `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``: -- cgit v1.2.3