You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If we use empty() as Sanic response, the content_type is None and the middleware returns an error:
File "/usr/local/lib/python3.8/site-packages/sanic_compress/__init__.py", line 34, in _compress_response
if ';' in response.content_type:
TypeError: argument of type 'NoneType' is not iterable"
The text was updated successfully, but these errors were encountered:
If we use
empty()
as Sanic response, the content_type is None and the middleware returns an error:The text was updated successfully, but these errors were encountered: