feat: Add setHeader option
PR Checklist
Please check if your PR fulfills the following requirements:
- [x] The commit message follows our guidelines: https://github.com/nestjs/nest/blob/master/CONTRIBUTING.md
- [x] Tests for the changes have been added (for bug fixes / features)
- [x] Docs have been added / updated (for bug fixes / features)
PR Type
What kind of change does this PR introduce?
- [ ] Bugfix
- [x] Feature
- [ ] Code style update (formatting, local variables)
- [ ] Refactoring (no functional changes, no api changes)
- [ ] Build related changes
- [ ] CI related changes
- [ ] Other... Please describe:
What is the current behavior?
Issue Number: #2172
What is the new behavior?
Adds a setHeaders option to disable headers
Does this PR introduce a breaking change?
- [ ] Yes
- [x] No
Other information
@jmcdo29 can you take a look? It would really help if this was merged as soon as possible :)
@gurgunday why was PR abandoned?
it got no response
@jmcdo29 Can you please look at this one?
The code here looks good. Apologies for the delay as my life has been chaotic this year and this stuff ends up slipping through the cracks. If you'd like to re-open the PR and add a changeset I'd be happy to merge it, or I can make my own branch for it.
@gurgunday
Sure thing, and no problem, it happens to the best of us
I can take a look at this tonight