Merge pull request #700 from mjaschen/task/update-geojson-mime-type

Update MIME type for GeoJSON responses
This commit is contained in:
afischerdev 2024-05-15 09:43:21 +02:00 committed by GitHub
commit 0b6500cdad
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -107,7 +107,7 @@ public class ServerHandler extends RequestHandler {
} else if ("kml".equals(format)) { } else if ("kml".equals(format)) {
result = "application/vnd.google-earth.kml+xml"; result = "application/vnd.google-earth.kml+xml";
} else if ("geojson".equals(format)) { } else if ("geojson".equals(format)) {
result = "application/vnd.geo+json"; result = "application/geo+json";
} else if ("csv".equals(format)) { } else if ("csv".equals(format)) {
result = "text/tab-separated-values"; result = "text/tab-separated-values";
} }