Status code should not be assumed.

pull/521/head
Chad Weider 2012-02-28 18:09:33 -08:00
parent 118e7928b9
commit a7c009d0c9
1 changed files with 1 additions and 1 deletions

View File

@ -164,7 +164,7 @@ CachingMiddleware.prototype = new function () {
res.writeHead(statusCode, headers); res.writeHead(statusCode, headers);
util.pump(readStream, res); util.pump(readStream, res);
} else { } else {
res.writeHead(200, headers); res.writeHead(statusCode, headers);
res.end(); res.end();
} }
} }