Skip to content

Validate HTTP Content-Length strictly#45

Open
Mirza-Samad-Ahmed-Baig wants to merge 2 commits intoantirez:mainfrom
Mirza-Samad-Ahmed-Baig:main
Open

Validate HTTP Content-Length strictly#45
Mirza-Samad-Ahmed-Baig wants to merge 2 commits intoantirez:mainfrom
Mirza-Samad-Ahmed-Baig:main

Conversation

@Mirza-Samad-Ahmed-Baig
Copy link
Copy Markdown

@Mirza-Samad-Ahmed-Baig Mirza-Samad-Ahmed-Baig commented May 9, 2026

Summary

  • reject empty, non-numeric, overflowed, or trailing-junk Content-Length header values
  • keep missing Content-Length as zero for bodyless requests
  • add focused server unit coverage for accepted and rejected header forms

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