[ckan-dev] CKAN is mis-handling Accept header
Ross Jones
ross.jones at okfn.org
Tue Aug 28 20:48:17 UTC 2012
Hi,
On 28 Aug 2012, at 21:33, Timothy Lebo wrote:
> curl -sH "Accept: application/rdf+xml" -L http://thedatahub.org/dataset/farmers-markets-geographic-data-united-states | head -5
>
This should return RDF, so clearly a problem I'll take a look in the morning
> curl -sH 'Accept: text/turtle,application/turtle,application/rdf+xml;q=0.8,text/plain;q=0.7,*/*;q=0.5' http://thedatahub.org/dataset/farmers-markets-geographic-data-united-states | head -5
Preference for text/turtle, application/turtle (both with a qual value of 1), failing that application/rdf+xml.
Yes, looks like a regression, I've found it. I'll get it fixed.
Ross
More information about the ckan-dev
mailing list