developmentseed / developmentseed/titiler
enable content negotiation (e.g return Webp image if client supports webp)
Open
enhancement
- Dominant language
- Python
- Stars
- 1.2k
- Forks
- 254
- Avg merge
- 1d 16h
- Merged PRs (30d)
- 9
Description
in
https://github.com/developmentseed/titiler/blob/d4741eb0f8f674b72d5268fba1ad1f98e3478b30/src/titiler/core/titiler/core/factory.py#L520-L521
we return either a PNG or a JPEG based on the mask, but we could also return a Webp based on the request `accept` header value (see https://github.com/developmentseed/tifeatures/blob/6def23bc57b547fda06b718f493d4d20ec369a35/tifeatures/dependencies.py#L102-L114)
Contributor guide
Assessment
This issue has not been assessed yet.