Before changedapi/migration-2026-10-21
Recorded here
Lines+1added
Lines−1removed
From line
864
where the diff opens
First seen
23 Oct 2026
this site's first read of the page
Recorded edits5to this page, all time
The whole hunk
from line 864, old and new numbered
/
from line 864
864864 <Tab title="Ruby">
865865 `Authorization` is the header `auth_token:` already uses.
866866
867 This applies to the `api_key:` argument and the `ANTHROPIC_API_KEY` environment variable of `Anthropic::Client`, and to `api_key:` and `ANTHROPIC_AWS_API_KEY` of `Anthropic::AWSClient`. `Anthropic::BedrockMantleClient` already sent a bearer token.
867 This applies to the `api_key:` argument and the `ANTHROPIC_API_KEY` environment variable of `Anthropic::Client`, and to `api_key:` and `ANTHROPIC_AWS_API_KEY` of `Anthropic::AWSClient`. `Anthropic::FoundryClient` sends its key as `x-api-key`, and `Anthropic::BedrockMantleClient` already sent a bearer token.
868868
869869 The SDK drops `Authorization` when it follows a redirect to another origin, which includes a redirect from `http` to `https` on the same host. The key is now dropped there too.
870870 </Tab>
No line in this hunk matches that.