From 016a1fcd164a7389c072b9ef5c247039355bc6ec Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Mon, 28 Dec 2009 23:17:55 +0000 Subject: Fix margin overruns. --- docs/narr/webob.rst | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'docs/narr') 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 -- cgit v1.2.3