jazzband / django-downloadview

Serve files with Django.
https://django-downloadview.readthedocs.io
Other
380 stars 58 forks source link

Allow XResponses to keep original headers provided to base response #212

Closed sevdog closed 1 month ago

sevdog commented 1 month ago

Currently the middleware re-initialize a new response, this cause the loss of any previously set header.

This aims to provide such possibility when using the current codebase.

See #205