The url
getter of Request
class does not work if there's no "host" header
#571
Labels
need info
Further information requested
The following code block depends on the presence of the "host" header.
oak/request.ts
Lines 115 to 124 in 6ffec42
However, according to RFC 9110 7.2. Host and :authority, we are allowed to NOT send the host header in HTTP/2 or HTTP/3 requests. Therefore I think it would be great to not rely on the host header.
The text was updated successfully, but these errors were encountered: