From 8c56ae41b6f0221d72f1a255ce1a3ac467b98d79 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sun, 27 Dec 2009 22:47:08 +0000 Subject: - Added manual index entries to generated index. --- docs/narr/webob.rst | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) (limited to 'docs/narr/webob.rst') 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 `_ 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 +++++++++ -- cgit v1.2.3