﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
13336	Document example for setting HttpResponse headers is misleading because it users wrong cache header	dnjuls	nobody	"In the HttpReponse documentation (http://docs.djangoproject.com/en/dev/ref/request-response/#django.http.HttpResponse) exists and example for setting headers in for the HttpResponse object.

The header used in the example response['Pragma'] = 'no-cache'

This header is intended for use in requests, not responses. See http://en.wikipedia.org/wiki/List_of_HTTP_headers#Avoiding_caching
Better use Cache-Control: no-cache 


"		closed	Documentation	dev		fixed	cache reponse headers		Ready for checkin	1	0	0	0	0	0
