Skip to content

Add Optional headers Param to post - #110

Merged
Resonious merged 2 commits into
mainfrom
add-optional-headers-param
May 7, 2026
Merged

Add Optional headers Param to post#110
Resonious merged 2 commits into
mainfrom
add-optional-headers-param

Conversation

@quin-komoju

Copy link
Copy Markdown
Contributor

Allows callers to pass custom request headers when using the post helper. The provided headers are spread after the defaults (Content-Type and Accept), so they can supplement or override the defaults as needed. The parameter is optional, so all existing call sites remain unaffected.

@quin-komoju
quin-komoju requested a review from a team as a code owner May 7, 2026 21:39
@Resonious
Resonious merged commit 8efc8f5 into main May 7, 2026
2 checks passed
@Resonious
Resonious deleted the add-optional-headers-param branch May 7, 2026 23:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants