Skip to content

Ensure that we still use base-upstream if present in standard proxy mode #12621

Merged
scbedd merged 1 commit intomainfrom
adjust-standard-proxy-mode
Oct 22, 2025
Merged

Ensure that we still use base-upstream if present in standard proxy mode #12621
scbedd merged 1 commit intomainfrom
adjust-standard-proxy-mode

Conversation

@scbedd
Copy link
Member

@scbedd scbedd commented Oct 22, 2025

No description provided.

@scbedd scbedd self-assigned this Oct 22, 2025
Copilot AI review requested due to automatic review settings October 22, 2025 22:44
@scbedd scbedd requested a review from mikeharder as a code owner October 22, 2025 22:44
@scbedd scbedd requested a review from benbp as a code owner October 22, 2025 22:44
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes the handling of the x-recording-upstream-base-uri header in standard proxy mode. Previously, the header was only retrieved and used in non-standard modes. The change ensures that if the header is present, it will be used regardless of the proxy mode, while maintaining the standard mode fallback behavior when the header is absent.

Key Changes:

  • Moved header retrieval to occur before the mode check
  • Modified the standard mode condition to only apply when the header is not present

@scbedd scbedd merged commit e945cd1 into main Oct 22, 2025
14 checks passed
@scbedd scbedd deleted the adjust-standard-proxy-mode branch October 22, 2025 23:01
@github-project-automation github-project-automation bot moved this from 🤔 Triage to 🔬 Dev in PR in Azure SDK EngSys 📆🎇 Oct 22, 2025
@scbedd scbedd mentioned this pull request Oct 23, 2025
@benbp benbp moved this from 🔬 Dev in PR to 🎊 Closed in Azure SDK EngSys 📆🎇 Oct 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants