Saturday 15 February 2014

Concatenating vars in CouchDB URL rewriting -



Concatenating vars in CouchDB URL rewriting -

some of couchdb document ids have forwards slash in them (/). find problematic urls, because need escape them %2f. in rewriting urls, following

"rewrites": [ { "from": "/id/:prefix/:postfix", "to": "/_show/html/:prefix%2f:postfix", "method": "get", "query": {} } ]

however, not lead document.

is possible want?

couchdb

No comments:

Post a Comment