Skip to content

make parsing Accept-Encoding almost spec-compliant#4370

Open
gudvinr wants to merge 2 commits into
miniflux:mainfrom
gudvinr:feature/response_encoding_parser
Open

make parsing Accept-Encoding almost spec-compliant#4370
gudvinr wants to merge 2 commits into
miniflux:mainfrom
gudvinr:feature/response_encoding_parser

Conversation

@gudvinr

@gudvinr gudvinr commented May 28, 2026

Copy link
Copy Markdown
Contributor

I've tried to add as much test cases as possible including real Accept-Encoding from my browsers.

Functionally this code should behave exactly the same as before but will a bit more predictable when clients are not well behaving. I really doubt that any of the good clients will send something like broomstick,gzip,flate.

switch/case looks better though.


Have you followed these guidelines?

@gudvinr gudvinr force-pushed the feature/response_encoding_parser branch from 341b3b6 to 57f9c92 Compare May 29, 2026 17:48
@gudvinr gudvinr force-pushed the feature/response_encoding_parser branch from 57f9c92 to ab64b5c Compare June 6, 2026 17:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant