Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Andrew Jacombs <[email protected]>
  • Loading branch information
blacha and Andrew Jacombs authored Jul 5, 2023
1 parent 5645d9b commit cf4d710
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/api/empty-tiles.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ Serve HTTP `200 Ok`, With a `content-length: 0` response header, which is a 0 by
Pros:

- ✔️ Supported in ArcGIS Pro and QGIS
- ✔️ Supported by ArcGIS Online, Leaflet, OpenLayers
- ✔️ Supported by HTTP RFC "May return 0 byte 200"
- ✔️ Supported by ArcGIS Online, Leaflet, and OpenLayers
- ✔️ Supported by [HTTP RFC](https://www.rfc-editor.org/rfc/rfc9110.html#name-200-ok), which allows 0 byte `200 Ok` responses as long as the message framing indicates this (via `Content-length=0` response header
- ✔️ Recommended option from OGC Tile API

Cons:
Expand All @@ -60,8 +60,8 @@ Return HTTP `204 No Content`, with no body

Pros:

- ✔️ Supported in GIS ArcGIS/QGIS
- ✔️ Supported by LeafLet, OpenLayers
- ✔️ Supported in ArcGIS Pro and QGIS
- ✔️ Supported by Leaflet and OpenLayers
- ✔️ Supported by [HTTP RFC](https://www.rfc-editor.org/rfc/rfc9110.html#name-200-ok): "server ought to return 204 No content"
- ✔️ Recommended option from OGC Tile API

Expand Down

0 comments on commit cf4d710

Please sign in to comment.