Commit 6cd4ea6a authored by CompileNix's avatar CompileNix

Update responseCodeMessage.js

parent 4879a2d5
"use strict";
"use strict";
function ResponseCodeMessage(response, diffrentMessage) {
const code = response.getResponseCode();
......@@ -106,15 +106,17 @@ function getDefaultMessage(code) {
// RFC for the 7XX Range of HTTP Status codes - Developer Errors
// see: https://github.com/joho/7XX-rfc
// version f916a3f6f5c8ed32b4cf2bcdad43ff0e89da00d3
// version 22cc8e16d6569850b9494aaf2a725022319ba0ca from 2016-06-11T04:50:24Z
case 701: m = "Meh"; break;
case 702: m = "Emacs"; break;
case 703: m = "Explosion"; break;
case 704: m = "Goto Fail"; break;
case 705: m = "I wrote the code and missed the necessary validation by an oversight"; break;
case 706: m = "Delete Your Account"; break;
case 710: m = "PHP"; break;
case 711: m = "Convenience Store"; break;
case 712: m = "NoSQL"; break;
case 718: m = "Haskell"; break;
case 719: m = "I am not a teapot"; break;
case 720: m = "Unpossible"; break;
case 721: m = "Known Unknowns"; break;
......@@ -164,6 +166,7 @@ function getDefaultMessage(code) {
case 772: m = "Not cached long enough"; break;
case 773: m = "Not cached at all"; break;
case 774: m = "Why was this cached?"; break;
case 775: m = "Out of cash"; break;
case 776: m = "Error on the Exception"; break;
case 777: m = "Coincidence"; break;
case 778: m = "Off By One Error"; break;
......@@ -177,7 +180,8 @@ function getDefaultMessage(code) {
case 786: m = "Try it now"; break;
case 787: m = "Further Funding Required"; break;
case 788: m = "Designer's final designs weren't"; break;
case 791: m = "The Internet shut down due to copyright restrictions."; break;
case 789: m = "Not my department"; break;
case 791: m = "The Internet shut down due to copyright restrictions"; break;
case 792: m = "Climate change driven catastrophic weather event"; break;
case 793: m = "Zombie Apocalypse"; break;
case 794: m = "Someone let PG near a REPL"; break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment