2013-10-21 13:06:19 +00:00
|
|
|
#########
|
|
|
|
|
Responses
|
|
|
|
|
#########
|
|
|
|
|
|
2013-10-28 15:58:18 +00:00
|
|
|
.. currentmodule:: django_downloadview.response
|
2013-10-21 13:06:19 +00:00
|
|
|
|
2013-10-28 15:58:18 +00:00
|
|
|
Views return :class:`DownloadResponse`.
|
2013-10-21 13:06:19 +00:00
|
|
|
|
2013-10-28 15:58:18 +00:00
|
|
|
Middlewares (and decorators) are given the opportunity to capture responses and
|
|
|
|
|
convert them to :class:`ProxiedDownloadResponse`.
|
2013-10-21 13:06:19 +00:00
|
|
|
|
|
|
|
|
|
2013-10-28 15:58:18 +00:00
|
|
|
****************
|
|
|
|
|
DownloadResponse
|
|
|
|
|
****************
|
2013-10-21 13:06:19 +00:00
|
|
|
|
2013-10-28 15:58:18 +00:00
|
|
|
.. autoclass:: DownloadResponse
|
|
|
|
|
:members:
|
|
|
|
|
:undoc-members:
|
|
|
|
|
:show-inheritance:
|
|
|
|
|
:member-order: bysource
|
2013-10-21 13:06:19 +00:00
|
|
|
|
2013-10-28 15:58:18 +00:00
|
|
|
|
|
|
|
|
***********************
|
|
|
|
|
ProxiedDownloadResponse
|
|
|
|
|
***********************
|
|
|
|
|
|
|
|
|
|
.. autoclass:: ProxiedDownloadResponse
|
|
|
|
|
:members:
|
|
|
|
|
:undoc-members:
|
|
|
|
|
:show-inheritance:
|
|
|
|
|
:member-order: bysource
|