Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MINOR: h1: Reject requests if the authority does not match the header…
… host As stated in the RCF7230#5.4, a client must send a field-value for the header host that is identical to the authority if the target URI includes one. So, now, by default, if the authority, when provided, does not match the value of the header host, an error is triggered. To mitigate this behavior, it is possible to set the option "accept-invalid-http-request". In that case, an http error is captured without interrupting the request parsing.
- Loading branch information