brouter/brouter-server
Marcus Jaschen 6d7b8f0d77 Update MIME type for GeoJSON responses
The MIME type for GeoJSON registered with IANA is application/geo+json,
replacing the old value application/vnd.geo+json. The change was published
with RFC 7946 in 2016.

Example request:

`GET /brouter?lonlats=13.377485,52.516247%7C13.351221,52.515004&profile=trekking&alternativeidx=0&format=geojson HTTP/1.1`

Exampe response headers:

```
HTTP/1.1 200 OK
Content-Encoding: gzip
Content-Disposition: attachment; filename="brouter.geojson"
Access-Control-Allow-Origin: *
Connection: close
Content-Type: application/geo+json; charset=utf-8
```

References:

- https://www.iana.org/assignments/media-types/application/vnd.geo+json
- https://www.iana.org/assignments/media-types/application/geo+json
- https://datatracker.ietf.org/doc/html/rfc7946#section-12
2024-05-14 21:03:47 +02:00
..
src Update MIME type for GeoJSON responses 2024-05-14 21:03:47 +02:00
build.gradle Add dependency on brouter-routing-app for distZip 2024-04-15 20:49:25 +02:00