couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Campbell" <>
Subject Re: startkey and quotes
Date Thu, 18 Sep 2008 15:32:20 GMT
Hi Will,

The quotes are because the key has to be valid JSON ... and in JSON, a
string has to be in quotes!


On Thu, Sep 18, 2008 at 4:29 PM, william kinney
<> wrote:
> Hi (again),
> It seems that the startkey query parameter requires quotes around the value.
> However, my lovely Apache java HttpClient library doesn't like that, and
> throws a org.apache.commons.httpclient.URIException: Invalid query.
> Has anyone had any experience with this? I'd like to avoid having to extend
> or hack http client to get around this.
> On a side note, I've never seen quotes being specified/used in query
> parameters before. I couldn't find any mention of it in the w3c spec. I'm
> sure of course it is intended functionality. Bu t does anyone know why?
> Thanks,
> Will

View raw message