summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorBert JW Regeer <bertjw@regeer.org>2016-11-18 16:18:44 -0700
committerBert JW Regeer <bertjw@regeer.org>2016-11-18 16:18:44 -0700
commit8210ba1f9ceaa41a475381207a65b032553b768c (patch)
tree1faa26471f3e98817f9090e5ad2c5a2d4f1ee743 /docs
parent6c5dba1133ee44ba670b9f69998e756d40e6d52a (diff)
downloadwebob-8210ba1f9ceaa41a475381207a65b032553b768c.tar.gz
Update docs index.txt
Diffstat (limited to 'docs')
-rw-r--r--docs/index.txt9
1 files changed, 2 insertions, 7 deletions
diff --git a/docs/index.txt b/docs/index.txt
index b34246e..6e2ae17 100644
--- a/docs/index.txt
+++ b/docs/index.txt
@@ -192,15 +192,10 @@ Here are the highlights:
``response.content_type_params`` is a dictionary of all the
parameters.
-``response.request``:
- 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)``:
+``response.set_cookie(name=None, value='', max_age=None, path='/', domain=None, secure=False, httponly=False, comment=None, overwrite=False)``:
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``.
+ to live in seconds (you may also use a timedelta object).
``response.delete_cookie(key, path='/', domain=None)``:
Delete a cookie from the client. This sets ``max_age`` to 0 and