Andrey <andre...@google.com> added the comment:

Currently aiohttp doesn't support Brotli. (I'm here because I would like to get 
that support)

When it gets (as a server) a request for file.html it checks if file.html.gz 
exists (and accept-encoding contains 'gzip'). It then send file.html.gz to the 
client and sets Content-Encoding to gzip.

It uses mimetypes.guess_type to set Content-Type and Content-Encoding.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue32021>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to