-
-
Notifications
You must be signed in to change notification settings - Fork 315
Closed
Description
When using tonic/h2 over UDS, I think it should be possible to allow the '/' in the authority header. This looks related to #345 where Jan is also mentioning potential issues might arise once h2 would be used over UDS.
From RFC-3986:
For example, the "file" URI scheme is defined so that no authority,
an empty host, and "localhost" all mean the end-user's machine,
whereas the "http" scheme considers a missing authority or
empty host invalid.
A longer description of the issue can be found at hyperium/tonic#243
Perhaps it would be possible to support file:// (and then also perhaps the unix:// scheme) and depending on that, determine if the authority header is valid for the current scheme?
lfrancke
Metadata
Metadata
Assignees
Labels
No labels