Skip to content

fix: resolve x-stainless-timeout when request timeout is NotGiven#1677

Open
KirtiRamchandani wants to merge 1 commit into
anthropics:mainfrom
KirtiRamchandani:fix/stainless-timeout-header-not-given
Open

fix: resolve x-stainless-timeout when request timeout is NotGiven#1677
KirtiRamchandani wants to merge 1 commit into
anthropics:mainfrom
KirtiRamchandani:fix/stainless-timeout-header-not-given

Conversation

@KirtiRamchandani

Copy link
Copy Markdown

Fixes #1676

x-stainless-timeout now uses the same default-timeout fallback as x-stainless-read-timeout instead of the literal string NOT_GIVEN.

Proof:

PASS x-stainless-timeout= 600

Use the client default timeout for x-stainless-timeout, matching
x-stainless-read-timeout instead of sending the literal NOT_GIVEN.
@KirtiRamchandani KirtiRamchandani requested a review from a team as a code owner June 14, 2026 04:32
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.

x-stainless-timeout header is NOT_GIVEN on default requests

1 participant