With the help of a rewrite rule you could force an put to be handled by an 
update handler before the doc gets stored:

{
  "from": "/:docid",
  "to":  "_update/addTimestamp/:docid",
  "method": "PUT"
}

Your root URI must point to the /_rewrite handler of the design doc (a vhost 
setting can simplify/ensure that).

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to