Skip to content

Fix#6697 Refactor API key header handling and prevent duplicate headers#6699

Merged
hansva merged 2 commits intoapache:mainfrom
leehaut:hotfix/lance-common-25
Mar 5, 2026
Merged

Fix#6697 Refactor API key header handling and prevent duplicate headers#6699
hansva merged 2 commits intoapache:mainfrom
leehaut:hotfix/lance-common-25

Conversation

@leehaut
Copy link
Contributor

@leehaut leehaut commented Mar 3, 2026

Fix #6697 -- REST Client - authentication failure with REST Connection metadata and API key

  • Introduces a dedicated MultivaluedMap<String, Object> to collect all headers.
  • Extracted API key header logic into a dedicated method addApiKeyHeaderIfAbsent
  • Sets all headers on the invocationBuilder.headers(headerMap);

leehaut added 2 commits March 3, 2026 23:46
@hansva hansva merged commit 318ca3b into apache:main Mar 5, 2026
2 checks passed
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.

[Bug]: REST Client - authentication failure with REST Connection metadata and API key

2 participants