aboutsummaryrefslogtreecommitdiffstats
path: root/caldav.js
diff options
context:
space:
mode:
authorJames Lal <james@lightsofapollo.com>2012-07-26 10:24:59 -0700
committerJames Lal <james@lightsofapollo.com>2012-07-26 10:24:59 -0700
commit1634e5e1ab44eed2881b301905ae7be4353a36d4 (patch)
tree6964eb283d86a5281560267bf5af29e174e5e61d /caldav.js
parent0ca56ee8c47a580d33881ea05a5975e507131172 (diff)
downloadjsCalDAV-1634e5e1ab44eed2881b301905ae7be4353a36d4.tar.gz
emit DAV:/response on sax for each response
Diffstat (limited to 'caldav.js')
-rw-r--r--caldav.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/caldav.js b/caldav.js
index 8541c43..69e360c 100644
--- a/caldav.js
+++ b/caldav.js
@@ -6848,6 +6848,11 @@ function write (chunk) {
var parent;
if (this.current.href) {
+ this.emit(
+ 'DAV:/response',
+ this.current.href,
+ this.current.propstat
+ );
parent = this.stack[this.stack.length - 1];
parent[this.current.href] = this.current.propstat;
}