summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
authorChris Cahoon <chris.cahoon@gmail.com>2009-08-13 22:57:16 +0000
committerChris Cahoon <chris.cahoon@gmail.com>2009-08-13 22:57:16 +0000
commitbcec8b2c43bd3726fb764044a6e872168abef674 (patch)
treef933b33aa96a8b43ab07088d6d0fc03c760103cd /docs/ref
parentb15984b179953e93c74f47d06761c9a5c22b0716 (diff)
downloaddjango-soc2009/http-wsgi-improvements.tar.gz
[soc2009/http-wsgi-improvements] Update versions in docs for the various new HttpResponse features, and fixed an error on the argument list for HttpResponse.__init__.archive/soc2009/http-wsgi-improvementssoc2009/http-wsgi-improvements
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2009/http-wsgi-improvements@11450 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/request-response.txt6
-rw-r--r--docs/ref/settings.txt2
2 files changed, 6 insertions, 2 deletions
diff --git a/docs/ref/request-response.txt b/docs/ref/request-response.txt
index ebb20505af..5196162670 100644
--- a/docs/ref/request-response.txt
+++ b/docs/ref/request-response.txt
@@ -502,6 +502,8 @@ Methods
Otherwise, ``content_type`` is used. If neither is given, the
``DEFAULT_CONTENT_TYPE`` setting is used.
+ .. versionadded:: 1.2
+
``request`` is the request that triggered this response. It can be used in
the event that a view cares about dealing with request headers, in
particular the Accept-Charset header.
@@ -577,7 +579,7 @@ live in :mod:`django.http`.
.. class:: HttpResponseSendFile
- .. versionadded:: 1.1
+ .. versionadded:: 1.2
A special response class for efficient file serving. It informs the HTTP
protocol handler to use platform-specific file serving mechanism (if
@@ -599,7 +601,7 @@ live in :mod:`django.http`.
.. class:: HttpResponseStreaming
- .. versionadded:: 1.1
+ .. versionadded:: 1.2
A special response class that does not consume generators before returning
the response. To do this, it bypasses middleware that is not useful for
diff --git a/docs/ref/settings.txt b/docs/ref/settings.txt
index 0f0fd6802d..a2caf5a6a6 100644
--- a/docs/ref/settings.txt
+++ b/docs/ref/settings.txt
@@ -838,6 +838,8 @@ link). This is only used if ``CommonMiddleware`` is installed (see
SENDFILE_HEADER
-----------------------------
+.. versionadded:: 1.2
+
Default: ``None``
If not ``None``, this defines the header that an :func:`~django.http.HttpResponseSendFile`