Skip to content

Conversation

@yoshuawuyts
Copy link
Member

Supersedes #230, ref #99. Adds support for Content-Encoding, Accept-Encoding and content negotiation to select the right encoding.

The approach in this patch can likely be adapted to work for TE, Accept-Language and Accept-Charset as well.

Screenshot

Screenshot_2020-08-23 http_types content AcceptEncoding - Rust

Copy link
Member

@Fishrock123 Fishrock123 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some more comments.

This is stuff I came across while making a wip swap to this for tide-compress which is at Fishrock123/tide-compress@dff0747

@yoshuawuyts yoshuawuyts dismissed Fishrock123’s stale review September 19, 2020 21:56

Applied all feedback from review!

@yoshuawuyts yoshuawuyts merged commit 9259a12 into main Sep 19, 2020
@delete-merged-branch delete-merged-branch bot deleted the accept-encoding branch September 19, 2020 22:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants