@d1g1tal/transportr 1.4.4 → 2.1.0

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.
@@ -0,0 +1,345 @@
1
+ /** Defining a constant object HTTP response headers */
2
+ declare const HttpResponseHeader: {
3
+ /**
4
+ * Implemented as a misunderstanding of the HTTP specifications. Common because of mistakes in implementations of early HTTP versions. Has exactly the same functionality as standard Connection field.
5
+ *
6
+ * @example
7
+ * proxy-connection: keep-alive
8
+ */
9
+ readonly PROXY_CONNECTION: "proxy-connection";
10
+ /**
11
+ * Server-side deep packet insertion of a unique ID identifying customers of Verizon Wireless, also known as "perma-cookie" or "supercookie"
12
+ *
13
+ * @example
14
+ * x-uidh: ...
15
+ */
16
+ readonly X_UIDH: "x-uidh";
17
+ /**
18
+ * Used to prevent cross-site request forgery. Alternative header names are: X-CSRFToken and X-XSRF-TOKEN
19
+ *
20
+ * @example
21
+ * x-csrf-token: i8XNjC4b8KVok4uw5RftR38Wgp2BFwql
22
+ */
23
+ readonly X_CSRF_TOKEN: "x-csrf-token";
24
+ /**
25
+ * Specifying which web sites can participate in cross-origin resource sharing
26
+ *
27
+ * @example
28
+ * access-control-allow-origin: *
29
+ * Provisional
30
+ */
31
+ readonly ACCESS_CONTROL_ALLOW_ORIGIN: "access-control-allow-origin";
32
+ /**
33
+ * Specifies which patch document formats this server supports
34
+ *
35
+ * @example
36
+ * accept-patch: text/example,charset=utf-8
37
+ * Permanent
38
+ */
39
+ readonly ACCEPT_PATCH: "accept-patch";
40
+ /**
41
+ * What partial content range types this server supports via byte serving
42
+ *
43
+ * @example
44
+ * accept-ranges: bytes
45
+ * Permanent
46
+ */
47
+ readonly ACCEPT_RANGES: "accept-ranges";
48
+ /**
49
+ * The age the object has been in a proxy cache in seconds
50
+ *
51
+ * @example
52
+ * age: 12
53
+ * Permanent
54
+ */
55
+ readonly AGE: "age";
56
+ /**
57
+ * Valid actions for a specified resource. To be used for a 405 Method not allowed
58
+ *
59
+ * @example
60
+ * allow: GET, HEAD
61
+ * Permanent
62
+ */
63
+ readonly ALLOW: "allow";
64
+ /**
65
+ * Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds
66
+ *
67
+ * @example
68
+ * cache-control: max-age=3600
69
+ * Permanent
70
+ */
71
+ readonly CACHE_CONTROL: "cache-control";
72
+ /**
73
+ * Control options for the current connection and list of hop-by-hop response fields
74
+ *
75
+ * @example
76
+ * connection: close
77
+ * Permanent
78
+ */
79
+ readonly CONNECTION: "connection";
80
+ /**
81
+ * An opportunity to raise a "File Download" dialogue box for a known MIME type with binary format or suggest a filename for dynamic content. Quotes are necessary with special characters.
82
+ *
83
+ * @example
84
+ * content-disposition: attachment, filename="fname.ext"
85
+ * Permanent
86
+ */
87
+ readonly CONTENT_DISPOSITION: "content-disposition";
88
+ /**
89
+ * The type of encoding used on the data. See HTTP compression.
90
+ *
91
+ * @example
92
+ * content-encoding: gzip
93
+ * Permanent
94
+ */
95
+ readonly CONTENT_ENCODING: "content-encoding";
96
+ /**
97
+ * The natural language or languages of the intended audience for the enclosed content
98
+ *
99
+ * @example
100
+ * content-language: da
101
+ * Permanent
102
+ */
103
+ readonly CONTENT_LANGUAGE: "content-language";
104
+ /**
105
+ * The length of the response body in octets (8-bit bytes)
106
+ *
107
+ * @example
108
+ * content-length: 348
109
+ * Permanent
110
+ */
111
+ readonly CONTENT_LENGTH: "content-length";
112
+ /**
113
+ * An alternate location for the returned data
114
+ *
115
+ * @example
116
+ * content-location: /index.htm
117
+ * Permanent
118
+ */
119
+ readonly CONTENT_LOCATION: "content-location";
120
+ /**
121
+ * Where in a full body message this partial message belongs
122
+ *
123
+ * @example
124
+ * content-range: bytes 21010-47021/47022
125
+ * Permanent
126
+ */
127
+ readonly CONTENT_RANGE: "content-range";
128
+ /**
129
+ * The MIME type of this content
130
+ *
131
+ * @example
132
+ * content-type: text/html, charset=utf-8
133
+ * Permanent
134
+ */
135
+ readonly CONTENT_TYPE: "content-type";
136
+ /**
137
+ * The date and time that the message was sent (in "HTTP-date" format as defined by RFC 7231)
138
+ *
139
+ * @example
140
+ * date: Tue, 15 Nov 1994 08:12:31 GMT
141
+ * Permanent
142
+ */
143
+ readonly DATE: "date";
144
+ /**
145
+ * An identifier for a specific version of a resource, often a message digest
146
+ *
147
+ * @example
148
+ * etag: "737060cd8c284d8af7ad3082f209582d"
149
+ * Permanent
150
+ */
151
+ readonly ETAG: "etag";
152
+ /**
153
+ * Gives the date/time after which the response is considered stale (in "HTTP-date" format as defined by RFC 7231)
154
+ *
155
+ * @example
156
+ * expires: Thu, 01 Dec 1994 16:00:00 GMT
157
+ * Permanent
158
+ */
159
+ readonly EXPIRES: "expires";
160
+ /**
161
+ * The last modified date for the requested object (in "HTTP-date" format as defined by RFC 7231)
162
+ *
163
+ * @example
164
+ * last-modified: Tue, 15 Nov 1994 12:45:26 GMT
165
+ * Permanent
166
+ */
167
+ readonly LAST_MODIFIED: "last-modified";
168
+ /**
169
+ * Used to express a typed relationship with another resource, where the relation type is defined by RFC 5988
170
+ *
171
+ * @example
172
+ * link: </feed>, rel="alternate"
173
+ * Permanent
174
+ */
175
+ readonly LINK: "link";
176
+ /**
177
+ * Used in redirection, or when a new resource has been created.
178
+ *
179
+ * @example
180
+ * location: http://www.w3.org/pub/WWW/People.html
181
+ * Permanent
182
+ */
183
+ readonly LOCATION: "location";
184
+ /**
185
+ * This field is supposed to set P3P policy, in the form of P3P:CP="your_compact_policy". However, P3P did not take off, most browsers have never fully
186
+ * implemented it, a lot of websites set this field with fake policy text, that was enough to fool browsers the existence of P3P policy and grant permissions for third party cookies.
187
+ *
188
+ * @example
189
+ * p3p: CP="This is not a P3P policy! See http://www.google.com/support/accounts/bin/answer.py?hl=en&answer=151657 for more info."
190
+ * Permanent
191
+ */
192
+ readonly P3P: "p3p";
193
+ /**
194
+ * Implementation-specific fields that may have various effects anywhere along the request-response chain.
195
+ *
196
+ * @example
197
+ * pragma: no-cache
198
+ * Permanent
199
+ */
200
+ readonly PRAGMA: "pragma";
201
+ /**
202
+ * Request authentication to access the proxy.
203
+ *
204
+ * @example
205
+ * proxy-authenticate: Basic
206
+ * Permanent
207
+ */
208
+ readonly PROXY_AUTHENTICATION: "proxy-authenticate";
209
+ /**
210
+ * HTTP Public Key Pinning, announces hash of website's authentic TLS certificate
211
+ *
212
+ * @example
213
+ * public-key-pins: max-age=2592000, pin-sha256="E9CZ9INDbd+2eRQozYqqbQ2yXLVKB9+xcprMF+44U1g=",
214
+ * Permanent
215
+ */
216
+ readonly PUBLIC_KEY_PINS: "public-key-pins";
217
+ /**
218
+ * If an entity is temporarily unavailable, this instructs the client to try again later. Value could be a specified period of time (in seconds) or a HTTP-date.
219
+ *
220
+ * @example
221
+ * retry-after: 120
222
+ * retry-after: Fri, 07 Nov 2014 23:59:59 GMT
223
+ * Permanent
224
+ */
225
+ readonly RETRY_AFTER: "retry-after";
226
+ /**
227
+ * A name for the server
228
+ *
229
+ * @example
230
+ * server: Apache/2.4.1 (Unix)
231
+ * Permanent
232
+ */
233
+ readonly SERVER: "server";
234
+ /**
235
+ * An HTTP cookie
236
+ *
237
+ * @example
238
+ * set-cookie: UserID=JohnDoe, Max-Age=3600, Version=1
239
+ * Permanent
240
+ */
241
+ readonly SET_COOKIE: "set-cookie";
242
+ /**
243
+ * CGI header field specifying the status of the HTTP response. Normal HTTP responses use a separate "Status-Line" instead, defined by RFC 7230.
244
+ *
245
+ * @example
246
+ * status: 200 OK
247
+ */
248
+ readonly STATUS: "status";
249
+ /**
250
+ * A HSTS Policy informing the HTTP client how long to cache the HTTPS only policy and whether this applies to subdomains.
251
+ *
252
+ * @example
253
+ * strict-transport-security: max-age=16070400, includeSubDomains
254
+ * Permanent
255
+ */
256
+ readonly STRICT_TRANSPORT_SECURITY: "strict-transport-security";
257
+ /**
258
+ * The Trailer general field value indicates that the given set of header fields is present in the trailer of a message encoded with chunked transfer coding.
259
+ *
260
+ * @example
261
+ * trailer: Max-Forwards
262
+ * Permanent
263
+ */
264
+ readonly TRAILER: "trailer";
265
+ /**
266
+ * The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity.
267
+ *
268
+ * @example
269
+ * transfer-encoding: chunked
270
+ * Permanent
271
+ */
272
+ readonly TRANSFER_ENCODING: "transfer-encoding";
273
+ /**
274
+ * Ask the client to upgrade to another protocol.
275
+ *
276
+ * @example
277
+ * upgrade: HTTP/2.0, SHTTP/1.3, IRC/6.9, RTA/x11
278
+ * Permanent
279
+ */
280
+ readonly UPGRADE: "upgrade";
281
+ /**
282
+ * Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server.
283
+ *
284
+ * @example
285
+ * vary: *
286
+ * Permanent
287
+ */
288
+ readonly VARY: "vary";
289
+ /**
290
+ * Informs the client of proxies through which the response was sent.
291
+ *
292
+ * @example
293
+ * via: 1.0 fred, 1.1 example.com (Apache/1.1)
294
+ * Permanent
295
+ */
296
+ readonly VIA: "via";
297
+ /**
298
+ * A general warning about possible problems with the entity body.
299
+ *
300
+ * @example
301
+ * warning: 199 Miscellaneous warning
302
+ * Permanent
303
+ */
304
+ readonly WARNING: "warning";
305
+ /**
306
+ * Indicates the authentication scheme that should be used to access the requested entity.
307
+ *
308
+ * @example
309
+ * www-authenticate: Basic
310
+ * Permanent
311
+ */
312
+ readonly WWW_AUTHENTICATE: "www-authenticate";
313
+ /**
314
+ * Cross-site scripting (XSS) filter
315
+ *
316
+ * @example
317
+ * x-xss-protection: 1, mode=block
318
+ */
319
+ readonly X_XSS_PROTECTION: "x-xss-protection";
320
+ /**
321
+ * The HTTP Content-Security-Policy response header allows web site administrators to control resources the user agent is allowed
322
+ * to load for a given page. With a few exceptions, policies mostly involve specifying server origins and script endpoints.
323
+ * This helps guard against cross-site scripting attacks (Cross-site_scripting).
324
+ *
325
+ * @example
326
+ * content-security-policy: default-src
327
+ */
328
+ readonly CONTENT_SECURITY_POLICY: "content-security-policy";
329
+ /**
330
+ * The only defined value, "nosniff", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type. This also applies to Google Chrome, when downloading extensions.
331
+ *
332
+ * @example
333
+ * x-content-type-options: nosniff
334
+ */
335
+ readonly X_CONTENT_TYPE_OPTIONS: "x-content-type-options";
336
+ /**
337
+ * specifies the technology (e.g. ASP.NET, PHP, JBoss) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)
338
+ *
339
+ * @example
340
+ * x-powered-by: PHP/5.4.0
341
+ */
342
+ readonly X_POWERED_BY: "x-powered-by";
343
+ };
344
+
345
+ export { HttpResponseHeader };
@@ -0,0 +1,2 @@
1
+ var t={PROXY_CONNECTION:"proxy-connection",X_UIDH:"x-uidh",X_CSRF_TOKEN:"x-csrf-token",ACCESS_CONTROL_ALLOW_ORIGIN:"access-control-allow-origin",ACCEPT_PATCH:"accept-patch",ACCEPT_RANGES:"accept-ranges",AGE:"age",ALLOW:"allow",CACHE_CONTROL:"cache-control",CONNECTION:"connection",CONTENT_DISPOSITION:"content-disposition",CONTENT_ENCODING:"content-encoding",CONTENT_LANGUAGE:"content-language",CONTENT_LENGTH:"content-length",CONTENT_LOCATION:"content-location",CONTENT_RANGE:"content-range",CONTENT_TYPE:"content-type",DATE:"date",ETAG:"etag",EXPIRES:"expires",LAST_MODIFIED:"last-modified",LINK:"link",LOCATION:"location",P3P:"p3p",PRAGMA:"pragma",PROXY_AUTHENTICATION:"proxy-authenticate",PUBLIC_KEY_PINS:"public-key-pins",RETRY_AFTER:"retry-after",SERVER:"server",SET_COOKIE:"set-cookie",STATUS:"status",STRICT_TRANSPORT_SECURITY:"strict-transport-security",TRAILER:"trailer",TRANSFER_ENCODING:"transfer-encoding",UPGRADE:"upgrade",VARY:"vary",VIA:"via",WARNING:"warning",WWW_AUTHENTICATE:"www-authenticate",X_XSS_PROTECTION:"x-xss-protection",CONTENT_SECURITY_POLICY:"content-security-policy",X_CONTENT_TYPE_OPTIONS:"x-content-type-options",X_POWERED_BY:"x-powered-by"};export{t as HttpResponseHeader};
2
+ //# sourceMappingURL=response-headers.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../src/http-response-headers.ts"],
4
+ "sourcesContent": ["/** Defining a constant object HTTP response headers */\nconst HttpResponseHeader = {\n\t/**\n\t * Implemented as a misunderstanding of the HTTP specifications. Common because of mistakes in implementations of early HTTP versions. Has exactly the same functionality as standard Connection field.\n\t *\n\t * @example\n\t * proxy-connection: keep-alive\n\t */\n\tPROXY_CONNECTION: 'proxy-connection',\n\t/**\n\t * Server-side deep packet insertion of a unique ID identifying customers of Verizon Wireless, also known as \"perma-cookie\" or \"supercookie\"\n\t *\n\t * @example\n\t * x-uidh: ...\n\t */\n\tX_UIDH: 'x-uidh',\n\t/**\n\t * Used to prevent cross-site request forgery. Alternative header names are: X-CSRFToken and X-XSRF-TOKEN\n\t *\n\t * @example\n\t * x-csrf-token: i8XNjC4b8KVok4uw5RftR38Wgp2BFwql\n\t */\n\tX_CSRF_TOKEN: 'x-csrf-token',\n\t/**\n\t * Specifying which web sites can participate in cross-origin resource sharing\n\t *\n\t * @example\n\t * access-control-allow-origin: *\n\t * Provisional\n\t */\n\tACCESS_CONTROL_ALLOW_ORIGIN: 'access-control-allow-origin',\n\t/**\n\t * Specifies which patch document formats this server supports\n\t *\n\t * @example\n\t * accept-patch: text/example,charset=utf-8\n\t * Permanent\n\t */\n\tACCEPT_PATCH: 'accept-patch',\n\t/**\n\t * What partial content range types this server supports via byte serving\n\t *\n\t * @example\n\t * accept-ranges: bytes\n\t * Permanent\n\t */\n\tACCEPT_RANGES: 'accept-ranges',\n\t/**\n\t * The age the object has been in a proxy cache in seconds\n\t *\n\t * @example\n\t * age: 12\n\t * Permanent\n\t */\n\tAGE: 'age',\n\t/**\n\t * Valid actions for a specified resource. To be used for a 405 Method not allowed\n\t *\n\t * @example\n\t * allow: GET, HEAD\n\t * Permanent\n\t */\n\tALLOW: 'allow',\n\t/**\n\t * Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds\n\t *\n\t * @example\n\t * cache-control: max-age=3600\n\t * Permanent\n\t */\n\tCACHE_CONTROL: 'cache-control',\n\t/**\n\t * Control options for the current connection and list of hop-by-hop response fields\n\t *\n\t * @example\n\t * connection: close\n\t * Permanent\n\t */\n\tCONNECTION: 'connection',\n\t/**\n\t * An opportunity to raise a \"File Download\" dialogue box for a known MIME type with binary format or suggest a filename for dynamic content. Quotes are necessary with special characters.\n\t *\n\t * @example\n\t * content-disposition: attachment, filename=\"fname.ext\"\n\t * Permanent\n\t */\n\tCONTENT_DISPOSITION: 'content-disposition',\n\t/**\n\t * The type of encoding used on the data. See HTTP compression.\n\t *\n\t * @example\n\t * content-encoding: gzip\n\t * Permanent\n\t */\n\tCONTENT_ENCODING: 'content-encoding',\n\t/**\n\t * The natural language or languages of the intended audience for the enclosed content\n\t *\n\t * @example\n\t * content-language: da\n\t * Permanent\n\t */\n\tCONTENT_LANGUAGE: 'content-language',\n\t/**\n\t * The length of the response body in octets (8-bit bytes)\n\t *\n\t * @example\n\t * content-length: 348\n\t * Permanent\n\t */\n\tCONTENT_LENGTH: 'content-length',\n\t/**\n\t * An alternate location for the returned data\n\t *\n\t * @example\n\t * content-location: /index.htm\n\t * Permanent\n\t */\n\tCONTENT_LOCATION: 'content-location',\n\t/**\n\t * Where in a full body message this partial message belongs\n\t *\n\t * @example\n\t * content-range: bytes 21010-47021/47022\n\t * Permanent\n\t */\n\tCONTENT_RANGE: 'content-range',\n\t/**\n\t * The MIME type of this content\n\t *\n\t * @example\n\t * content-type: text/html, charset=utf-8\n\t * Permanent\n\t */\n\tCONTENT_TYPE: 'content-type',\n\t/**\n\t * The date and time that the message was sent (in \"HTTP-date\" format as defined by RFC 7231)\n\t *\n\t * @example\n\t * date: Tue, 15 Nov 1994 08:12:31 GMT\n\t * Permanent\n\t */\n\tDATE: 'date',\n\t/**\n\t * An identifier for a specific version of a resource, often a message digest\n\t *\n\t * @example\n\t * etag: \"737060cd8c284d8af7ad3082f209582d\"\n\t * Permanent\n\t */\n\tETAG: 'etag',\n\t/**\n\t * Gives the date/time after which the response is considered stale (in \"HTTP-date\" format as defined by RFC 7231)\n\t *\n\t * @example\n\t * expires: Thu, 01 Dec 1994 16:00:00 GMT\n\t * Permanent\n\t */\n\tEXPIRES: 'expires',\n\t/**\n\t * The last modified date for the requested object (in \"HTTP-date\" format as defined by RFC 7231)\n\t *\n\t * @example\n\t * last-modified: Tue, 15 Nov 1994 12:45:26 GMT\n\t * Permanent\n\t */\n\tLAST_MODIFIED: 'last-modified',\n\t/**\n\t * Used to express a typed relationship with another resource, where the relation type is defined by RFC 5988\n\t *\n\t * @example\n\t * link: </feed>, rel=\"alternate\"\n\t * Permanent\n\t */\n\tLINK: 'link',\n\t/**\n\t * Used in redirection, or when a new resource has been created.\n\t *\n\t * @example\n\t * location: http://www.w3.org/pub/WWW/People.html\n\t * Permanent\n\t */\n\tLOCATION: 'location',\n\t/**\n\t * This field is supposed to set P3P policy, in the form of P3P:CP=\"your_compact_policy\". However, P3P did not take off, most browsers have never fully\n\t * implemented it, a lot of websites set this field with fake policy text, that was enough to fool browsers the existence of P3P policy and grant permissions for third party cookies.\n\t *\n\t * @example\n\t * p3p: CP=\"This is not a P3P policy! See http://www.google.com/support/accounts/bin/answer.py?hl=en&answer=151657 for more info.\"\n\t * Permanent\n\t */\n\tP3P: 'p3p',\n\t/**\n\t * Implementation-specific fields that may have various effects anywhere along the request-response chain.\n\t *\n\t * @example\n\t * pragma: no-cache\n\t * Permanent\n\t */\n\tPRAGMA: 'pragma',\n\t/**\n\t * Request authentication to access the proxy.\n\t *\n\t * @example\n\t * proxy-authenticate: Basic\n\t * Permanent\n\t */\n\tPROXY_AUTHENTICATION: 'proxy-authenticate',\n\t/**\n\t * HTTP Public Key Pinning, announces hash of website's authentic TLS certificate\n\t *\n\t * @example\n\t * public-key-pins: max-age=2592000, pin-sha256=\"E9CZ9INDbd+2eRQozYqqbQ2yXLVKB9+xcprMF+44U1g=\",\n\t * Permanent\n\t */\n\tPUBLIC_KEY_PINS: 'public-key-pins',\n\t/**\n\t * If an entity is temporarily unavailable, this instructs the client to try again later. Value could be a specified period of time (in seconds) or a HTTP-date.\n\t *\n\t * @example\n\t * retry-after: 120\n\t * retry-after: Fri, 07 Nov 2014 23:59:59 GMT\n\t * Permanent\n\t */\n\tRETRY_AFTER: 'retry-after',\n\t/**\n\t * A name for the server\n\t *\n\t * @example\n\t * server: Apache/2.4.1 (Unix)\n\t * Permanent\n\t */\n\tSERVER: 'server',\n\t/**\n\t * An HTTP cookie\n\t *\n\t * @example\n\t * set-cookie: UserID=JohnDoe, Max-Age=3600, Version=1\n\t * Permanent\n\t */\n\tSET_COOKIE: 'set-cookie',\n\t/**\n\t * CGI header field specifying the status of the HTTP response. Normal HTTP responses use a separate \"Status-Line\" instead, defined by RFC 7230.\n\t *\n\t * @example\n\t * status: 200 OK\n\t */\n\tSTATUS: 'status',\n\t/**\n\t * A HSTS Policy informing the HTTP client how long to cache the HTTPS only policy and whether this applies to subdomains.\n\t *\n\t * @example\n\t * strict-transport-security: max-age=16070400, includeSubDomains\n\t * Permanent\n\t */\n\tSTRICT_TRANSPORT_SECURITY: 'strict-transport-security',\n\t/**\n\t * The Trailer general field value indicates that the given set of header fields is present in the trailer of a message encoded with chunked transfer coding.\n\t *\n\t * @example\n\t * trailer: Max-Forwards\n\t * Permanent\n\t */\n\tTRAILER: 'trailer',\n\t/**\n\t * The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity.\n\t *\n\t * @example\n\t * transfer-encoding: chunked\n\t * Permanent\n\t */\n\tTRANSFER_ENCODING: 'transfer-encoding',\n\t/**\n\t * Ask the client to upgrade to another protocol.\n\t *\n\t * @example\n\t * upgrade: HTTP/2.0, SHTTP/1.3, IRC/6.9, RTA/x11\n\t * Permanent\n\t */\n\tUPGRADE: 'upgrade',\n\t/**\n\t * Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server.\n\t *\n\t * @example\n\t * vary: *\n\t * Permanent\n\t */\n\tVARY: 'vary',\n\t/**\n\t * Informs the client of proxies through which the response was sent.\n\t *\n\t * @example\n\t * via: 1.0 fred, 1.1 example.com (Apache/1.1)\n\t * Permanent\n\t */\n\tVIA: 'via',\n\t/**\n\t * A general warning about possible problems with the entity body.\n\t *\n\t * @example\n\t * warning: 199 Miscellaneous warning\n\t * Permanent\n\t */\n\tWARNING: 'warning',\n\t/**\n\t * Indicates the authentication scheme that should be used to access the requested entity.\n\t *\n\t * @example\n\t * www-authenticate: Basic\n\t * Permanent\n\t */\n\tWWW_AUTHENTICATE: 'www-authenticate',\n\t/**\n\t * Cross-site scripting (XSS) filter\n\t *\n\t * @example\n\t * x-xss-protection: 1, mode=block\n\t */\n\tX_XSS_PROTECTION: 'x-xss-protection',\n\t/**\n\t * The HTTP Content-Security-Policy response header allows web site administrators to control resources the user agent is allowed\n\t * to load for a given page. With a few exceptions, policies mostly involve specifying server origins and script endpoints.\n\t * This helps guard against cross-site scripting attacks (Cross-site_scripting).\n\t *\n\t * @example\n\t * content-security-policy: default-src\n\t */\n\tCONTENT_SECURITY_POLICY: 'content-security-policy',\n\t/**\n\t * The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type. This also applies to Google Chrome, when downloading extensions.\n\t *\n\t * @example\n\t * x-content-type-options: nosniff\n\t */\n\tX_CONTENT_TYPE_OPTIONS: 'x-content-type-options',\n\t/**\n\t * specifies the technology (e.g. ASP.NET, PHP, JBoss) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)\n\t *\n\t * @example\n\t * x-powered-by: PHP/5.4.0\n\t */\n\tX_POWERED_BY: 'x-powered-by'\n} as const;\n\nexport { HttpResponseHeader };"],
5
+ "mappings": "AACA,IAAMA,EAAqB,CAO1B,iBAAkB,mBAOlB,OAAQ,SAOR,aAAc,eAQd,4BAA6B,8BAQ7B,aAAc,eAQd,cAAe,gBAQf,IAAK,MAQL,MAAO,QAQP,cAAe,gBAQf,WAAY,aAQZ,oBAAqB,sBAQrB,iBAAkB,mBAQlB,iBAAkB,mBAQlB,eAAgB,iBAQhB,iBAAkB,mBAQlB,cAAe,gBAQf,aAAc,eAQd,KAAM,OAQN,KAAM,OAQN,QAAS,UAQT,cAAe,gBAQf,KAAM,OAQN,SAAU,WASV,IAAK,MAQL,OAAQ,SAQR,qBAAsB,qBAQtB,gBAAiB,kBASjB,YAAa,cAQb,OAAQ,SAQR,WAAY,aAOZ,OAAQ,SAQR,0BAA2B,4BAQ3B,QAAS,UAQT,kBAAmB,oBAQnB,QAAS,UAQT,KAAM,OAQN,IAAK,MAQL,QAAS,UAQT,iBAAkB,mBAOlB,iBAAkB,mBASlB,wBAAyB,0BAOzB,uBAAwB,yBAOxB,aAAc,cACf",
6
+ "names": ["HttpResponseHeader"]
7
+ }