Map router state parse errors to 400 without a second parse
Remove the up-front router state validation so each request parses the header once, as before. Invalid headers now throw a marked error from the parser, which the Node and Edge handlers answer with a 400 instead of reporting it as a server error.
Co-authored-by:
Tobias Koppers <1365881+sokra@users.noreply.github.com>
Showing
Please
register
or
sign in
to comment