Skip to content

Is there a way to tell Kestrel not to return 411 error when Content-Length header is not set for requests with empty body? #28565

Answered by davidfowl
Dzoge asked this question in Q&A
Discussion options

You must be logged in to vote

No there's no way to inject logic at this stage, it's too early. Only a reverse proxy can help you here.

cc @halter73 @Tratcher

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by davidfowl
Comment options

You must be logged in to vote
2 replies
@halter73
Comment options

@Dzoge
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants