[ckan-dev] CKAN is mis-handling Accept header
Timothy Lebo
lebot at rpi.edu
Tue Aug 28 20:51:06 UTC 2012
On Aug 28, 2012, at 4:48 PM, Ross Jones wrote:
> 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.
Thanks, Ross!
-Tim
>
> Ross
>
>
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/ckan-dev
>
More information about the ckan-dev
mailing list