-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Attempted implicit sequence conversion but the response object is in direct passthrough mode. #7
Comments
You can set However, |
Checkout #10, if you use his fix, it should work ok. |
Use with statement for GzipFile and werkzeug to calculate response length
+1 @JoePeacock . @anemitz @philfreo would you guys mind merging #10 and updating the pip package ( #6) |
We haven't had a chance to maintain this project in a while -- you might want to check out https://github.com/wichitacode/flask-compress in the meantime |
Great, thanks! El viernes, 10 de abril de 2015, Phil Freo [email protected]
|
EDIT: Hi, I have Flask
|
Is there a way to test this out while using Flask's built-in development server? I tried and I get an error:
"RuntimeError: Attempted implicit sequence conversion but the response object is in direct passthrough mode."
Here is the link of code on werkzeug that throws the error: https://github.com/mitsuhiko/werkzeug/blob/master/werkzeug/wrappers.py#L897
The text was updated successfully, but these errors were encountered: