-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
Purpose
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])
As image:
Metadata
Metadata
Assignees
Labels
No labels