Skip to content

Parse media_type with q-factor weighting#21

Merged
brianjbuck merged 1 commit intobrianjbuck:masterfrom
yuekui:master
Nov 21, 2022
Merged

Parse media_type with q-factor weighting#21
brianjbuck merged 1 commit intobrianjbuck:masterfrom
yuekui:master

Conversation

@yuekui
Copy link
Contributor

@yuekui yuekui commented Oct 10, 2022

If there's q-factor weighting parameter in request header, the media_type would be like:
text/html; q=1.0
In this case, we still need to add indent when serializing the data.

@brianjbuck brianjbuck merged commit 2976569 into brianjbuck:master Nov 21, 2022
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.

2 participants