You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
vincentsarago
changed the title
Return Webp image if client supports webp
enable content negotiation (e.g return Webp image if client supports webp)
Jan 18, 2023
in
titiler/src/titiler/core/titiler/core/factory.py
Lines 520 to 521 in d4741eb
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)The text was updated successfully, but these errors were encountered: