You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Actually, resolve requests are using the application/xml mime-type: it's a feature, not a bug 😉. Let's improve it!
Goal: get a generic behavior to handle basic use cases and allow the end-user to fine tune it.
Different mime-types
JSON: application/json
GEOJSON: application/geo+json
JSON LD: application/ld+json
XML GML: application/gml+xml
XML RDF: application/rdf+xml
Behavior
Mermaid syntax:
graph TD
A[Feature instance description] -->|Resolve external| B(Request URI/L)
B --> C{Content negotiation}
C --> D[Profile settings]
D --> C
C -->|GET| E[application/ld+json]
C -->|GET| F[application/gml+xml]
C -->|GET| G[application/rdf+xml]
C -->|GET| H[application/geo+json]
E --> I{Response checker}
F --> I
G --> I
H --> I
I --> |KO| C
I --> |OK| J{Response processor}
J --> K([templating/rendering])
Purpose
Actually, resolve requests are using the
application/xmlmime-type: it's a feature, not a bug 😉. Let's improve it!Goal: get a generic behavior to handle basic use cases and allow the end-user to fine tune it.
Different mime-types
application/jsonapplication/geo+jsonapplication/ld+jsonapplication/gml+xmlapplication/rdf+xmlBehavior
Mermaid syntax:
graph TD A[Feature instance description] -->|Resolve external| B(Request URI/L) B --> C{Content negotiation} C --> D[Profile settings] D --> C C -->|GET| E[application/ld+json] C -->|GET| F[application/gml+xml] C -->|GET| G[application/rdf+xml] C -->|GET| H[application/geo+json] E --> I{Response checker} F --> I G --> I H --> I I --> |KO| C I --> |OK| J{Response processor} J --> K([templating/rendering])As image: