[feat] HTTP singleton header validations
Open
enhancement
- Dominant language
- JavaScript
- Stars
- 35.7k
- Forks
- 3.2k
- Avg merge
- 5d 6h
- Merged PRs (30d)
- 2
Description
## Describe the feature
follow-up to https://github.com/koajs/koa/pull/1899
if an HTTP header is a singleton, we should have stricter validations and disallow setting multiple fields.
Contributor guide
Research direction
Start by reading the follow-up pull request at https://github.com/koajs/koa/pull/1899 and tracing the HTTP header handling it changed. Identify how singleton headers are currently accepted, then define validation behavior that rejects multiple fields; done means singleton headers cannot be set more than once and the relevant behavior is covered by tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, node.js
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100