We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a90f545 + d9c3857 commit 451f1f0Copy full SHA for 451f1f0
pygeoapi/api/tiles.py
@@ -238,7 +238,7 @@ def get_collection_tiles_data(
238
p = load_plugin('provider', t)
239
240
format_ = p.format_type
241
- headers['Content-Type'] = format_
+ headers['Content-Type'] = t['format']['mimetype']
242
243
LOGGER.debug(f'Fetching tileset id {matrix_id} and tile {z_idx}/{y_idx}/{x_idx}') # noqa
244
content = p.get_tiles(layer=p.get_layer(), tileset=matrix_id,
0 commit comments