summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/narr/webob.rst5
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/narr/webob.rst b/docs/narr/webob.rst
index f8601c308..e6fe60b1d 100644
--- a/docs/narr/webob.rst
+++ b/docs/narr/webob.rst
@@ -231,8 +231,9 @@ for its original location: ``webob.Response``.
A response object has three fundamental parts:
``response.status``:
- The response code plus message, like ``'200 OK'``. To set the
- code without the reason, use ``response.status_int = 200``.
+ The response code plus reason message, like ``'200 OK'``. To set
+ the code without a message, use ``status_int``, i.e.:
+ ``response.status_int = 200``.
``response.headerlist``:
A list of all the headers, like ``[('Content-Type',