Skip to content

Respond with 400 status code if not all request body bytes were received - #5466

Draft
rwalerow wants to merge 1 commit into
masterfrom
fix/return-400-if-not-all-body-bytes-received
Draft

Respond with 400 status code if not all request body bytes were received#5466
rwalerow wants to merge 1 commit into
masterfrom
fix/return-400-if-not-all-body-bytes-received

Conversation

@rwalerow

Copy link
Copy Markdown

Why I did it?
In order to have a test which might confirm an issue
with an incompletely send request

How I did it:
I prepared a new test case in NettyCatsRequestTimeoutTest as following:

set request timeout to 1s
declare 10000 bytes as request body size(content length)
send request with a tiny request body

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant