Skip to content

HTTP Error bad request 400 with custom "Server:" header? #569

Answered by WyriHaximus
MarcHagen asked this question in Q&A
Discussion options

You must be logged in to vote

In short, you cannot. As you already found out, the 400 response happens before any middleware/request handlers come into play. What we can consider adding is a configuration middleware to react/http handling this.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by MarcHagen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants