When decoding HTTP requests, monoio-http currently only extracts the path and query components of the URI. However, according to HTTP specifications, a complete URI should include schema, authority, path, and query components. This limitation prevents users from accessing the complete URI when handling requests.
Current Behavior
The current implementation only extracts and provides access to the path and query components of the request URI.
Expected Behavior
The HTTP request parser should extract and make available all components of the URI (schema, authority, path, query) to allow users to access the complete URI when needed.
Impact
This limitation affects use cases where the complete URI is required, such as:
Generating absolute URLs for redirects
Proper handling of proxy requests
Maintaining the original request URI in logging or analytics
Implementing certain security checks that rely on the full URI
Potential Solution
Update the HTTP request decoder to parse and store all URI components (schema, authority, path, query) in the request representation.