We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The HTTP specification rfc7230 5.3 says that a request line has a target that is either:
request-target = origin-form / absolute-form / authority-form / asterisk-form origin-form = absolute-path [ "?" query ]
so essentially it is either an absolute URI, a URI path, an authority or an asterisk.
However, HttpURI class treats a URI like //foo/bar as host=foo path=/bar, which is correct for URIs generally not not specifically for a HTTP target.
The text was updated successfully, but these errors were encountered:
Issue #79 Parse HTTP request target starting with //
6a90029
Added a new parseRequestTarget method
gregw
No branches or pull requests
The HTTP specification rfc7230 5.3 says that a request line has a target that is either:
so essentially it is either an absolute URI, a URI path, an authority or an asterisk.
However, HttpURI class treats a URI like //foo/bar as host=foo path=/bar, which is correct for URIs generally not not specifically for a HTTP target.
The text was updated successfully, but these errors were encountered: