pillarjs / pillarjs/multiparty
Add something like part.get() or part.header()
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1.3k
- Forks
- 164
- Avg merge
- 4h 16m
- Merged PRs (30d)
- 4
Description
It would be good to have something like part.get(name: string) (express-style) or part.header(name: string) (more logical, IMO) to be able to get HTTP headers using case-insensitive search. Currently, the only way to get the headers is from the part.headers array which strictly uses lower-case strings, i.e., not necessarily what came from the client.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing how the part.headers array is populated and exposed, then compare the referenced Express implementation with the current API. Add a case-insensitive header lookup on each part, and verify that callers can retrieve headers regardless of the capitalization supplied by the client.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, nodejs
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100