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

Issue #7567 - don't compare params when checking MIME type for GzipHandler #7576

Merged
merged 2 commits into from
Feb 16, 2022

Conversation

lachlan-roberts
Copy link
Contributor

@lachlan-roberts lachlan-roberts commented Feb 14, 2022

Issue #7567

  • add testing for GzipHandler with multipart/form-data content types
  • strip params before comparing MIME type with the included/excluded mime types in GzipHandler

Copy link
Contributor

@joakime joakime left a comment

Choose a reason for hiding this comment

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

This change looks odd (going from MimeTypes.getContentTypeWithoutCharset(ct) to HttpField.valueParameters(ct, null) seems like a step backwards.

But it works, so ship it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants