ResponseBuilder should have a method accepting a map of headers
Open
Component: model api
- Dominant language
- Java
- Stars
- 400
- Forks
- 143
- PR merge metrics
- No merged PRs in 30d
Description
In can be tedious to manually set the cached headers on an instance of ResponseBuilder.
Response.fromResponse implementation has the code that might be reused
Contributor guide
Research direction
Start with the ResponseBuilder API and the Response.fromResponse implementation referenced in the issue. Compare how cached headers are handled there and determine the expected map-based entry point; done means callers can provide headers without setting them individually and the existing behavior remains intact.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- api
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100