diff options
Diffstat (limited to 'src/nodejs/response.js')
-rw-r--r-- | src/nodejs/response.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nodejs/response.js b/src/nodejs/response.js index b7fdd85..4be4df0 100644 --- a/src/nodejs/response.js +++ b/src/nodejs/response.js @@ -35,7 +35,7 @@ exports.mkXmlRes = function (res){ res.atStart = function (){ if(!this.started){ this.writeHead(200); - this.write('<xml>'); + this.write(xmlGen.createHeader()); this.started = true; } } @@ -43,7 +43,7 @@ exports.mkXmlRes = function (res){ if(!this.started){ this.atStart(); } - this.write('</xml>'); + this.write('</osm>'); this.end(); } res.putWay = function (pojo){ |