diff options
| author | Chris McDonough <chrism@agendaless.com> | 2009-12-28 23:17:55 +0000 |
|---|---|---|
| committer | Chris McDonough <chrism@agendaless.com> | 2009-12-28 23:17:55 +0000 |
| commit | 016a1fcd164a7389c072b9ef5c247039355bc6ec (patch) | |
| tree | d17f789549fde69a29677500302804bdf85ecdeb /docs/narr | |
| parent | 44f1df7b7cec671fec92ead513804e52e63eb76d (diff) | |
| download | pyramid-016a1fcd164a7389c072b9ef5c247039355bc6ec.tar.gz pyramid-016a1fcd164a7389c072b9ef5c247039355bc6ec.tar.bz2 pyramid-016a1fcd164a7389c072b9ef5c247039355bc6ec.zip | |
Fix margin overruns.
Diffstat (limited to 'docs/narr')
| -rw-r--r-- | docs/narr/webob.rst | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/docs/narr/webob.rst b/docs/narr/webob.rst index be7abd3b9..6f2b9ff21 100644 --- a/docs/narr/webob.rst +++ b/docs/narr/webob.rst @@ -207,13 +207,12 @@ Here's the highlights: This optional attribute can point to the request object associated with this response object. -``response.set_cookie(key, value, max_age=None, path='/', - domain=None, secure=None, httponly=False, - version=None, comment=None)``: - Set a cookie. The keyword arguments control the various cookie +``response.set_cookie(key, value, max_age=None, path='/', ...)``: Set + a cookie. The keyword arguments control the various cookie parameters. The ``max_age`` argument is the length for the cookie to live in seconds (you may also use a timedelta object). The - `Expires`` key will also be set based on the value of ``max_age``. + ``Expires`` key will also be set based on the value of + ``max_age``. ``response.delete_cookie(key, path='/', domain=None)``: Delete a cookie from the client. This sets ``max_age`` to 0 and |
