releases.shpreview

Omit X-Stainless-* headers

March 4, 2026StainlessView original ↗

You can now omit all X-Stainless-* headers from generated SDKs by adding the omit_stainless_headers to your Stainless config:

client_settings:
  omit_stainless_headers: true

This is particularly useful if your API has a headers allowlist that rejects requests containing unknown headers.

Omit X-Stainless-* headers

Fetched May 22, 2026

Omit X-Stainless-* headers — Stainless — releases.sh