Skip to content

Add html media type #816

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

Merged
merged 4 commits into from
Jun 7, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
### Added

- Enum MediaType entry for PDF documents ([#758](https://github.com/stac-utils/pystac/pull/758))
- Enum MediaType entry for HTML documents ([#816](https://github.com/stac-utils/pystac/pull/816))
- Updated Link to obtain stac_io from owner root ([#762](https://github.com/stac-utils/pystac/pull/762))
- Replace test.com with special-use domain name. ([#769](https://github.com/stac-utils/pystac/pull/769))
- Updated AssetDefinition to have create, apply methods ([#768](https://github.com/stac-utils/pystac/pull/768))
Expand Down
1 change: 1 addition & 0 deletions pystac/media_type.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ class MediaType(StringEnum):
GEOTIFF = "image/tiff; application=geotiff"
HDF = "application/x-hdf" # Hierarchical Data Format versions 4 and earlier.
HDF5 = "application/x-hdf5" # Hierarchical Data Format version 5
HTML = "text/html"
JPEG = "image/jpeg"
JPEG2000 = "image/jp2"
JSON = "application/json"
Expand Down