nodejs / http-parser

http request/response parser for c
MIT License
6.32k stars 1.53k forks source link

Test Content-Length header parsing. #519

Closed bnoordhuis closed 4 years ago

bnoordhuis commented 4 years ago

The test suite did very little validation of the Content-Length field until now. Verify for each request and response that the parsed numeric value matches the value from the header field.