|
@@ -651,11 +651,7 @@ Methods
|
|
|
Returns ``True`` or ``False`` based on a case-insensitive check for a
|
|
|
header with the given name.
|
|
|
|
|
|
-.. method:: HttpResponse.set_cookie(key, value='', max_age=None, expires=None, path='/', domain=None, secure=None, httponly=True)
|
|
|
-
|
|
|
- .. versionchanged:: 1.4
|
|
|
-
|
|
|
- The default value for httponly was changed from ``False`` to ``True``.
|
|
|
+.. method:: HttpResponse.set_cookie(key, value='', max_age=None, expires=None, path='/', domain=None, secure=None, httponly=False)
|
|
|
|
|
|
Sets a cookie. The parameters are the same as in the :class:`Cookie.Morsel`
|
|
|
object in the Python standard library.
|