parsexmlresponse
Advanced tools
Comparing version 0.0.4 to 0.0.5
@@ -14,3 +14,5 @@ "use strict"; | ||
req.on('end', function () { | ||
res.end() | ||
if (res) { | ||
res.end() | ||
} | ||
xmlParser.parseString(body, callback); | ||
@@ -17,0 +19,0 @@ }); |
@@ -7,3 +7,3 @@ { | ||
"description": "Library to spool HTTP responses with an XML body and convert to a javascript object.", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"main": "index.js", | ||
@@ -10,0 +10,0 @@ "directories": { |
3084
18