Skip to content

Instantly share code, notes, and snippets.

@marcelklehr
Created September 21, 2012 19:35
Show Gist options
  • Save marcelklehr/3763433 to your computer and use it in GitHub Desktop.
Save marcelklehr/3763433 to your computer and use it in GitHub Desktop.
src/node/handler/APIHandler.js:101: res.send({code: 3, message: "no such api version", data: null});
src/node/handler/APIHandler.js:119: res.send({code: 3, message: "no such function", data: null});
src/node/handler/APIHandler.js:126: res.send({code: 4, message: "no or wrong API Key", data: null});
src/node/handler/APIHandler.js:172: res.send({code: 0, message: "ok", data: data});
src/node/handler/APIHandler.js:177: res.send({code: 1, message: err.message, data: null});
src/node/handler/APIHandler.js:182: res.send({code: 2, message: "internal error", data: null});
src/node/handler/ExportHandler.js:59: res.send(text.text ? text.text : null);
src/node/handler/ExportHandler.js:64: res.send(pad.text());
src/node/handler/ExportHandler.js:79: res.send(dokuwiki);
src/node/handler/ExportHandler.js:111: res.send(html);
src/node/handler/ExportHandler.js:133: res.sendfile(destFile, null, callback);
src/node/handler/ImportHandler.js:199: res.send("<script type='text/javascript' src='/static/js/jquery.js'></script><script> if ( (!$.browser.msie) && (!($.browser.mozilla && $.browser.version.indexOf(\"1.8.\") == 0)) ){document.domain = document.domain;}var impexp = window.top.require('/pad_impexp').padimpexp.handleFrameCall('" + status + "');</script>", 200);
src/node/hooks/express/adminplugins.js:16: res.send(eejs.require(
src/node/hooks/express/adminplugins.js:21: res.send(eejs.require(
src/node/hooks/express/apicalls.js:14: res._____send = res.send;
src/node/hooks/express/apicalls.js:15: res.send = function (response) {
src/node/hooks/express/errorhandling.js:43: res.send(500);
src/node/hooks/express/errorhandling.js:59: res.send(500, { error: 'Sorry something bad happened!' });
src/node/hooks/express/importexport.js:18: res.send("Abiword is not enabled at this Etherpad Lite instance. Set the path to Abiword in settings.json to enable this feature");
src/node/hooks/express/padreadonly.js:59: res.send('404 - Not Found', 404);
src/node/hooks/express/padreadonly.js:61: res.send(html);
src/node/hooks/express/padurlsanitize.js:10: res.send('Such a padname is forbidden', 404);
src/node/hooks/express/padurlsanitize.js:22: res.send('You should be redirected to <a href="' + real_url + '">' + real_url + '</a>', 302);
src/node/hooks/express/specialpages.js:9: res.send(eejs.require("ep_etherpad-lite/templates/index.html"));
src/node/hooks/express/specialpages.js:16: res.sendfile(filePath);
src/node/hooks/express/specialpages.js:23: res.sendfile(filePath, function(err)
src/node/hooks/express/specialpages.js:29: res.sendfile(filePath);
src/node/hooks/express/specialpages.js:37: res.send(eejs.require("ep_etherpad-lite/templates/pad.html"));
src/node/hooks/express/specialpages.js:43: res.send(eejs.require("ep_etherpad-lite/templates/timeslider.html"));
src/node/hooks/express/webaccess.js:59: res.send('Authentication required', 401);
src/node/hooks/express/webaccess.js:62: res.send('Authentication required', 401);
src/node/padaccess.js:18: res.send("403 - Can't touch this", 403);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment