Skip to content

test: cover websocket URL scheme conversion with query values - #3895

Closed
lindicaphxag-tech wants to merge 1 commit into
openai:mainfrom
lindicaphxag-tech:lindicaphxag-tech/regression-websocket-base-url-query
Closed

lindicaphxag-tech wants to merge 1 commit into
openai:mainfrom
lindicaphxag-tech:lindicaphxag-tech/regression-websocket-base-url-query

Conversation

@lindicaphxag-tech

Copy link
Copy Markdown

Changes being requested

  • Add a regression test for websocket URLs derived from a custom base_url.
  • Keep an embedded http:// value in the query string unchanged while changing only the URL scheme.
  • Cover the realtime and Responses websocket builders.

Additional context & links

Closes #3294

The implementation already uses URL scheme replacement on the current main branch; this test keeps the reported case from regressing.

Local test execution was blocked because the environment could not download the repository's pinned Python runtime (DNS failure). git diff --check passes.

@lindicaphxag-tech
lindicaphxag-tech requested a review from a team as a code owner September 18, 2026 07:40
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:- websocket_base_url derivation corrupts URLs containing http:// in query params

1 participant