Maps4HTML / MapML-Specification

Map Markup Language is hypertext for Web maps, like HTML is hypertext for Web pages https://maps4html.org/MapML-Specification/spec/
Other
55 stars 12 forks source link

Integration with Fetch / Fetch Metadata Request Headers #152

Open Malvoz opened 3 years ago

Malvoz commented 3 years ago

https://fetch.spec.whatwg.org/#concept-request-destination:

Features need to have the relevant values defined in their respective standards.

Fetch Metadata Request Headers expose metadata about requests, for example, a requests's destination in the Sec-Fetch-Dest request header field's value. This value should be defined for all elements that fetch resources, e.g. <layer src>, <tile src>, etc.

The Portals spec can serve as an example of such integration: https://wicg.github.io/portals/#fetch-metadata

https://github.com/Maps4HTML/MapML/issues/22 is related to the Sec-Fetch-Mode header.