Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: join the server and url with url joinpath. #587

Merged
merged 1 commit into from
Jun 28, 2024

Conversation

cloudnautique
Copy link
Contributor

When joining url paths, you sometimes end up with // or /./ in them. When interacting with some apis you get redirects, like a 308, that are not handled by the default client.

This just cleans it up in an effort to avoid.

When joining url paths, you sometimes end up with // or /./
in them. When interacting with some apis you get redirects, like
a 308, that are not handled by the default client.

This just cleans it up in an effort to avoid.

Signed-off-by: Bill Maxwell <cloudnautique@users.noreply.github.com>
@cloudnautique cloudnautique merged commit 1c3e069 into gptscript-ai:main Jun 28, 2024
5 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.

None yet

2 participants