diff options
| author | Bert JW Regeer <bertjw@regeer.org> | 2016-11-17 21:21:06 -0700 |
|---|---|---|
| committer | Bert JW Regeer <bertjw@regeer.org> | 2016-11-17 22:42:15 -0700 |
| commit | 5be7ff4c90a5d0f28928159cc16588504812b3b2 (patch) | |
| tree | be601fbcf403cd3190f8805608a526214724ceea | |
| parent | ec0b058ab9819837ae662f829fba893f39760fe9 (diff) | |
| download | webob-bugfix/set_cookie_datetime.tar.gz | |
Add documentation that datetime should be in the futurebugfix/set_cookie_datetime
| -rw-r--r-- | webob/response.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/webob/response.py b/webob/response.py index 9a606de..94de6f2 100644 --- a/webob/response.py +++ b/webob/response.py @@ -1026,6 +1026,9 @@ class Response(object): local time are not supported. Timezone aware ``datetime.datetime`` objects are converted to UTC. + ``expires`` should be set in the future, if it is set in the past a + RuntimeWarning will be issued. + This argument will be removed in future versions of WebOb (version 1.9). |
