diff options
| author | Casey Duncan <casey.duncan@gmail.com> | 2010-12-10 22:06:11 -0700 |
|---|---|---|
| committer | Casey Duncan <casey.duncan@gmail.com> | 2010-12-10 22:06:11 -0700 |
| commit | 8319bdc517290079331e2315c421289c965502b8 (patch) | |
| tree | 5bc3bb73d9f879055cb8c238b4a3d3cd88ad9173 /docs | |
| parent | 128a6bbd0ca92bfaebb586780a914ae56a7c2e71 (diff) | |
| download | pyramid-8319bdc517290079331e2315c421289c965502b8.tar.gz pyramid-8319bdc517290079331e2315c421289c965502b8.tar.bz2 pyramid-8319bdc517290079331e2315c421289c965502b8.zip | |
clarify reponse.status/status_int
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/narr/webob.rst | 5 |
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', |
