arturobernalg opened a new pull request, #428: URL: https://github.com/apache/httpcomponents-core/pull/428
This PR introduces validations for the :path pseudo-header field in accordance with the HTTP/2 specifications: 1. Ensures the :path pseudo-header field correctly represents the path and query parts of the target URI. Adheres to the "path-absolute" production. Optionally allows for a '?' character followed by the "query" production (as per Sections 3.3 and 3.4 of [[RFC3986](https://datatracker.ietf.org/doc/html/rfc3986)]). 2. Validates that requests in asterisk form have the value '*' for the :path pseudo-header field. 3. Enforces that the :path pseudo-header field is not left empty for "http" or "https" URIs. 4. Guarantees that "http" or "https" URIs without a path component include a '/' value for the :path pseudo-header field. 5. Implements an exception for OPTIONS requests: If the request targets an "http" or "https" URI and lacks a path component, it must set the :path pseudo-header field to '*'. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@hc.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@hc.apache.org For additional commands, e-mail: dev-h...@hc.apache.org