Merge pull request #700 from mjaschen/task/update-geojson-mime-type
Update MIME type for GeoJSON responses
This commit is contained in:
commit
0b6500cdad
@ -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";
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user