-
-
Notifications
You must be signed in to change notification settings - Fork 170
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
Handle path argument of URL.build, which doesn't start from / #242
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm building
URL
with this line of code:Then I pass
url
tosession.post
and get 400 error.When I construct it with:
or convert it to
str
:everything is OK.
I suggest prepending
/
ifpath
doesn't start with/
or, at least, raise an exception.The text was updated successfully, but these errors were encountered: