zen icon indicating copy to clipboard operation
zen copied to clipboard

contenttype modifier doesn't match Content-Type headers with parameters

Open anfragment opened this issue 5 months ago • 1 comments

The Content-Type header values can potentially contain parameters after a semicolon, in addition to the media type. Our $contenttype modifier implementation doesn't take that into account.

References:

  • https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Type

anfragment avatar Sep 18 '24 21:09 anfragment