UNPKG

http-directives

Version:

A TypeScript-friendly package that provides strongly-typed HTTP constants

47 lines (45 loc) 1.64 kB
"use strict"; 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); // src/directives/content-encodings.ts var content_encodings_exports = {}; __export(content_encodings_exports, { ContentEncodings: () => ContentEncodings }); module.exports = __toCommonJS(content_encodings_exports); var ContentEncodings = class { }; ContentEncodings.AES128GCM = "aes128gcm"; ContentEncodings.BR = "br"; ContentEncodings.DEFLATE = "deflate"; ContentEncodings.GZIP = "gzip"; ContentEncodings.IDENTITY = "identity"; /** @deprecated */ ContentEncodings.COMPRESS = "compress"; /** @deprecated */ ContentEncodings.PACK200_GZIP = "pack200-gzip"; /** @deprecated */ ContentEncodings.SDCH = "sdch"; /** @deprecated */ ContentEncodings.X_COMPRESS = "x-compress"; /** @deprecated */ ContentEncodings.X_GZIP = "x-gzip"; // Annotate the CommonJS export names for ESM import in node: 0 && (module.exports = { ContentEncodings });