[ckan-dev] API: '+' will be removed in JSON literals
Florian Marienfeld
florian.marienfeld at fokus.fraunhofer.de
Thu Sep 22 07:23:47 UTC 2011
We also went for url-encode, but this lead to other problems. i think
because in json urls are usually not encoded, maybe?
What stops you from telling curl
-H "Content-Type: application/json;charset=utf-8"
On 21.09.11 14:17, Pascal Christoph wrote:
> Am 20.09.2011 18:22 schrieb Pascal Christoph:
>> In a literal like:
>>
>> "example/rdf+xml"
>>
>> the '+' will be removed if uploaded through the API.
>
> to be more specific: using curl with "-d @" option. But curl then send
> the data as "application/x-www-form-urlencoded" , and thats it!
>
> I have to urlencode '+','=' etc. , and things go well.
>
> sorry for this "bug"-report.
>
> oo
>
> _______________________________________________
> 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