From 8319bdc517290079331e2315c421289c965502b8 Mon Sep 17 00:00:00 2001 From: Casey Duncan Date: Fri, 10 Dec 2010 22:06:11 -0700 Subject: clarify reponse.status/status_int --- docs/narr/webob.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'docs') 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', -- cgit v1.2.3