Ticket #13336: 13336.patch
File 13336.patch, 452 bytes (added by , 15 years ago) |
---|
-
docs/ref/request-response.txt
434 434 To set a header in your response, just treat it like a dictionary:: 435 435 436 436 >>> response = HttpResponse() 437 >>> response[' Pragma'] = 'no-cache'437 >>> response['Cache-Control'] = 'no-cache' 438 438 439 439 .. versionadded:: 1.1 440 440