title: "Fetch Response.statusText" date: "2025-04-12" tags:
- Art
Ever wondered why Response.statusText returns an empty string? It's because it is not part of the HTTP/2 spec.
HTTP/2 does not define a way to carry the version or reason phrase that is included in an HTTP/1.1 status line.
Otherwise, in HTTP/1 it will return status message such as OK, Continue and Not Found.
Reference: