Add default response message to websocketresources

// FREEBIE
pull/749/head
lilia 10 years ago
parent 44b7b32385
commit 1af8bd16b7

@ -38568,7 +38568,7 @@ TextSecureWebSocket = function (url, opts) {
var handleRequest = opts.handleRequest;
if (typeof handleRequest !== 'function') {
handleRequest = function(request) {
request.respond(404);
request.respond(404, 'Not found');
};
}
this.sendRequest = function(options) {

@ -97,7 +97,7 @@
var handleRequest = opts.handleRequest;
if (typeof handleRequest !== 'function') {
handleRequest = function(request) {
request.respond(404);
request.respond(404, 'Not found');
};
}
this.sendRequest = function(options) {

Loading…
Cancel
Save