Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enh(dav): Allow to set custom headers when creating the DAV client #849

Merged
merged 1 commit into from
Dec 21, 2023

Conversation

susnux
Copy link
Contributor

@susnux susnux commented Dec 21, 2023

Lightweight alternative to #848

So this is not really an alternative but allow for doing it manually by users of this library, as otherwise you would need to patch the headers for every request. Also this is a bit more generic as it allows to set arbitrary additional headers.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
@susnux susnux added enhancement New feature or request 3. to review labels Dec 21, 2023
Copy link

codecov bot commented Dec 21, 2023

Codecov Report

Attention: 2 lines in your changes are missing coverage. Please review.

Comparison is base (2351742) 77.75% compared to head (fc5ab15) 77.75%.

Files Patch % Lines
lib/dav/dav.ts 0.00% 2 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##           master     #849   +/-   ##
=======================================
  Coverage   77.75%   77.75%           
=======================================
  Files          17       17           
  Lines         436      436           
  Branches      115      115           
=======================================
  Hits          339      339           
  Misses         97       97           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@skjnldsv skjnldsv merged commit 8c8b725 into master Dec 21, 2023
9 of 10 checks passed
@skjnldsv skjnldsv deleted the enh/allow-headers branch December 21, 2023 13:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants