diff options
| author | Claude Paroz <claude@2xlibre.net> | 2012-08-22 18:06:03 +0200 |
|---|---|---|
| committer | Claude Paroz <claude@2xlibre.net> | 2012-08-22 20:55:24 +0200 |
| commit | 7cfe8e8fce7677ec696f42a7d1501a97e8191a3d (patch) | |
| tree | 1d751731d3c996ba8f6cdeee097300bbff3de51f /docs | |
| parent | e2b4eddc11b391bc0047032776e9ca7c2f9328b3 (diff) | |
Fixed #11340 -- Prevented HttpResponseNotModified to have content/content-type
The HTTP 1.1 spec tells that the 304 response MUST NOT contain a
message body.
Thanks aparajita for the report.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/request-response.txt | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/ref/request-response.txt b/docs/ref/request-response.txt index 551ee00c6b..8d514dc533 100644 --- a/docs/ref/request-response.txt +++ b/docs/ref/request-response.txt @@ -743,8 +743,9 @@ types of HTTP responses. Like ``HttpResponse``, these subclasses live in .. class:: HttpResponseNotModified - The constructor doesn't take any arguments. Use this to designate that a - page hasn't been modified since the user's last request (status code 304). + The constructor doesn't take any arguments and no content should be added + to this response. Use this to designate that a page hasn't been modified + since the user's last request (status code 304). .. class:: HttpResponseBadRequest |
