Skip to content

Commit

Permalink
feat: add grib2 mimetype
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrunato committed Dec 13, 2024
1 parent 132ff00 commit 80a6a61
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions eodag/utils/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1423,6 +1423,7 @@ def guess_extension(type: str) -> Optional[str]:
"""guess extension from mime type"""
mimetypes.add_type("text/xml", ".xsd")
mimetypes.add_type("application/x-grib", ".grib")
mimetypes.add_type("application/x-grib2", ".grib2")
return mimetypes.guess_extension(type, strict=False)


Expand Down

0 comments on commit 80a6a61

Please sign in to comment.