incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Campbell" <p...@rushedsunlight.com>
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!

Paul

On Thu, Sep 18, 2008 at 4:29 PM, william kinney
<william.kinney@gmail.com> 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
>

Mime
View raw message