[ckan-dev] CKAN is mis-handling Accept header

Ross Jones ross.jones at okfn.org
Tue Aug 28 21:17:00 UTC 2012


Hi,

That's been fixed now and should work for you on thedatahub.org

Ross


On 28 Aug 2012, at 21:51, Timothy Lebo wrote:

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