mirror of
https://github.com/seejohnrun/haste-server.git
synced 2026-01-07 17:09:14 +00:00
Merge branch 'master' into production
This commit is contained in:
@@ -36,7 +36,7 @@ DocumentHandler.prototype.handleRawGet = function(key, response, skipExpire) {
|
||||
this.store.get(key, function(ret) {
|
||||
if (ret) {
|
||||
winston.verbose('retrieved raw document', { key: key });
|
||||
response.writeHead(200, { 'content-type': 'text/plain' });
|
||||
response.writeHead(200, { 'content-type': 'text/plain; charset=UTF-8' });
|
||||
response.end(ret);
|
||||
}
|
||||
else {
|
||||
@@ -124,7 +124,7 @@ DocumentHandler.prototype.chooseKey = function(callback) {
|
||||
} else {
|
||||
callback(key);
|
||||
}
|
||||
});
|
||||
}, true); // Don't bump expirations when key searching
|
||||
};
|
||||
|
||||
DocumentHandler.prototype.acceptableKey = function() {
|
||||
|
||||
Reference in New Issue
Block a user