mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-20 23:46:14 -04:00
Status code should not be assumed.
This commit is contained in:
parent
118e7928b9
commit
a7c009d0c9
1 changed files with 1 additions and 1 deletions
|
@ -164,7 +164,7 @@ CachingMiddleware.prototype = new function () {
|
|||
res.writeHead(statusCode, headers);
|
||||
util.pump(readStream, res);
|
||||
} else {
|
||||
res.writeHead(200, headers);
|
||||
res.writeHead(statusCode, headers);
|
||||
res.end();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue