(request: Http.IncomingMessage | undefined)
| 605 | new HttpServerError({ reason: new InternalError({ request, description, cause }) }) |
| 606 | |
| 607 | const isHttp2 = (request: Http.IncomingMessage | undefined): boolean => request?.httpVersionMajor === 2 |
| 608 | |
| 609 | // HTTP/2 sends the authority as `:authority`, which takes precedence over a Host header. |
| 610 | // Pseudo-headers are not valid header names elsewhere, such as in a web `Request`. |
no outgoing calls
no test coverage detected