opensanctions/yente

compressed responses for large responses

jbothma opened this issue · 0 comments

If I make a request with Accept-Encoding: gzip, compress, br it would be nice to receive a compressed response, e.g. for a large nested entity like https://api.opensanctions.org/entities/Q4416090

There seems to be fastapi middleware for gzip compression https://fastapi.tiangolo.com/advanced/middleware/#gzipmiddleware