Error if message is bigger than Content-Length
Pr for issue #39041 (closed)
The test for the changes is very simple, it just contains a 200 request with a header specifying the "Content-Lenght", in this case with a size of 2 bytes, with a response of 4 so the error could be triggered.
tests:
- If we change the value of the Content-Lenght for the actual one or a bigger one, we have no error.
- Finally, we do a request with no headers just to prove that the code still running, even with the new #changes.