From 7527d33d98fe94c807297c1e976f7984f6061325 Mon Sep 17 00:00:00 2001 From: Grant Viklund Date: Wed, 22 May 2019 14:24:36 -0700 Subject: [PATCH] small change in returning a result --- reacttools/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reacttools/views.py b/reacttools/views.py index 813bec6..aab6a6c 100644 --- a/reacttools/views.py +++ b/reacttools/views.py @@ -175,7 +175,7 @@ def proxy(request, path): ) else: - result = http.StreamingHttpResponse( + return http.StreamingHttpResponse( streaming_content=response.iter_content(2 ** 12), content_type=content_type, status=response.status_code,