[dxwg] http or https in dcat:mediaType? (#1206)

jakubklimek has just created a new issue for https://github.com/w3c/dxwg:

== http or https in dcat:mediaType? ==
Currently, both **http** and **https** based IRIs are used in DCAT 2 examples of items from IANA registries, which is definitely not good for interoperability (they are simply different IRIs).

In DCAT 2014, the **http** variant was used (probably because IANA was not running on HTTPS).
Unfortunately, IANA does not publish the registries in RDF, so it is not clear which IRIs are more correct and the only IRIs available to use are those of the XML files/HTML pages representing the registry entries. Currently, both the **http** and **https** variants work, even though [upgrade-insecure-requests](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/upgrade-insecure-requests) makes web browsers switch to **https**.

On one hand, I am all for https. However, this is backward incompatible. Either way, the examples in DCAT 2 should be made consistent and a recommendation in one way or the other should be made to ensure interoperability. Leaving both options open unnecessarily increases the complexity of applications working with DCAT data.

- Example for https: `https://www.iana.org/assignments/media-types/application/ld+json`
- Example for http: `http://www.iana.org/assignments/media-types/text/csv`



Please view or discuss this issue at https://github.com/w3c/dxwg/issues/1206 using your GitHub account

Received on Wednesday, 15 January 2020 08:52:23 UTC