getHttpStatusReason
getHttpStatusReason(
status):string
Defined in: packages/net-http/src/message/http-status-reason.ts:74
The registered reason phrase for a status code, as HTTP/1.x sends it in the status line. HTTP/2 and HTTP/3 have no reason phrase at all.
Parameters
Section titled “Parameters”status
Section titled “status”number
Returns
Section titled “Returns”string
The phrase, or "" for an unregistered code — an empty phrase is
valid on the wire.