Skip to content

refactor(public_api): drop content-type workarounds now obsolete#42

Merged
lucasloisp merged 1 commit into
nextfrom
llois-c/refactor-drop-content-type-workarounds
May 14, 2026
Merged

refactor(public_api): drop content-type workarounds now obsolete#42
lucasloisp merged 1 commit into
nextfrom
llois-c/refactor-drop-content-type-workarounds

Conversation

@lucasloisp
Copy link
Copy Markdown
Collaborator

The Stainless-generated transport now elides the Content-Type header
on bodyless requests (commit 6741307), so the hand-rolled
extra_headers: {"Content-Type" => nil} overrides in
policies.delete, policies.delete_rule, and key_quorums.delete
are redundant.

Copy link
Copy Markdown
Collaborator Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@lucasloisp lucasloisp requested a review from jagtejsodhi May 14, 2026 17:10
@lucasloisp lucasloisp marked this pull request as ready for review May 14, 2026 17:10
The Stainless-generated transport now elides the Content-Type header
on bodyless requests (commit 6741307), so the hand-rolled
`extra_headers: {"Content-Type" => nil}` overrides in
`policies.delete`, `policies.delete_rule`, and `key_quorums.delete`
are redundant.
@lucasloisp lucasloisp force-pushed the llois-c/refactor-drop-content-type-workarounds branch from bc1cdfd to 33db6fb Compare May 14, 2026 18:23
@lucasloisp lucasloisp merged commit afd9886 into next May 14, 2026
17 of 18 checks passed
@stainless-app stainless-app Bot mentioned this pull request May 14, 2026
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