-
Notifications
You must be signed in to change notification settings - Fork 47
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
Root API url without trailing slash location is missing in resource URL #11
Comments
This isn't working for me. I'm getting double-slashes on all my API URLs now. My resource URLs all start with a slash so that I can use absolute paths. Now that simple-rest-client is appending a slash to the root URL, I get double slashes. The result is a 404 every time.
The work around is to remove the leading slash on all the resources (pain). (A little while ago, I upgraded from PyPI and received this change in there. ) |
@dagostinelli check if work with https://pypi.org/project/simple-rest-client/0.5.4/ 😃 |
How to reproduce
Expected result
I expect one of 2 options:
https://test.loc/api/resource
).I like the first one a lot better. If there are any objections, please shout.
Actual result
A resource URL without root URL path is used, i.e.
https://test.loc/resource
.Root cause
This line.
The text was updated successfully, but these errors were encountered: