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

Parsing Multivalue or Malformed Content-type Http Header #136

Closed
scottoffen opened this issue Oct 26, 2016 · 0 comments
Closed

Parsing Multivalue or Malformed Content-type Http Header #136

scottoffen opened this issue Oct 26, 2016 · 0 comments
Assignees
Milestone

Comments

@scottoffen
Copy link
Owner

Add logic to resolve the following scenarios:

  • Content-type header does not contain the value in the first position
  • Content-type header contains multiple values and the value in the first position is not found in the ContentType enum, the other values should be tested
@scottoffen scottoffen added this to the 4.0.0.next milestone Oct 26, 2016
@scottoffen scottoffen self-assigned this Oct 26, 2016
scottoffen pushed a commit that referenced this issue Oct 27, 2016
Added logic to parsing the Content-Type http header to use a dictionary
for lookups, cache results for future lookups and check all values when
multiple values are provided for a match.

Added dictionary for http method lookups.

Fixes #136
scottoffen pushed a commit that referenced this issue Oct 27, 2016
Added logic to parsing the Content-Type http header to use a dictionary
for lookups, cache results for future lookups and check all values when
multiple values are provided for a match.

Added dictionary for http method lookups.

Fixes #136
scottoffen pushed a commit that referenced this issue Oct 27, 2016
Added logic to parsing the Content-Type http header to use a dictionary
for lookups, cache results for future lookups and check all values when
multiple values are provided for a match.

Added dictionary for http method lookups.

Fixes #136
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant