This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Andrey
Recipients Andrey, christian.heimes, r.david.murray
Date 2017-11-14.17:20:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1510680039.41.0.213398074469.issue32021@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2017-11-14 17:20:39Andreysetrecipients: + Andrey, christian.heimes, r.david.murray
2017-11-14 17:20:39Andreysetmessageid: <1510680039.41.0.213398074469.issue32021@psf.upfronthosting.co.za>
2017-11-14 17:20:39Andreylinkissue32021 messages
2017-11-14 17:20:39Andreycreate