diff options
| author | jonathan vanasco <jonathan@2xlp.com> | 2018-04-11 13:42:58 -0400 |
|---|---|---|
| committer | jonathan vanasco <jonathan@2xlp.com> | 2018-04-11 13:42:58 -0400 |
| commit | fab055d611f44c5196d1b5acda3fce712fef62dc (patch) | |
| tree | 855ce5e5d53b4c9999829a08d17742b806d43de0 /docs/narr/webob.rst | |
| parent | 9ebc009c5529fcc22eb6e72cb1ea61ef2516d5ff (diff) | |
| download | pyramid-fab055d611f44c5196d1b5acda3fce712fef62dc.tar.gz pyramid-fab055d611f44c5196d1b5acda3fce712fef62dc.tar.bz2 pyramid-fab055d611f44c5196d1b5acda3fce712fef62dc.zip | |
updated docs/interfaces to note change in webob 1.7 of `set_cookie(key` to `set_cookie(name`
Diffstat (limited to 'docs/narr/webob.rst')
| -rw-r--r-- | docs/narr/webob.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/narr/webob.rst b/docs/narr/webob.rst index 406351562..5fd19e417 100644 --- a/docs/narr/webob.rst +++ b/docs/narr/webob.rst @@ -406,7 +406,7 @@ 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 |
