Lines Matching defs:statusText
1193 function isValidReasonPhrase(statusText) {
1194 for (let i = 0; i < statusText.length; ++i) {
1195 const c = statusText.charCodeAt(i);
5746 get statusText() {
5748 return this[kState].statusText;
5789 statusText: kEnumerableProperty,
5828 statusText: "",
5878 statusText: "",
5885 statusText: "",
5903 if ("statusText" in init && init.statusText != null) {
5904 if (!isValidReasonPhrase(String(init.statusText))) {
5905 throw new TypeError("Invalid statusText");
5911 if ("statusText" in init && init.statusText != null) {
5912 response[kState].statusText = init.statusText;
5974 key: "statusText",
7419 onHeaders(statusCode, headers, resume, statusText) {
7423 channels.headers.publish({ request: this, response: { statusCode, headers, statusText } });
7426 return this[kHandler].onHeaders(statusCode, headers, resume, statusText);
8178 onHeaders(statusCode, headers, resume, statusText) {
8184 return this.handler.onHeaders(statusCode, headers, resume, statusText);
8774 this.statusText = "";
8889 this.statusText = buf.toString();
8944 this.statusText = "";
8966 const { client, socket, headers, statusText } = this;
9027 const pause = request.onHeaders(statusCode, headers, this.resume, statusText) === false;
9078 this.statusText = "";
10713 statusText: "OK",
10730 statusText: "OK",
11097 const { body, status, statusText, headersList, socket } = await dispatch({ body: requestBody });
11099 response = makeResponse({ status, statusText, headersList, socket });
11103 response = makeResponse({ status, statusText, headersList });
11224 onHeaders(status, headersList, resume, statusText) {
11280 statusText,
11323 statusText: STATUS_CODES[status],