More informative `User-Agent` header
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 7.7k
- Forks
- 880
- Avg merge
- 2d 16h
- Merged PRs (30d)
- 68
Description
This would solve...
User-Agent with additional information might help server to be aware of possible features, limitations and quirks of client.
The implementation should look like...
Default user-agent having value of `undici/${version}` or `undici/${version} Node.js/${nodeVersion}`.
I have also considered...
`undici/${version} (${osInfo}) Node.js/${nodeVersion}` but it's probably too much.
Additional context
Quirks that deserve decisions on server side might be discovered much later than corresponding version had released.
Contributor guide
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
No file, entry point, or test is named. Start by locating undici's default User-Agent handling and existing header tests, then resolve which proposed format is intended; done means the chosen default is emitted consistently and 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
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100