incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Goodlad <da...@goodlad.ca>
Subject Rewrite removing query string
Date Mon, 01 Mar 2010 10:06:22 GMT
Hi all

I have a rewrite rule like the following:

{ "from": "/db/*",
  "to": "../../*" }

I'd expect it to then map from

/mydb/_design/ddoc/_rewrite/db/_design/ddoc/_view/foo?include_docs=true
to
/mydb/_design/ddoc/_view/foo?include_docs=true

It does, EXCEPT that it drops the include_docs parameter. This is
repeatable with all query params.

Is this expected behavior? Is there a way around it (except for
hardcoding all possible options in my rewrite rules)?

Thanks!
Dave

Mime
View raw message