summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
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
---------------------------