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

Handle content-type headers which contain subtype #24

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rkaravia
Copy link

The content-type header can contain additional information after the main type, see RFC7231.

This can break the contentType === 'image/tiff' check further down.

An example is this GeoTIFF file which has the content-type header set to image/tiff; application=geotiff; profile=cloud-optimized.

Handle content-type headers such as
   "image/tiff; application=geotiff; profile=cloud-optimized"
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.

None yet

1 participant