Lines Matching refs:status
660 if (response.status !== 0 && !response.internalResponse) {
691 response.status === 0 ? response : response.internalResponse
713 // 18. If response’s type is "opaque", internalResponse’s status is 206,
719 internalResponse.status === 206 &&
727 // `HEAD` or `CONNECT`, or internalResponse’s status is a null body status,
731 response.status !== 0 &&
734 nullBodyStatus.includes(internalResponse.status))
798 // whose status message is `OK`, header list is « (`Content-Type`, `text/html;charset=utf-8`) »,
838 // 7. Return a new response whose status message is `OK`, header list is
867 // 4. Return a response whose status message is `OK`,
1066 // 8. If actualResponse’s status is a redirect status, then:
1067 if (redirectStatusSet.has(actualResponse.status)) {
1068 // 1. If actualResponse’s status is not 303, request’s body is not null,
1169 // 11. If actualResponse’s status is not 303, request’s body is non-null,
1172 actualResponse.status !== 303 &&
1180 // - actualResponse’s status is 301 or 302 and request’s method is `POST`
1181 // - actualResponse’s status is 303 and request’s method is not `GET` or `HEAD`
1183 ([301, 302].includes(actualResponse.status) && request.method === 'POST') ||
1184 (actualResponse.status === 303 &&
1467 // 3. If httpRequest’s method is unsafe and forwardResponse’s status is
1473 forwardResponse.status >= 200 &&
1474 forwardResponse.status <= 399
1479 // 4. If the revalidatingFlag is set and forwardResponse’s status is 304,
1481 if (revalidatingFlag && forwardResponse.status === 304) {
1508 // 14. If response’s status is 401, httpRequest’s response tainting is not
1513 // 15. If response’s status is 407, then:
1514 if (response.status === 407) {
1539 // response’s status is 421
1540 response.status === 421 &&
1667 // of the response (e.g., frame header bytes for HTTP/2 or response status
1672 // - Any responses whose status is in the range 100 to 199, inclusive,
1757 const { body, status, statusText, headersList, socket } = await dispatch({ body: requestBody })
1760 response = makeResponse({ status, statusText, headersList, socket })
1765 response = makeResponse({ status, statusText, headersList })
1984 onHeaders (status, headersList, resume, statusText) {
1985 if (status < 200) {
2032 redirectStatusSet.has(status)
2035 if (request.method !== 'HEAD' && request.method !== 'CONNECT' && !nullBodyStatus.includes(status) && !willFollow) {
2059 status,
2115 onUpgrade (status, headersList, socket) {
2116 if (status !== 101) {
2130 status,
2131 statusText: STATUS_CODES[status],