Changed GeoJSON and RDF media type (#186)

* Updated GeoJSON media type

Following https://tools.ietf.org/html/rfc7946#section-12

* Updated RDF media type

Following https://tools.ietf.org/html/rfc3870#section-2
This commit is contained in:
Andrea Falco 2018-11-23 12:56:17 +01:00 committed by Léo Colombaro
parent b244111468
commit 94262e7610
2 changed files with 9 additions and 3 deletions

View File

@ -6,8 +6,13 @@ types {
application/json json map topojson;
application/ld+json jsonld;
application/rss+xml rss;
application/vnd.geo+json geojson;
application/xml rdf xml;
# Normalize to standard type.
# https://tools.ietf.org/html/rfc7946#section-12
application/geo+json geojson;
application/xml xml;
# Normalize to standard type.
# https://tools.ietf.org/html/rfc3870#section-2
application/rdf+xml rdf;
# JavaScript

View File

@ -124,12 +124,13 @@ http {
application/ld+json
application/manifest+json
application/rss+xml
application/vnd.geo+json
application/geo+json
application/vnd.ms-fontobject
application/x-font-ttf
application/x-web-app-manifest+json
application/xhtml+xml
application/xml
application/rdf+xml
font/collection
font/opentype
font/otf