Skip to content

Commit

Permalink
add securityHeaders also to the headers after receiving data
Browse files Browse the repository at this point in the history
  • Loading branch information
ruxkor committed Feb 16, 2012
1 parent 668f2cb commit 5ff8a70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/transports/polling.js
Expand Up @@ -138,7 +138,7 @@ Polling.prototype.onDataRequest = function (req, res) {

function onEnd () {
self.onData(chunks);
res.writeHead(204);
res.writeHead(204,self.addSecurityHeaders(req));
res.end();
cleanup();
};
Expand Down

0 comments on commit 5ff8a70

Please sign in to comment.