Home
last modified time | relevance | path

Searched refs:headersList (Results 1 – 12 of 12) sorted by relevance

/third_party/node/deps/undici/src/lib/fetch/
Dindex.js238 responseObject[kHeaders][kHeadersList] = response.headersList
478 if (!request.headersList.contains('accept')) {
495 request.headersList.append('accept', value)
501 if (!request.headersList.contains('accept-language')) {
502 request.headersList.append('accept-language', '*')
842 headersList: [ property
872 headersList: [ property
1195 request.headersList.delete(headerName)
1204 request.headersList.delete('authorization')
1207 request.headersList.delete('proxy-authorization', true)
[all …]
Dresponse.js46 responseObject[kHeaders][kHeadersList] = responseObject[kState].headersList
124 responseObject[kState].headersList.append('location', value)
149 this[kHeaders][kHeadersList] = this[kState].headersList
266 clonedResponseObject[kHeaders][kHeadersList] = clonedResponse.headersList
338 headersList: init.headersList
339 ? new HeadersList(init.headersList)
387 headersList: response.headersList property
398 headersList: response.headersList property
421 headersList: [], property
489 if (body.type != null && !response[kState].headersList.contains('Content-Type')) {
[all …]
Drequest.js149 headersList: request.headersList, property
401 this[kHeaders][kHeadersList] = request.headersList
422 const headersList = this[kHeaders][kHeadersList]
426 const headers = init.headers !== undefined ? init.headers : new HeadersList(headersList)
429 headersList.clear()
435 headersList.append(key, val)
438 headersList.cookies = headers.cookies
731 clonedRequestObject[kHeaders][kHeadersList] = clonedRequest.headersList
795 headersList: init.headersList property
796 ? new HeadersList(init.headersList)
Dutil.js42 let location = response.headersList.get('location')
202 const { headersList } = actualResponse
206 const policyHeader = (headersList.get('referrer-policy') ?? '').split(',')
265 httpRequest.headersList.set('sec-fetch-mode', header)
282 request.headersList.append('origin', serializedOrigin)
313 request.headersList.append('origin', serializedOrigin)
Dbody.js590 const { headersList } = object[kState]
591 const contentType = headersList.get('content-type')
/third_party/node/deps/undici/src/lib/websocket/
Dconnection.js63 const headersList = new Headers(options.headers)[kHeadersList]
65 request.headersList = headersList
80 request.headersList.append('sec-websocket-key', keyValue)
84 request.headersList.append('sec-websocket-version', '13')
90 request.headersList.append('sec-websocket-protocol', protocol)
121 if (protocols.length !== 0 && !response.headersList.get('Sec-WebSocket-Protocol')) {
136 if (response.headersList.get('Upgrade')?.toLowerCase() !== 'websocket') {
145 if (response.headersList.get('Connection')?.toLowerCase() !== 'upgrade') {
157 const secWSAccept = response.headersList.get('Sec-WebSocket-Accept')
171 const secExtension = response.headersList.get('Sec-WebSocket-Extensions')
[all …]
Dwebsocket.js522 const extensions = response.headersList.get('sec-websocket-extensions')
531 const protocol = response.headersList.get('sec-websocket-protocol')
/third_party/node/deps/undici/src/lib/cache/
Dcache.js119 responseObject[kHeaders][kHeadersList] = response.headersList
213 } else if (response.headersList.contains('vary')) { // 2.
215 const fieldValues = getFieldValues(response.headersList.get('vary'))
343 if (innerResponse.headersList.contains('vary')) {
345 const fieldValues = getFieldValues(innerResponse.headersList.get('vary'))
558 requestObject[kHeaders][kHeadersList] = request.headersList
762 !response.headersList.contains('vary')
767 const fieldValues = getFieldValues(response.headersList.get('vary'))
774 const requestValue = request.headersList.get(fieldValue)
775 const queryValue = requestQuery.headersList.get(fieldValue)
/third_party/node/deps/undici/
Dundici.js10441 responseObject[kHeaders][kHeadersList] = response.headersList;
10571 if (!request.headersList.contains("accept")) {
10573 request.headersList.append("accept", value);
10575 if (!request.headersList.contains("accept-language")) {
10576 request.headersList.append("accept-language", "*");
10714 headersList: [ property
10731 headersList: [ property
10889 request.headersList.delete(headerName);
10893 request.headersList.delete("authorization");
10894 request.headersList.delete("proxy-authorization", true);
[all …]
/third_party/node/deps/undici/src/lib/cookies/
Dutil.js281 const headersList = headers[kHeadersListNode]
282 assert(headersList)
284 return headersList
/third_party/node/lib/internal/http2/
Dcore.js1790 const headersList = mapToHeaders(headers);
1820 stream, headersList, options);
1885 function finishSendTrailers(stream, headersList) { argument
1896 const ret = stream[kHandle].trailers(headersList);
2258 const headersList = mapToHeaders(headers, assertValidPseudoHeaderTrailer);
2262 setImmediate(finishSendTrailers, this, headersList);
2490 let headersList;
2492 headersList = mapToHeaders(headers, assertValidPseudoHeaderResponse);
2504 const ret = self[kHandle].respond(headersList, streamOptions);
2718 const headersList = mapToHeaders(headers);
[all …]
/third_party/node/deps/corepack/dist/lib/
Dcorepack.cjs8506 let location = response.headersList.get("location", true);
8552 const { headersList } = actualResponse;
8553 const policyHeader = (headersList.get("referrer-policy", true) ?? "").split(",");
8580 httpRequest.headersList.set("sec-fetch-mode", header, true);
8586 request.headersList.append("origin", serializedOrigin, true);
8608 request.headersList.append("origin", serializedOrigin, true);
10311 const headers = requestOrResponse[kState].headersList;