RE: Media Types URIs

On Thursday, June 21, 2018 8:41 AM, Car, Nicholas (L&W, Dutton Park) [mailto:Nicholas.Car@csiro.au] wrote:

> Yes, that’s better put: the IANA URIs just don’t support conneg or RDF but do
> dereference. The IANA website looks 200s-ish and is data driven (XML) but what are
> the chances they will implement RDF any time soon?

I wouldn't hold my breath for it...
 
> We can enhance metadata in the new API too if needed since its RDF data, derived
> from IANA XML, is stored in Jena.

As much as I'd love to have better conneg, RDF metadata etc., since the registrations are handled by IANA I'd very much prefer the use of their URIs. Perhaps we can offer them a solution that allows them to do that. I'm not extremely familiar with the IANA processes and technical infrastructure -- is there anyone in this group that does?

Best,

Lars


> On 21 Jun 2018, at 1:15 am, Svensson, Lars <mailto:L.Svensson@dnb.de> wrote:
> On Monday, June 18, 2018 10:17 PM, Jakub Klímek [mailto:jakub@jakubklimek.com]
> wrote:
> [...]
> 
> And I would prefer:
> 
> dcat:mediaType <https://w3id.org/mediatype/text/csv> ;
> 
> 
> This creates inconsistency with DCAT-AP where it should
> be https://www.iana.org/assignments/media-types/text/turtle, even though this is not
> dereferencable.
> 
> Hmm, I can dereference that URI:
> 
> svensson@F-NBW7-04660 ~
> $ curl -I https://www.iana.org/assignments/media-types/text/turtle

> HTTP/1.1 200 OK
> Date: Wed, 20 Jun 2018 15:10:59 GMT
> X-Frame-Options: SAMEORIGIN
> Referrer-Policy: origin-when-cross-origin
> Content-Security-Policy: upgrade-insecure-requests
> Vary: Accept-Encoding
> Last-Modified: Fri, 15 Jul 2011 20:29:35 GMT
> Cache-Control: public, s-maxage=1800, max-age=3600
> Expires: Wed, 20 Jun 2018 16:10:59 GMT
> Content-Type: text/plain; charset=UTF-8
> Server: Apache
> Strict-Transport-Security: max-age=48211200; preload
> X-Cache-Hits: 0
> Accept-Ranges: bytes
> Connection: keep-alive
> 
> It doesn't support content negotiation though (most IANA registries aren't very
> webby...):
> 
> $ curl -I -H "Accept: text/turtle" https://www.iana.org/assignments/media-

> types/text/turtle
> HTTP/1.1 200 OK
> Date: Wed, 20 Jun 2018 15:10:59 GMT
> X-Frame-Options: SAMEORIGIN
> Referrer-Policy: origin-when-cross-origin
> Content-Security-Policy: upgrade-insecure-requests
> Vary: Accept-Encoding
> Last-Modified: Fri, 15 Jul 2011 20:29:35 GMT
> Cache-Control: public, s-maxage=1800, max-age=3600
> Expires: Wed, 20 Jun 2018 16:10:59 GMT
> Content-Type: text/plain; charset=UTF-8 <<<<-------------
> Server: Apache
> Strict-Transport-Security: max-age=48211200; preload
> X-Cache-Hits: 1
> Accept-Ranges: bytes
> Connection: keep-alive
> 
> Best,
> 
> Lars

Received on Thursday, 21 June 2018 19:50:06 UTC