@celljs/http 3.4.2 → 3.4.4
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/lib/common/client/client-protocol.d.ts +11 -1
- package/lib/common/client/client-protocol.d.ts.map +1 -1
- package/lib/common/client/client-protocol.js +25 -1
- package/lib/common/client/client-protocol.js.map +1 -1
- package/lib/common/http/http-headers.d.ts +103 -100
- package/lib/common/http/http-headers.d.ts.map +1 -1
- package/lib/common/http/http-headers.js +103 -100
- package/lib/common/http/http-headers.js.map +1 -1
- package/package.json +4 -4
- package/src/common/client/client-protocol.ts +33 -1
- package/src/common/http/http-headers.ts +162 -100
|
@@ -1,304 +1,366 @@
|
|
|
1
1
|
export class HttpHeaders {
|
|
2
2
|
/**
|
|
3
3
|
* The HTTP `Accept` header field name.
|
|
4
|
-
* @see
|
|
4
|
+
* @see {@link https://tools.ietf.org/html/rfc7231#section-5.3.2 Section 5.3.2 of RFC 7231}
|
|
5
5
|
*/
|
|
6
6
|
public static ACCEPT = 'Accept';
|
|
7
|
+
|
|
7
8
|
/**
|
|
8
|
-
* The HTTP `Accept-Charset`header field name.
|
|
9
|
-
* @see
|
|
9
|
+
* The HTTP `Accept-Charset` header field name.
|
|
10
|
+
* @see {@link https://tools.ietf.org/html/rfc7231#section-5.3.3 Section 5.3.3 of RFC 7231}
|
|
10
11
|
*/
|
|
11
12
|
public static ACCEPT_CHARSET = 'Accept-Charset';
|
|
13
|
+
|
|
12
14
|
/**
|
|
13
15
|
* The HTTP `Accept-Encoding` header field name.
|
|
14
|
-
* @see
|
|
16
|
+
* @see {@link https://tools.ietf.org/html/rfc7231#section-5.3.4 Section 5.3.4 of RFC 7231}
|
|
15
17
|
*/
|
|
16
18
|
public static ACCEPT_ENCODING = 'Accept-Encoding';
|
|
19
|
+
|
|
17
20
|
/**
|
|
18
21
|
* The HTTP `Accept-Language` header field name.
|
|
19
|
-
* @see
|
|
22
|
+
* @see {@link https://tools.ietf.org/html/rfc7231#section-5.3.5 Section 5.3.5 of RFC 7231}
|
|
20
23
|
*/
|
|
21
24
|
public static ACCEPT_LANGUAGE = 'Accept-Language';
|
|
25
|
+
|
|
22
26
|
/**
|
|
23
27
|
* The HTTP `Accept-Ranges` header field name.
|
|
24
|
-
* @see
|
|
28
|
+
* @see {@link https://tools.ietf.org/html/rfc7233#section-2.3 Section 5.3.5 of RFC 7233}
|
|
25
29
|
*/
|
|
26
30
|
public static ACCEPT_RANGES = 'Accept-Ranges';
|
|
31
|
+
|
|
27
32
|
/**
|
|
28
33
|
* The CORS `Access-Control-Allow-Credentials` response header field name.
|
|
29
|
-
* @see
|
|
34
|
+
* @see {@link http://www.w3.org/TR/cors/ CORS W3C recommendation}
|
|
30
35
|
*/
|
|
31
36
|
public static ACCESS_CONTROL_ALLOW_CREDENTIALS = 'Access-Control-Allow-Credentials';
|
|
37
|
+
|
|
32
38
|
/**
|
|
33
39
|
* The CORS `Access-Control-Allow-Headers` response header field name.
|
|
34
|
-
* @see
|
|
40
|
+
* @see {@link http://www.w3.org/TR/cors/ CORS W3C recommendation}
|
|
35
41
|
*/
|
|
36
42
|
public static ACCESS_CONTROL_ALLOW_HEADERS = 'Access-Control-Allow-Headers';
|
|
43
|
+
|
|
37
44
|
/**
|
|
38
45
|
* The CORS `Access-Control-Allow-Methods` response header field name.
|
|
39
|
-
* @see
|
|
46
|
+
* @see {@link http://www.w3.org/TR/cors/ CORS W3C recommendation}
|
|
40
47
|
*/
|
|
41
48
|
public static ACCESS_CONTROL_ALLOW_METHODS = 'Access-Control-Allow-Methods';
|
|
49
|
+
|
|
42
50
|
/**
|
|
43
51
|
* The CORS `Access-Control-Allow-Origin` response header field name.
|
|
44
|
-
* @see
|
|
52
|
+
* @see {@link http://www.w3.org/TR/cors/ CORS W3C recommendation}
|
|
45
53
|
*/
|
|
46
54
|
public static ACCESS_CONTROL_ALLOW_ORIGIN = 'Access-Control-Allow-Origin';
|
|
55
|
+
|
|
47
56
|
/**
|
|
48
57
|
* The CORS `Access-Control-Expose-Headers` response header field name.
|
|
49
|
-
* @see
|
|
58
|
+
* @see {@link http://www.w3.org/TR/cors/ CORS W3C recommendation}
|
|
50
59
|
*/
|
|
51
60
|
public static ACCESS_CONTROL_EXPOSE_HEADERS = 'Access-Control-Expose-Headers';
|
|
61
|
+
|
|
52
62
|
/**
|
|
53
63
|
* The CORS `Access-Control-Max-Age` response header field name.
|
|
54
|
-
* @see
|
|
64
|
+
* @see {@link http://www.w3.org/TR/cors/ CORS W3C recommendation}
|
|
55
65
|
*/
|
|
56
66
|
public static ACCESS_CONTROL_MAX_AGE = 'Access-Control-Max-Age';
|
|
67
|
+
|
|
57
68
|
/**
|
|
58
69
|
* The CORS `Access-Control-Request-Headers` request header field name.
|
|
59
|
-
* @see
|
|
70
|
+
* @see {@link http://www.w3.org/TR/cors/ CORS W3C recommendation}
|
|
60
71
|
*/
|
|
61
72
|
public static ACCESS_CONTROL_REQUEST_HEADERS = 'Access-Control-Request-Headers';
|
|
73
|
+
|
|
62
74
|
/**
|
|
63
75
|
* The CORS `Access-Control-Request-Method` request header field name.
|
|
64
|
-
* @see
|
|
76
|
+
* @see {@link http://www.w3.org/TR/cors/ CORS W3C recommendation}
|
|
65
77
|
*/
|
|
66
78
|
public static ACCESS_CONTROL_REQUEST_METHOD = 'Access-Control-Request-Method';
|
|
79
|
+
|
|
67
80
|
/**
|
|
68
81
|
* The HTTP `Age` header field name.
|
|
69
|
-
* @see
|
|
82
|
+
* @see {@link https://tools.ietf.org/html/rfc7234#section-5.1 Section 5.1 of RFC 7234}
|
|
70
83
|
*/
|
|
71
84
|
public static AGE = 'Age';
|
|
85
|
+
|
|
72
86
|
/**
|
|
73
87
|
* The HTTP `Allow` header field name.
|
|
74
|
-
* @see
|
|
88
|
+
* @see {@link https://tools.ietf.org/html/rfc7231#section-7.4.1 Section 7.4.1 of RFC 7231}
|
|
75
89
|
*/
|
|
76
90
|
public static ALLOW = 'Allow';
|
|
91
|
+
|
|
77
92
|
/**
|
|
78
93
|
* The HTTP `Authorization` header field name.
|
|
79
|
-
* @see
|
|
94
|
+
* @see {@link https://tools.ietf.org/html/rfc7235#section-4.2 Section 4.2 of RFC 7235}
|
|
80
95
|
*/
|
|
81
96
|
public static AUTHORIZATION = 'Authorization';
|
|
97
|
+
|
|
82
98
|
/**
|
|
83
99
|
* The HTTP `Cache-Control` header field name.
|
|
84
|
-
* @see
|
|
100
|
+
* @see {@link https://tools.ietf.org/html/rfc7234#section-5.2 Section 5.2 of RFC 7234}
|
|
85
101
|
*/
|
|
86
102
|
public static CACHE_CONTROL = 'Cache-Control';
|
|
103
|
+
|
|
87
104
|
/**
|
|
88
105
|
* The HTTP `Connection` header field name.
|
|
89
|
-
* @see
|
|
106
|
+
* @see {@link https://tools.ietf.org/html/rfc7230#section-6.1 Section 6.1 of RFC 7230}
|
|
90
107
|
*/
|
|
91
108
|
public static CONNECTION = 'Connection';
|
|
109
|
+
|
|
92
110
|
/**
|
|
93
111
|
* The HTTP `Content-Encoding` header field name.
|
|
94
|
-
* @see
|
|
112
|
+
* @see {@link https://tools.ietf.org/html/rfc7231#section-3.1.2.2 Section 3.1.2.2 of RFC 7231}
|
|
95
113
|
*/
|
|
96
114
|
public static CONTENT_ENCODING = 'Content-Encoding';
|
|
115
|
+
|
|
97
116
|
/**
|
|
98
117
|
* The HTTP `Content-Disposition` header field name.
|
|
99
|
-
* @see
|
|
118
|
+
* @see {@link https://tools.ietf.org/html/rfc6266 RFC 6266}
|
|
100
119
|
*/
|
|
101
120
|
public static CONTENT_DISPOSITION = 'Content-Disposition';
|
|
121
|
+
|
|
102
122
|
/**
|
|
103
123
|
* The HTTP `Content-Language` header field name.
|
|
104
|
-
* @see
|
|
124
|
+
* @see {@link https://tools.ietf.org/html/rfc7231#section-3.1.3.2 Section 3.1.3.2 of RFC 7231}
|
|
105
125
|
*/
|
|
106
126
|
public static CONTENT_LANGUAGE = 'Content-Language';
|
|
127
|
+
|
|
107
128
|
/**
|
|
108
|
-
* The HTTP `Content-Length`header field name.
|
|
109
|
-
* @see
|
|
129
|
+
* The HTTP `Content-Length` header field name.
|
|
130
|
+
* @see {@link https://tools.ietf.org/html/rfc7230#section-3.3.2 Section 3.3.2 of RFC 7230}
|
|
110
131
|
*/
|
|
111
132
|
public static CONTENT_LENGTH = 'Content-Length';
|
|
133
|
+
|
|
112
134
|
/**
|
|
113
|
-
* The HTTP `Content-Location`header field name.
|
|
114
|
-
* @see
|
|
135
|
+
* The HTTP `Content-Location` header field name.
|
|
136
|
+
* @see {@link https://tools.ietf.org/html/rfc7231#section-3.1.4.2 Section 3.1.4.2 of RFC 7231}
|
|
115
137
|
*/
|
|
116
138
|
public static CONTENT_LOCATION = 'Content-Location';
|
|
139
|
+
|
|
117
140
|
/**
|
|
118
|
-
* The HTTP `Content-Range`header field name.
|
|
119
|
-
* @see
|
|
141
|
+
* The HTTP `Content-Range` header field name.
|
|
142
|
+
* @see {@link https://tools.ietf.org/html/rfc7233#section-4.2 Section 4.2 of RFC 7233}
|
|
120
143
|
*/
|
|
121
144
|
public static CONTENT_RANGE = 'Content-Range';
|
|
145
|
+
|
|
122
146
|
/**
|
|
123
|
-
* The HTTP `Content-Type`header field name.
|
|
124
|
-
* @see
|
|
147
|
+
* The HTTP `Content-Type` header field name.
|
|
148
|
+
* @see {@link https://tools.ietf.org/html/rfc7231#section-3.1.1.5 Section 3.1.1.5 of RFC 7231}
|
|
125
149
|
*/
|
|
126
150
|
public static CONTENT_TYPE = 'Content-Type';
|
|
151
|
+
|
|
127
152
|
/**
|
|
128
|
-
* The HTTP `Cookie`header field name.
|
|
129
|
-
* @see
|
|
153
|
+
* The HTTP `Cookie` header field name.
|
|
154
|
+
* @see {@link https://tools.ietf.org/html/rfc2109#section-4.3.4 Section 4.3.4 of RFC 2109}
|
|
130
155
|
*/
|
|
131
156
|
public static COOKIE = 'Cookie';
|
|
157
|
+
|
|
132
158
|
/**
|
|
133
|
-
* The HTTP `Date`header field name.
|
|
134
|
-
* @see
|
|
159
|
+
* The HTTP `Date` header field name.
|
|
160
|
+
* @see {@link https://tools.ietf.org/html/rfc7231#section-7.1.1.2 Section 7.1.1.2 of RFC 7231}
|
|
135
161
|
*/
|
|
136
162
|
public static DATE = 'Date';
|
|
163
|
+
|
|
137
164
|
/**
|
|
138
|
-
* The HTTP `ETag`header field name.
|
|
139
|
-
* @see
|
|
165
|
+
* The HTTP `ETag` header field name.
|
|
166
|
+
* @see {@link https://tools.ietf.org/html/rfc7232#section-2.3 Section 2.3 of RFC 7232}
|
|
140
167
|
*/
|
|
141
168
|
public static ETAG = 'ETag';
|
|
169
|
+
|
|
142
170
|
/**
|
|
143
|
-
* The HTTP `Expect`header field name.
|
|
144
|
-
* @see
|
|
171
|
+
* The HTTP `Expect` header field name.
|
|
172
|
+
* @see {@link https://tools.ietf.org/html/rfc7231#section-5.1.1 Section 5.1.1 of RFC 7231}
|
|
145
173
|
*/
|
|
146
174
|
public static EXPECT = 'Expect';
|
|
175
|
+
|
|
147
176
|
/**
|
|
148
|
-
* The HTTP `Expires`header field name.
|
|
149
|
-
* @see
|
|
177
|
+
* The HTTP `Expires` header field name.
|
|
178
|
+
* @see {@link https://tools.ietf.org/html/rfc7234#section-5.3 Section 5.3 of RFC 7234}
|
|
150
179
|
*/
|
|
151
180
|
public static EXPIRES = 'Expires';
|
|
181
|
+
|
|
152
182
|
/**
|
|
153
|
-
* The HTTP `From`header field name.
|
|
154
|
-
* @see
|
|
183
|
+
* The HTTP `From` header field name.
|
|
184
|
+
* @see {@link https://tools.ietf.org/html/rfc7231#section-5.5.1 Section 5.5.1 of RFC 7231}
|
|
155
185
|
*/
|
|
156
186
|
public static FROM = 'From';
|
|
187
|
+
|
|
157
188
|
/**
|
|
158
|
-
* The HTTP `Host`header field name.
|
|
159
|
-
* @see
|
|
189
|
+
* The HTTP `Host` header field name.
|
|
190
|
+
* @see {@link https://tools.ietf.org/html/rfc7230#section-5.4 Section 5.4 of RFC 7230}
|
|
160
191
|
*/
|
|
161
192
|
public static HOST = 'Host';
|
|
193
|
+
|
|
162
194
|
/**
|
|
163
|
-
* The HTTP `If-Match`header field name.
|
|
164
|
-
* @see
|
|
195
|
+
* The HTTP `If-Match` header field name.
|
|
196
|
+
* @see {@link https://tools.ietf.org/html/rfc7232#section-3.1 Section 3.1 of RFC 7232}
|
|
165
197
|
*/
|
|
166
198
|
public static IF_MATCH = 'If-Match';
|
|
199
|
+
|
|
167
200
|
/**
|
|
168
|
-
* The HTTP `If-Modified-Since`header field name.
|
|
169
|
-
* @see
|
|
201
|
+
* The HTTP `If-Modified-Since` header field name.
|
|
202
|
+
* @see {@link https://tools.ietf.org/html/rfc7232#section-3.3 Section 3.3 of RFC 7232}
|
|
170
203
|
*/
|
|
171
204
|
public static IF_MODIFIED_SINCE = 'If-Modified-Since';
|
|
205
|
+
|
|
172
206
|
/**
|
|
173
|
-
* The HTTP `If-None-Match`header field name.
|
|
174
|
-
* @see
|
|
207
|
+
* The HTTP `If-None-Match` header field name.
|
|
208
|
+
* @see {@link https://tools.ietf.org/html/rfc7232#section-3.2 Section 3.2 of RFC 7232}
|
|
175
209
|
*/
|
|
176
210
|
public static IF_NONE_MATCH = 'If-None-Match';
|
|
211
|
+
|
|
177
212
|
/**
|
|
178
|
-
* The HTTP `If-Range`header field name.
|
|
179
|
-
* @see
|
|
213
|
+
* The HTTP `If-Range` header field name.
|
|
214
|
+
* @see {@link https://tools.ietf.org/html/rfc7233#section-3.2 Section 3.2 of RFC 7233}
|
|
180
215
|
*/
|
|
181
216
|
public static IF_RANGE = 'If-Range';
|
|
217
|
+
|
|
182
218
|
/**
|
|
183
|
-
* The HTTP `If-Unmodified-Since`header field name.
|
|
184
|
-
* @see
|
|
219
|
+
* The HTTP `If-Unmodified-Since` header field name.
|
|
220
|
+
* @see {@link https://tools.ietf.org/html/rfc7232#section-3.4 Section 3.4 of RFC 7232}
|
|
185
221
|
*/
|
|
186
222
|
public static IF_UNMODIFIED_SINCE = 'If-Unmodified-Since';
|
|
223
|
+
|
|
187
224
|
/**
|
|
188
|
-
* The HTTP `Last-Modified`header field name.
|
|
189
|
-
* @see
|
|
225
|
+
* The HTTP `Last-Modified` header field name.
|
|
226
|
+
* @see {@link https://tools.ietf.org/html/rfc7232#section-2.2 Section 2.2 of RFC 7232}
|
|
190
227
|
*/
|
|
191
228
|
public static LAST_MODIFIED = 'Last-Modified';
|
|
229
|
+
|
|
192
230
|
/**
|
|
193
|
-
* The HTTP `Link`header field name.
|
|
194
|
-
* @see
|
|
231
|
+
* The HTTP `Link` header field name.
|
|
232
|
+
* @see {@link https://tools.ietf.org/html/rfc5988 RFC 5988}
|
|
195
233
|
*/
|
|
196
234
|
public static LINK = 'Link';
|
|
235
|
+
|
|
197
236
|
/**
|
|
198
|
-
* The HTTP `Location`header field name.
|
|
199
|
-
* @see
|
|
237
|
+
* The HTTP `Location` header field name.
|
|
238
|
+
* @see {@link https://tools.ietf.org/html/rfc7231#section-7.1.2 Section 7.1.2 of RFC 7231}
|
|
200
239
|
*/
|
|
201
240
|
public static LOCATION = 'Location';
|
|
241
|
+
|
|
202
242
|
/**
|
|
203
|
-
* The HTTP `Max-Forwards`header field name.
|
|
204
|
-
* @see
|
|
243
|
+
* The HTTP `Max-Forwards` header field name.
|
|
244
|
+
* @see {@link https://tools.ietf.org/html/rfc7231#section-5.1.2 Section 5.1.2 of RFC 7231}
|
|
205
245
|
*/
|
|
206
246
|
public static MAX_FORWARDS = 'Max-Forwards';
|
|
247
|
+
|
|
207
248
|
/**
|
|
208
|
-
* The HTTP `Origin`header field name.
|
|
209
|
-
* @see
|
|
249
|
+
* The HTTP `Origin` header field name.
|
|
250
|
+
* @see {@link https://tools.ietf.org/html/rfc6454 RFC 6454}
|
|
210
251
|
*/
|
|
211
252
|
public static ORIGIN = 'Origin';
|
|
253
|
+
|
|
212
254
|
/**
|
|
213
|
-
* The HTTP `Pragma`header field name.
|
|
214
|
-
* @see
|
|
255
|
+
* The HTTP `Pragma` header field name.
|
|
256
|
+
* @see {@link https://tools.ietf.org/html/rfc7234#section-5.4 Section 5.4 of RFC 7234}
|
|
215
257
|
*/
|
|
216
258
|
public static PRAGMA = 'Pragma';
|
|
259
|
+
|
|
217
260
|
/**
|
|
218
|
-
* The HTTP `Proxy-Authenticate`header field name.
|
|
219
|
-
* @see
|
|
261
|
+
* The HTTP `Proxy-Authenticate` header field name.
|
|
262
|
+
* @see {@link https://tools.ietf.org/html/rfc7235#section-4.3 Section 4.3 of RFC 7235}
|
|
220
263
|
*/
|
|
221
264
|
public static PROXY_AUTHENTICATE = 'Proxy-Authenticate';
|
|
265
|
+
|
|
222
266
|
/**
|
|
223
|
-
* The HTTP `Proxy-Authorization`header field name.
|
|
224
|
-
* @see
|
|
267
|
+
* The HTTP `Proxy-Authorization` header field name.
|
|
268
|
+
* @see {@link https://tools.ietf.org/html/rfc7235#section-4.4 Section 4.4 of RFC 7235}
|
|
225
269
|
*/
|
|
226
270
|
public static PROXY_AUTHORIZATION = 'Proxy-Authorization';
|
|
271
|
+
|
|
227
272
|
/**
|
|
228
|
-
* The HTTP `Range`header field name.
|
|
229
|
-
* @see
|
|
273
|
+
* The HTTP `Range` header field name.
|
|
274
|
+
* @see {@link https://tools.ietf.org/html/rfc7233#section-3.1 Section 3.1 of RFC 7233}
|
|
230
275
|
*/
|
|
231
276
|
public static RANGE = 'Range';
|
|
277
|
+
|
|
232
278
|
/**
|
|
233
|
-
* The HTTP `Referer`header field name.
|
|
234
|
-
* @see
|
|
279
|
+
* The HTTP `Referer` header field name.
|
|
280
|
+
* @see {@link https://tools.ietf.org/html/rfc7231#section-5.5.2 Section 5.5.2 of RFC 7231}
|
|
235
281
|
*/
|
|
236
282
|
public static REFERER = 'Referer';
|
|
283
|
+
|
|
237
284
|
/**
|
|
238
|
-
* The HTTP `Retry-After`header field name.
|
|
239
|
-
* @see
|
|
285
|
+
* The HTTP `Retry-After` header field name.
|
|
286
|
+
* @see {@link https://tools.ietf.org/html/rfc7231#section-7.1.3 Section 7.1.3 of RFC 7231}
|
|
240
287
|
*/
|
|
241
288
|
public static RETRY_AFTER = 'Retry-After';
|
|
289
|
+
|
|
242
290
|
/**
|
|
243
|
-
* The HTTP `Server`header field name.
|
|
244
|
-
* @see
|
|
291
|
+
* The HTTP `Server` header field name.
|
|
292
|
+
* @see {@link https://tools.ietf.org/html/rfc7231#section-7.4.2 Section 7.4.2 of RFC 7231}
|
|
245
293
|
*/
|
|
246
294
|
public static SERVER = 'Server';
|
|
295
|
+
|
|
247
296
|
/**
|
|
248
|
-
* The HTTP `Set-Cookie`header field name.
|
|
249
|
-
* @see
|
|
297
|
+
* The HTTP `Set-Cookie` header field name.
|
|
298
|
+
* @see {@link https://tools.ietf.org/html/rfc2109#section-4.2.2 Section 4.2.2 of RFC 2109}
|
|
250
299
|
*/
|
|
251
300
|
public static SET_COOKIE = 'Set-Cookie';
|
|
301
|
+
|
|
252
302
|
/**
|
|
253
|
-
* The HTTP `Set-Cookie2`header field name.
|
|
254
|
-
* @see
|
|
303
|
+
* The HTTP `Set-Cookie2` header field name.
|
|
304
|
+
* @see {@link https://tools.ietf.org/html/rfc2965 RFC 2965}
|
|
255
305
|
*/
|
|
256
306
|
public static SET_COOKIE2 = 'Set-Cookie2';
|
|
307
|
+
|
|
257
308
|
/**
|
|
258
|
-
* The HTTP `TE`header field name.
|
|
259
|
-
* @see
|
|
309
|
+
* The HTTP `TE` header field name.
|
|
310
|
+
* @see {@link https://tools.ietf.org/html/rfc7230#section-4.3 Section 4.3 of RFC 7230}
|
|
260
311
|
*/
|
|
261
312
|
public static TE = 'TE';
|
|
313
|
+
|
|
262
314
|
/**
|
|
263
|
-
* The HTTP `Trailer`header field name.
|
|
264
|
-
* @see
|
|
315
|
+
* The HTTP `Trailer` header field name.
|
|
316
|
+
* @see {@link https://tools.ietf.org/html/rfc7230#section-4.4 Section 4.4 of RFC 7230}
|
|
265
317
|
*/
|
|
266
318
|
public static TRAILER = 'Trailer';
|
|
319
|
+
|
|
267
320
|
/**
|
|
268
|
-
* The HTTP `Transfer-Encoding`header field name.
|
|
269
|
-
* @see
|
|
321
|
+
* The HTTP `Transfer-Encoding` header field name.
|
|
322
|
+
* @see {@link https://tools.ietf.org/html/rfc7230#section-3.3.1 Section 3.3.1 of RFC 7230}
|
|
270
323
|
*/
|
|
271
324
|
public static TRANSFER_ENCODING = 'Transfer-Encoding';
|
|
325
|
+
|
|
272
326
|
/**
|
|
273
|
-
* The HTTP `Upgrade`header field name.
|
|
274
|
-
* @see
|
|
327
|
+
* The HTTP `Upgrade` header field name.
|
|
328
|
+
* @see {@link https://tools.ietf.org/html/rfc7230#section-6.7 Section 6.7 of RFC 7230}
|
|
275
329
|
*/
|
|
276
330
|
public static UPGRADE = 'Upgrade';
|
|
331
|
+
|
|
277
332
|
/**
|
|
278
|
-
* The HTTP `User-Agent`header field name.
|
|
279
|
-
* @see
|
|
333
|
+
* The HTTP `User-Agent` header field name.
|
|
334
|
+
* @see {@link https://tools.ietf.org/html/rfc7231#section-5.5.3 Section 5.5.3 of RFC 7231}
|
|
280
335
|
*/
|
|
281
336
|
public static USER_AGENT = 'User-Agent';
|
|
337
|
+
|
|
282
338
|
/**
|
|
283
|
-
* The HTTP `Vary`header field name.
|
|
284
|
-
* @see
|
|
339
|
+
* The HTTP `Vary` header field name.
|
|
340
|
+
* @see {@link https://tools.ietf.org/html/rfc7231#section-7.1.4 Section 7.1.4 of RFC 7231}
|
|
285
341
|
*/
|
|
286
342
|
public static VARY = 'Vary';
|
|
343
|
+
|
|
287
344
|
/**
|
|
288
|
-
* The HTTP `Via`header field name.
|
|
289
|
-
* @see
|
|
345
|
+
* The HTTP `Via` header field name.
|
|
346
|
+
* @see {@link https://tools.ietf.org/html/rfc7230#section-5.7.1 Section 5.7.1 of RFC 7230}
|
|
290
347
|
*/
|
|
291
348
|
public static VIA = 'Via';
|
|
349
|
+
|
|
292
350
|
/**
|
|
293
|
-
* The HTTP `Warning`header field name.
|
|
294
|
-
* @see
|
|
351
|
+
* The HTTP `Warning` header field name.
|
|
352
|
+
* @see {@link https://tools.ietf.org/html/rfc7234#section-5.5 Section 5.5 of RFC 7234}
|
|
295
353
|
*/
|
|
296
354
|
public static WARNING = 'Warning';
|
|
355
|
+
|
|
297
356
|
/**
|
|
298
|
-
* The HTTP `WWW-Authenticate`header field name.
|
|
299
|
-
* @see
|
|
357
|
+
* The HTTP `WWW-Authenticate` header field name.
|
|
358
|
+
* @see {@link https://tools.ietf.org/html/rfc7235#section-4.1 Section 4.1 of RFC 7235}
|
|
300
359
|
*/
|
|
301
360
|
public static WWW_AUTHENTICATE = 'WWW-Authenticate';
|
|
302
361
|
|
|
362
|
+
/**
|
|
363
|
+
* The HTTP `X-Requested-With` header field name.
|
|
364
|
+
*/
|
|
303
365
|
public static X_REQUESTED_WITH = 'X-Requested-With';
|
|
304
366
|
}
|