That'd do funky things to the validation on replication because the
HTTP context would change. You should be able to do this with an
_update handler though.

Paul Davis

On Thu, Jan 21, 2010 at 11:48 AM, Dean Landolt <[email protected]> wrote:
> I'm writing a couchdb store for pintura [1] -- one of its features I'd
> really like to push down to couch is conditional writes using the If header
> and jsonquery. This would be trivial to do with a validation function if it
> included the http context so's I could get at the headers. Is there any
> reason this isn't available? It would open the door to some other
> interesting possibilities as well. Sorry if this ground has been covered
> before -- I did a quick search through the archive and didn't find anything.
>
> [1] http://github.com/kriszyp/pintura
>

Reply via email to