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

Re: Question about conneg on datasets compressed with gzip

From: Wes Turner <wes.turner@gmail.com>
Date: Wed, 25 Oct 2017 06:29:49 -0400
Message-ID: <CACfEFw8oHuf5NgStiU9w-g4OsTFaa-C_NkdQR5bc1F1KbuVJxw@mail.gmail.com>
To: "Svensson, Lars" <L.Svensson@dnb.de>, Kingsley Idehen <kidehen@openlinksw.com>
Cc: "public-dwbp-comments@w3.org" <public-dwbp-comments@w3.org>
On Wednesday, October 25, 2017, Svensson, Lars <L.Svensson@dnb.de> wrote:

> 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.


>From https://twitter.com/westurner/status/917411963495469056 :

> How do I, with a browser, download a resource that's only available with
content-negotiation?

.zsync (~rsync over HTTP) support would be great for many applications
(really instead of gzip, AFAIU):
http://zsync.moria.org.uk


>
> Best,
>
> Lars
>
> *** Lesen. Hören. Wissen. Deutsche Nationalbibliothek ***
> --
> Dr. Lars G. Svensson
> Deutsche Nationalbibliothek
> Informationsinfrastruktur
> Adickesallee 1
> 60322 Frankfurt am Main
> Telefon: +49 69 1525-1752
> Telefax: +49 69 1525-1799
> mailto:l.svensson@dnb.de <javascript:;>
> http://www.dnb.de
>
>
Received on Wednesday, 25 October 2017 10:30:16 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 25 October 2017 10:30:17 UTC