Closed tomchristie closed 4 years ago
Raised via https://github.com/encode/httpx/issues/632
Currently header values with trailing whitespace are causing a ProtocolError to be raised. This is technically correct, but pragmatically it'd probably be a good idea for hyper-h2 to handle the case, silently trimming the whitespace.
hyper-h2
Hi! Are you aware that you can control this behaviour using H2Configuration -> validate_inbound_headers?
validate_inbound_headers
Ah fantastic, thanks!
Raised via https://github.com/encode/httpx/issues/632
Currently header values with trailing whitespace are causing a ProtocolError to be raised. This is technically correct, but pragmatically it'd probably be a good idea for
hyper-h2
to handle the case, silently trimming the whitespace.