Skip to content
This repository has been archived by the owner on Dec 3, 2019. It is now read-only.

Deal with StreamingHttpResponse in disk renderer #20

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

pcraston
Copy link

StreamingHttpResponse does not have a content attribute, so medusa fails here.

Need to iterate over response.streaming_content if response is StreamingHttpResponse and save it otherwise save response.content

Iterate over streaming_content if response is StreamingHttpResponse,
otherwise use content
luca bocchi and others added 2 commits May 8, 2015 14:36
…-302

renderers.disk._disk_render_path: fix for handling HTTP response status codes 301 or 302 (redirect)
kezabelle added a commit to kezabelle/django-jackfrost that referenced this pull request Jun 1, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants