mol_dump_lib 0.0.877 → 0.0.878

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/web.js CHANGED
@@ -5957,6 +5957,74 @@ var $;
5957
5957
  $.$mol_file = $mol_file;
5958
5958
  })($ || ($ = {}));
5959
5959
 
5960
+ ;
5961
+ "use strict";
5962
+ var $;
5963
+ (function ($) {
5964
+ let $mol_rest_code;
5965
+ (function ($mol_rest_code) {
5966
+ $mol_rest_code[$mol_rest_code["Continue"] = 100] = "Continue";
5967
+ $mol_rest_code[$mol_rest_code["Switching protocols"] = 101] = "Switching protocols";
5968
+ $mol_rest_code[$mol_rest_code["Processing"] = 102] = "Processing";
5969
+ $mol_rest_code[$mol_rest_code["OK"] = 200] = "OK";
5970
+ $mol_rest_code[$mol_rest_code["Created"] = 201] = "Created";
5971
+ $mol_rest_code[$mol_rest_code["Accepted"] = 202] = "Accepted";
5972
+ $mol_rest_code[$mol_rest_code["Non-Authoritative Information"] = 203] = "Non-Authoritative Information";
5973
+ $mol_rest_code[$mol_rest_code["No Content"] = 204] = "No Content";
5974
+ $mol_rest_code[$mol_rest_code["Reset Content"] = 205] = "Reset Content";
5975
+ $mol_rest_code[$mol_rest_code["Partial Content"] = 206] = "Partial Content";
5976
+ $mol_rest_code[$mol_rest_code["Multi Status"] = 207] = "Multi Status";
5977
+ $mol_rest_code[$mol_rest_code["Already Reported"] = 208] = "Already Reported";
5978
+ $mol_rest_code[$mol_rest_code["IM Used"] = 226] = "IM Used";
5979
+ $mol_rest_code[$mol_rest_code["Multiple Choices"] = 300] = "Multiple Choices";
5980
+ $mol_rest_code[$mol_rest_code["Moved Permanently"] = 301] = "Moved Permanently";
5981
+ $mol_rest_code[$mol_rest_code["Found"] = 302] = "Found";
5982
+ $mol_rest_code[$mol_rest_code["See Other"] = 303] = "See Other";
5983
+ $mol_rest_code[$mol_rest_code["Not Modified"] = 304] = "Not Modified";
5984
+ $mol_rest_code[$mol_rest_code["Use Proxy"] = 305] = "Use Proxy";
5985
+ $mol_rest_code[$mol_rest_code["Temporary Redirect"] = 307] = "Temporary Redirect";
5986
+ $mol_rest_code[$mol_rest_code["Bad Request"] = 400] = "Bad Request";
5987
+ $mol_rest_code[$mol_rest_code["Unauthorized"] = 401] = "Unauthorized";
5988
+ $mol_rest_code[$mol_rest_code["Payment Required"] = 402] = "Payment Required";
5989
+ $mol_rest_code[$mol_rest_code["Forbidden"] = 403] = "Forbidden";
5990
+ $mol_rest_code[$mol_rest_code["Not Found"] = 404] = "Not Found";
5991
+ $mol_rest_code[$mol_rest_code["Method Not Allowed"] = 405] = "Method Not Allowed";
5992
+ $mol_rest_code[$mol_rest_code["Not Acceptable"] = 406] = "Not Acceptable";
5993
+ $mol_rest_code[$mol_rest_code["Proxy Authentication Required"] = 407] = "Proxy Authentication Required";
5994
+ $mol_rest_code[$mol_rest_code["Request Timeout"] = 408] = "Request Timeout";
5995
+ $mol_rest_code[$mol_rest_code["Conflict"] = 409] = "Conflict";
5996
+ $mol_rest_code[$mol_rest_code["Gone"] = 410] = "Gone";
5997
+ $mol_rest_code[$mol_rest_code["Length Required"] = 411] = "Length Required";
5998
+ $mol_rest_code[$mol_rest_code["Precondition Failed"] = 412] = "Precondition Failed";
5999
+ $mol_rest_code[$mol_rest_code["Request Entity Too Large"] = 413] = "Request Entity Too Large";
6000
+ $mol_rest_code[$mol_rest_code["Request URI Too Long"] = 414] = "Request URI Too Long";
6001
+ $mol_rest_code[$mol_rest_code["Unsupported Media Type"] = 415] = "Unsupported Media Type";
6002
+ $mol_rest_code[$mol_rest_code["Requested Range Not Satisfiable"] = 416] = "Requested Range Not Satisfiable";
6003
+ $mol_rest_code[$mol_rest_code["Expectation Failed"] = 417] = "Expectation Failed";
6004
+ $mol_rest_code[$mol_rest_code["Teapot"] = 418] = "Teapot";
6005
+ $mol_rest_code[$mol_rest_code["Unprocessable Entity"] = 422] = "Unprocessable Entity";
6006
+ $mol_rest_code[$mol_rest_code["Locked"] = 423] = "Locked";
6007
+ $mol_rest_code[$mol_rest_code["Failed Dependency"] = 424] = "Failed Dependency";
6008
+ $mol_rest_code[$mol_rest_code["Upgrade Required"] = 426] = "Upgrade Required";
6009
+ $mol_rest_code[$mol_rest_code["Precondition Required"] = 428] = "Precondition Required";
6010
+ $mol_rest_code[$mol_rest_code["Too Many Requests"] = 429] = "Too Many Requests";
6011
+ $mol_rest_code[$mol_rest_code["Request Header Fields Too Large"] = 431] = "Request Header Fields Too Large";
6012
+ $mol_rest_code[$mol_rest_code["Unavailable For Legal Reasons"] = 451] = "Unavailable For Legal Reasons";
6013
+ $mol_rest_code[$mol_rest_code["Internal Server Error"] = 500] = "Internal Server Error";
6014
+ $mol_rest_code[$mol_rest_code["Not Implemented"] = 501] = "Not Implemented";
6015
+ $mol_rest_code[$mol_rest_code["Bad Gateway"] = 502] = "Bad Gateway";
6016
+ $mol_rest_code[$mol_rest_code["Service Unavailable"] = 503] = "Service Unavailable";
6017
+ $mol_rest_code[$mol_rest_code["Gateway Timeout"] = 504] = "Gateway Timeout";
6018
+ $mol_rest_code[$mol_rest_code["HTTP Version Not Supported"] = 505] = "HTTP Version Not Supported";
6019
+ $mol_rest_code[$mol_rest_code["Insufficient Storage"] = 507] = "Insufficient Storage";
6020
+ $mol_rest_code[$mol_rest_code["Loop Detected"] = 508] = "Loop Detected";
6021
+ $mol_rest_code[$mol_rest_code["Not Extended"] = 510] = "Not Extended";
6022
+ $mol_rest_code[$mol_rest_code["Network Authentication Required"] = 511] = "Network Authentication Required";
6023
+ $mol_rest_code[$mol_rest_code["Network Read Timeout Error"] = 598] = "Network Read Timeout Error";
6024
+ $mol_rest_code[$mol_rest_code["Network Connect Timeout Error"] = 599] = "Network Connect Timeout Error";
6025
+ })($mol_rest_code = $.$mol_rest_code || ($.$mol_rest_code = {}));
6026
+ })($ || ($ = {}));
6027
+
5960
6028
  ;
5961
6029
  "use strict";
5962
6030
  var $;
@@ -5990,7 +6058,7 @@ var $;
5990
6058
  return this.native.ok;
5991
6059
  }
5992
6060
  message() {
5993
- return this.native.statusText || `HTTP Error ${this.code()}`;
6061
+ return $mol_rest_code[this.code()] || `HTTP Error ${this.code()}`;
5994
6062
  }
5995
6063
  headers() {
5996
6064
  return this.native.headers;