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

Improve handling of media types #63

Merged
merged 12 commits into from
Mar 6, 2022
Merged

Improve handling of media types #63

merged 12 commits into from
Mar 6, 2022

Conversation

hackermd
Copy link
Collaborator

@hackermd hackermd commented Feb 15, 2022

This PR introduces the following changes:

  • Update media type of JPEG-LS from image/x-jls to image/jls
  • Allow use of */* and other wildcard media types for retrieval of frames. This facilitates retrieval of frames if it's not known whether the frames are compressed (which would require image/* media type) or uncompressed (which would require application/octet-stream media type)
  • Add unit tests for different combinations of media types and transfer syntaxes

@hackermd hackermd added the bug Something isn't working label Feb 15, 2022
@hackermd hackermd requested a review from cgorman February 15, 2022 00:00
@hackermd hackermd linked an issue Feb 15, 2022 that may be closed by this pull request
@hackermd hackermd changed the title Fix media type of JPEG-LS Improve handling of media types Feb 19, 2022
@hackermd hackermd merged commit 1079100 into master Mar 6, 2022
@hackermd hackermd deleted the bug/jpegls-media-type branch March 6, 2022 15:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Outdated JPEG-LS media type for retrieval of frames
1 participant