ae3ea2da7c
Implements HTTP compression, between both Reddit and Libreddit and Libreddit and a web browser. Compression between Reddit and Libreddit is mandatory, whereas compression between Libreddit and a client is opt-in (client must specify a compressor in the Accept-Encoding header). Supported compressors are gzip and brotli. gzip support is ubiquitous, whereas brotli is supported by almost all modern browsers except Safari (iOS, iPhone, macOS), although Safari may support brotli in the future. Co-authored-by: Matthew E <matt@matthew.science> |
||
---|---|---|
.. | ||
client.rs | ||
main.rs | ||
post.rs | ||
search.rs | ||
server.rs | ||
settings.rs | ||
subreddit.rs | ||
user.rs | ||
utils.rs |