Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[1.1.X] Fixed #13336 -- Corrected an incorrect example of cache heade…

…r usage. Thanks to dnjuls for the report, and claudep for the patch.

Backport of r13129 from trunk.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 176f1c1c4543794bd74f2c817dd4758a3b6489fc 1 parent e6167e5
Russell Keith-Magee freakboy3742 authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  docs/ref/request-response.txt
2  docs/ref/request-response.txt
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.