diff --git a/docs/ref/request-response.txt b/docs/ref/request-response.txt index 1788e06baa..fa8baf0783 100644 --- a/docs/ref/request-response.txt +++ b/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