|
@@ -120,6 +120,10 @@ class Response:
|
|
if disp_type == "attachment" or filename is not None:
|
|
if disp_type == "attachment" or filename is not None:
|
|
return True
|
|
return True
|
|
|
|
|
|
|
|
+
|
|
|
|
+ if content_type.startswith("text/") and "csv" not in content_type:
|
|
|
|
+ return False
|
|
|
|
+
|
|
|
|
|
|
if content_type.startswith("application/"):
|
|
if content_type.startswith("application/"):
|
|
|
|
|