Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refuse empty request-target in HTTP request
A single slash is valid, but nothing at all can be safely refused. Python stdlib explicitly tells us it will not perform validation. https://docs.python.org/3/library/urllib.parse.html#url-parsing-security There are *four* `request-target` forms in rfc9112, none of them can be empty.
- Loading branch information