Skip to content

Commit

Permalink
Fixed #13336 -- Corrected an incorrect example of cache header usage.…
Browse files Browse the repository at this point in the history
… Thanks to dnjuls for the report, and claudep for the patch.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@13129 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information
freakboy3742 committed May 8, 2010
1 parent 19826d9 commit 0cb2ae9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/ref/request-response.txt
Expand Up @@ -434,7 +434,7 @@ Setting headers
To set a header in your response, just treat it like a dictionary::

>>> response = HttpResponse()
>>> response['Pragma'] = 'no-cache'
>>> response['Cache-Control'] = 'no-cache'

.. versionadded:: 1.1

Expand Down

0 comments on commit 0cb2ae9

Please sign in to comment.