@dooboostore/simple-boot-http-server
Version:
back end http server frameworks
56 lines (55 loc) • 2.22 kB
JavaScript
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {
for (var name in all)
__defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
if (from && typeof from === "object" || typeof from === "function") {
for (let key of __getOwnPropNames(from))
if (!__hasOwnProp.call(to, key) && key !== except)
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
}
return to;
};
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
var Mimes_exports = {};
__export(Mimes_exports, {
Mimes: () => Mimes
});
module.exports = __toCommonJS(Mimes_exports);
var Mimes = /* @__PURE__ */ ((Mimes2) => {
Mimes2["ApplicationJson"] = "application/json";
Mimes2["ApplicationOctetStream"] = "application/octet-stream";
Mimes2["ApplicationXml"] = "application/xml";
Mimes2["ApplicationJsonPatch"] = "application/json-patch+json";
Mimes2["ApplicationXWwwFormUrlencoded"] = "application/x-www-form-urlencoded";
Mimes2["TextPlain"] = "text/plain";
Mimes2["TextHtml"] = "text/html";
Mimes2["All"] = "*/*";
Mimes2["TextCss"] = "text/css";
Mimes2["TextJavascript"] = "text/javascript";
Mimes2["TextXml"] = "text/xml";
Mimes2["TextXslt"] = "text/xslt";
Mimes2["TextXmlDtd"] = "text/xml-dtd";
Mimes2["TextPlainUtf8"] = "text/plain; charset=utf-8";
Mimes2["ImagePng"] = "image/png";
Mimes2["ImageGif"] = "image/gif";
Mimes2["ImageJpeg"] = "image/jpeg";
Mimes2["ImageSvg"] = "image/svg+xml";
Mimes2["ImageBmp"] = "image/bmp";
Mimes2["ImageTiff"] = "image/tiff";
Mimes2["ImagePdf"] = "application/pdf";
Mimes2["ImageXBmp"] = "image/x-bmp";
Mimes2["ImageXpixmap"] = "image/x-xpixmap";
Mimes2["ImageXxbm"] = "image/x-xbm";
Mimes2["MultipartFormData"] = "multipart/form-data";
return Mimes2;
})(Mimes || {});
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
Mimes
});
//# sourceMappingURL=Mimes.js.map