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

Don't append trailing slashes when no path is given #364

Merged
merged 1 commit into from
Feb 12, 2020

Conversation

sirosen
Copy link
Member

@sirosen sirosen commented Jul 26, 2019

BaseClient.get("") should call the base URL without appending a slash if none was present. Makes it possible to call out to servers which care about this sort of thing.

closes #363

EDIT: I changed the PR title but the commit message is slightly wrong. Tell me to fix it if you care, but I think it's fine.

BaseClient.get("") should call the base URL without appending a slash if
none was present. Makes it possible to call out to servers which care
about this sort of thing.

closes globus#363
@sirosen sirosen changed the title Don't append trailing slashes when no URL is given Don't append trailing slashes when no path is given Jul 26, 2019
@sirosen sirosen merged commit 7c08b19 into globus:master Feb 12, 2020
@sirosen sirosen deleted the allow-no-trailing-slash branch August 26, 2021 20:07
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.

Cannot make request to BaseClient base_url without appending a trailing slash
1 participant