Casey Duncan
2010-12-11 8319bdc517290079331e2315c421289c965502b8
clarify reponse.status/status_int
1 files modified
5 ■■■■■ changed files
docs/narr/webob.rst 5 ●●●●● patch | view | raw | blame | history
docs/narr/webob.rst
@@ -231,8 +231,9 @@
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',