Support for StreamingHTTPResponse

#7 · open · 0 comments

View on GitHub ↗

acdha

I tried compress on a simple app which has one view using a streaming response and that gets the following exception: ``` File "VENV/lib/python3.7/site-packages/sanic_compress/__init__.py", line 31, in _compress_response content_length = len(response.body) AttributeError: 'StreamingHTTPResponse' object has no attribute 'body' ```

Comments