mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-11-01 08:41:43 +01:00
Status code should not be assumed.
This commit is contained in:
parent
118e7928b9
commit
a7c009d0c9
@ -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…
x
Reference in New Issue
Block a user