diff options
| author | Steve Piercy <web@stevepiercy.com> | 2018-04-11 23:04:31 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-04-11 23:04:31 -0700 |
| commit | a851d05f76edc6bc6bf65269c20eeba7fe726ade (patch) | |
| tree | 32cc537b6a367d82f19f865676d2f3d6beb6cdd1 /docs | |
| parent | 9ebc009c5529fcc22eb6e72cb1ea61ef2516d5ff (diff) | |
| parent | 073facffe63ddb9f73106bec4266d4783bb32132 (diff) | |
| download | pyramid-a851d05f76edc6bc6bf65269c20eeba7fe726ade.tar.gz pyramid-a851d05f76edc6bc6bf65269c20eeba7fe726ade.tar.bz2 pyramid-a851d05f76edc6bc6bf65269c20eeba7fe726ade.zip | |
Merge pull request #3253 from jvanasco/fix-webob_updated
updated docs/interfaces to note change from webob 1.7/1.5
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/narr/webob.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/narr/webob.rst b/docs/narr/webob.rst index 406351562..4efe783b0 100644 --- a/docs/narr/webob.rst +++ b/docs/narr/webob.rst @@ -406,13 +406,13 @@ Here are some highlights: ``response.text``. ``response.content_type_params`` is a dictionary of all the parameters. -``response.set_cookie(key, value, max_age=None, path='/', ...)`` +``response.set_cookie(name, 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``. -``response.delete_cookie(key, path='/', domain=None)`` +``response.delete_cookie(name, path='/', domain=None)`` Delete a cookie from the client. This sets ``max_age`` to 0 and the cookie value to ``''``. |
