W3C home > Mailing lists > Public > public-dwbp-comments@w3.org > October 2017

Question about conneg on datasets compressed with gzip

From: Svensson, Lars <L.Svensson@dnb.de>
Date: Wed, 25 Oct 2017 07:13:55 +0000
To: "public-dwbp-comments@w3.org" <public-dwbp-comments@w3.org>
Message-ID: <b7bb7419c42c4f46b4579cf95394f6bf@dnb.de>
Hi all,

I've been looking at BP 19 (Use content negotiation for serving data available in multiple formats) [1] and was wondering if there is an acknowledged way of dealing with datasets that are gzipped due to their size. As an example use case let's look at the hypothetical dataset GND. There are two distributions available in the RDF serialisations turtle and RDF/XML. Due to the data dump's size, the files GND.rdf and GND.ttl are gzipped before put on the download page so that we have the two files GND.rdf.gz and GND.ttl.gz. Technically, the Content-Type of both files is application/gzip, but what we really want to negotiate on is the media type of the unpacked content (viz. application/rdf+xml and text/turtle). Is there a standard way of doing this?

[1] https://www.w3.org/TR/dwbp/#Conneg

Thanks for any insights.



*** Lesen. Hören. Wissen. Deutsche Nationalbibliothek *** 
Dr. Lars G. Svensson
Deutsche Nationalbibliothek
Adickesallee 1
60322 Frankfurt am Main
Telefon: +49 69 1525-1752
Telefax: +49 69 1525-1799

Received on Wednesday, 25 October 2017 07:14:20 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:38:14 UTC