From 23288d1955b3188227c05c831e9e0ecae4fd161e Mon Sep 17 00:00:00 2001 From: Russell Keith-Magee Date: Tue, 15 Mar 2011 08:19:57 +0000 Subject: [PATCH] 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 --- docs/ref/request-response.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/ref/request-response.txt b/docs/ref/request-response.txt index 9a3321c2ab..eb34f1e147 100644 --- a/docs/ref/request-response.txt +++ b/docs/ref/request-response.txt @@ -605,7 +605,7 @@ Methods the domains www.lawrence.com, blogs.lawrence.com and calendars.lawrence.com. Otherwise, a cookie will only be readable by 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. HTTPOnly_ is a flag included in a Set-Cookie HTTP response