Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
1.0.2
-
None
-
None
-
Fedora 14, 4 Cores, 4 GB RAM
Description
I expect from this update handler to return "X-my-header" header in response. It does not.
function(doc,req) {
var resp = { "headers" :
, "body": "" };
return [{_id:req.uuid}, resp];
}
Changing the return to:
return [null, resp];
helps.