Skip to content

x-stainless-timeout header is NOT_GIVEN on default requests #1676

Description

@KirtiRamchandani

When options.timeout is NotGiven, _build_headers() sets x-stainless-timeout to the string "NOT_GIVEN" via str(options.timeout), while x-stainless-read-timeout correctly falls back to the client default.

Proof after fix:

PASS x-stainless-timeout= 600

PR incoming.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions