diff options
| author | Chris McDonough <chrism@agendaless.com> | 2009-12-27 22:47:08 +0000 |
|---|---|---|
| committer | Chris McDonough <chrism@agendaless.com> | 2009-12-27 22:47:08 +0000 |
| commit | 8c56ae41b6f0221d72f1a255ce1a3ac467b98d79 (patch) | |
| tree | d310d7be53ae0f4760e09b437975dcebce52d02b /docs/narr/webob.rst | |
| parent | d7b12a30237d51d761cab0b08c5da1163ea534ee (diff) | |
| download | pyramid-8c56ae41b6f0221d72f1a255ce1a3ac467b98d79.tar.gz pyramid-8c56ae41b6f0221d72f1a255ce1a3ac467b98d79.tar.bz2 pyramid-8c56ae41b6f0221d72f1a255ce1a3ac467b98d79.zip | |
- Added manual index entries to generated index.
Diffstat (limited to 'docs/narr/webob.rst')
| -rw-r--r-- | docs/narr/webob.rst | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/docs/narr/webob.rst b/docs/narr/webob.rst index c4bd568c7..91413efd0 100644 --- a/docs/narr/webob.rst +++ b/docs/narr/webob.rst @@ -36,6 +36,9 @@ document. The `reference documentation <http://pythonpaste.org/webob/reference.html>`_ shows many examples of creating requests. +.. index:: + single: request object + Request ~~~~~~~ @@ -155,6 +158,9 @@ If it is set, then ``req.POST``, ``req.GET``, ``req.params``, and corresponding ``req.str_*`` (like ``req.str_POST``) that is always ``str`` and never unicode. +.. index:: + single: response object + Response ~~~~~~~~ @@ -222,6 +228,9 @@ Here's the highlights: ``conditional_response=True`` when instantiating (or set that attribute later). It can also do HEAD and Range requests. +.. index:: + pair: response; headers + Headers +++++++ @@ -249,7 +258,10 @@ The status defaults to ``'200 OK'``. The content_type does not default to anything, though if you subclass ``Response`` and set ``default_content_type`` you can override this behavior. -Exceptions +.. index:: + pair: WebOb; exceptions + +xceptions ++++++++++ To facilitate error responses like 404 Not Found, the module @@ -290,6 +302,9 @@ The exceptions are still WSGI applications, but you cannot set attributes like ``content_type``, ``charset``, etc. on these exception objects. +.. index:: + pair: WebOb; multidict + Multidict +++++++++ |
