Skip to content

Adds ContentTypeException function.#98

Closed
mkraft wants to merge 1 commit intonytimes:masterfrom
mkraft:content-type-exceptions-pr
Closed

Adds ContentTypeException function.#98
mkraft wants to merge 1 commit intonytimes:masterfrom
mkraft:content-type-exceptions-pr

Conversation

@mkraft
Copy link
Copy Markdown

@mkraft mkraft commented May 9, 2020

Adds a ContentTypeExceptions function to support excluding/blacklisting a set of content-types.

An example use case is wanting to use Brotli content-encoding for a set of content-types and continue using gzip for all other content-types, without having to that universal set.

The ContentTypes and ContentTypeExceptions configuration options are mutually exclusive so GzipHandlerWithOpts returns an error if both options are provided.

@mkraft
Copy link
Copy Markdown
Author

mkraft commented Apr 27, 2021

Closing this as we're coming up on a year with no response.

@mkraft mkraft closed this Apr 27, 2021
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.

1 participant