Searched refs:httpRequest (Results 1 – 5 of 5) sorted by relevance
1260 let httpRequest = null1281 httpRequest = request1286 httpRequest = makeRequest(request)1292 httpFetchParams.request = httpRequest1303 const contentLength = httpRequest.body ? httpRequest.body.length : null1311 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 …]
249 function appendFetchMetadata (httpRequest) { argument262 header = httpRequest.mode265 httpRequest.headersList.set('sec-fetch-mode', header)
10915 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 …]
26 Add to point `15. Modify httpRequest’s header list per HTTP.`:
8577 function appendFetchMetadata(httpRequest) {8579 header = httpRequest.mode;8580 httpRequest.headersList.set("sec-fetch-mode", header, true);