mirror of https://github.com/django/django.git
Fixed #15594 -- Corrected typo in the docs on HTTPOnly cookies. Thanks to philwills for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15818 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
350a56ad49
commit
23288d1955
|
@ -605,7 +605,7 @@ Methods
|
||||||
the domains www.lawrence.com, blogs.lawrence.com and
|
the domains www.lawrence.com, blogs.lawrence.com and
|
||||||
calendars.lawrence.com. Otherwise, a cookie will only be readable by
|
calendars.lawrence.com. Otherwise, a cookie will only be readable by
|
||||||
the domain that set it.
|
the domain that set it.
|
||||||
* Use ``http_only=True`` if you want to prevent client-side
|
* Use ``httponly=True`` if you want to prevent client-side
|
||||||
JavaScript from having access to the cookie.
|
JavaScript from having access to the cookie.
|
||||||
|
|
||||||
HTTPOnly_ is a flag included in a Set-Cookie HTTP response
|
HTTPOnly_ is a flag included in a Set-Cookie HTTP response
|
||||||
|
|
Loading…
Reference in New Issue