Skip to content

Conversation

@Kludex
Copy link
Member

@Kludex Kludex commented Oct 14, 2025

No description provided.

@Kludex Kludex enabled auto-merge (squash) October 14, 2025 12:52
base_url: The base URL to merge.
path: The path to merge.
"""
return base_url.rstrip('/') + '/' + path.lstrip('/')
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why didn't urljoin work? 🤔

Copy link
Member Author

Choose a reason for hiding this comment

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

for reference: http://localhost:8000/potato + /banana = http://localhost:8000/banana

@Kludex Kludex merged commit b3b34f9 into main Oct 14, 2025
34 checks passed
@Kludex Kludex deleted the update-gateway-code branch October 14, 2025 13:00
@github-actions
Copy link

Docs Preview

commit: 1a04972
Preview URL: https://a12c7c3d-pydantic-ai-previews.pydantic.workers.dev

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.

3 participants