Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated content-type parsing to respect wildcards. #1535

Closed
wants to merge 3 commits into from
Closed

Updated content-type parsing to respect wildcards. #1535

wants to merge 3 commits into from

Conversation

cjyar
Copy link

@cjyar cjyar commented Sep 8, 2018

The existing content-type negotiation doesn't handle wildcard types like /, text/*, etc. This PR adds that support.

@codecov
Copy link

codecov bot commented Sep 8, 2018

Codecov Report

Merging #1535 into master will increase coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1535      +/-   ##
==========================================
+ Coverage   98.48%   98.49%   +<.01%     
==========================================
  Files          41       41              
  Lines        2044     2056      +12     
==========================================
+ Hits         2013     2025      +12     
  Misses         19       19              
  Partials       12       12
Impacted Files Coverage Δ
utils.go 97.75% <100%> (+0.35%) ⬆️
context.go 98.3% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 31bbb10...7401daf. Read the comment docs.

@thinkerou
Copy link
Member

@cjyar the same as #1112

@thinkerou
Copy link
Member

@cjyar thank your pull request, I will close it, if you have any idea, welcome to commit issue/pr.

@thinkerou thinkerou closed this Mar 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants