Home
last modified time | relevance | path

Searched refs:httpRequest (Results 1 – 5 of 5) sorted by relevance

/third_party/node/deps/undici/src/lib/fetch/
Dindex.js1260 let httpRequest = null
1281 httpRequest = request
1286 httpRequest = makeRequest(request)
1292 httpFetchParams.request = httpRequest
1303 const contentLength = httpRequest.body ? httpRequest.body.length : null
1311 httpRequest.body == null &&
1312 ['POST', 'PUT'].includes(httpRequest.method)
1327 httpRequest.headersList.append('content-length', contentLengthHeaderValue)
1335 if (contentLength != null && httpRequest.keepalive) {
1342 if (httpRequest.referrer instanceof URL) {
[all …]
Dutil.js249 function appendFetchMetadata (httpRequest) { argument
262 header = httpRequest.mode
265 httpRequest.headersList.set('sec-fetch-mode', header)
/third_party/node/deps/undici/
Dundici.js10915 let httpRequest = null;
10921 httpRequest = request;
10923 httpRequest = makeRequest(request);
10925 httpFetchParams.request = httpRequest;
10928 const contentLength = httpRequest.body ? httpRequest.body.length : null;
10930 if (httpRequest.body == null && ["POST", "PUT"].includes(httpRequest.method)) {
10937 httpRequest.headersList.append("content-length", contentLengthHeaderValue);
10939 if (contentLength != null && httpRequest.keepalive) {
10941 if (httpRequest.referrer instanceof URL) {
10942 httpRequest.headersList.append("referer", isomorphicEncode(httpRequest.referrer.href));
[all …]
/third_party/skia/third_party/externals/brotli/fetch-spec/
Dshared-brotli-fetch-spec.txt26 Add to point `15. Modify httpRequest’s header list per HTTP.`:
/third_party/node/deps/corepack/dist/lib/
Dcorepack.cjs8577 function appendFetchMetadata(httpRequest) {
8579 header = httpRequest.mode;
8580 httpRequest.headersList.set("sec-fetch-mode", header, true);