summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2012-02-22 20:02:03 -0500
committerChris McDonough <chrism@plope.com>2012-02-22 20:02:03 -0500
commit6b3cca0d548c0c3bcec62902f5b261df4e7c1d1e (patch)
tree453a3aaeba0a22472aeefe58af3d720abeeae00f /docs
parent08f805a360185c648bfeccbbe568a97f0f036a0c (diff)
downloadpyramid-6b3cca0d548c0c3bcec62902f5b261df4e7c1d1e.tar.gz
pyramid-6b3cca0d548c0c3bcec62902f5b261df4e7c1d1e.tar.bz2
pyramid-6b3cca0d548c0c3bcec62902f5b261df4e7c1d1e.zip
- New APIs: ``pyramid.response.FileResponse`` and
``pyramid.response.FileIter``, for usage in views that must serve files "manually".
Diffstat (limited to 'docs')
-rw-r--r--docs/api/response.rst5
-rw-r--r--docs/whatsnew-1.3.rst4
2 files changed, 9 insertions, 0 deletions
diff --git a/docs/api/response.rst b/docs/api/response.rst
index 8020b629a..52978a126 100644
--- a/docs/api/response.rst
+++ b/docs/api/response.rst
@@ -9,6 +9,11 @@
:members:
:inherited-members:
+.. autoclass:: FileResponse
+ :members:
+
+.. autoclass:: FileIter
+
Functions
~~~~~~~~~
diff --git a/docs/whatsnew-1.3.rst b/docs/whatsnew-1.3.rst
index 101caed94..daa1ffdec 100644
--- a/docs/whatsnew-1.3.rst
+++ b/docs/whatsnew-1.3.rst
@@ -354,6 +354,10 @@ Minor Feature Additions
can be used to replace the respective default values of
``request.application_url`` partially.
+- New APIs: :class:`pyramid.response.FileResponse` and
+ :class:`pyramid.response.FileIter`, for usage in views that must serve
+ files "manually".
+
Backwards Incompatibilities
---------------------------