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

Double slashes causes inconsistency between open() and exists() #52

Open
JarrettSpiker opened this issue Jun 30, 2017 · 0 comments
Open

Comments

@JarrettSpiker
Copy link

If a path has double slashes (e.g. http://artifactory:8081/artifactory//something/artifact.jar) then, assuming that the artifact does actually exist, ArtifactoryPath.exists() will return True.

However, when open() is called on the same path, it will fail with RuntimeError: 404

Obviously it would make life easier if open() would succeed on such a call, but barring this exists() should fail so that it is possible to check for artifacts without actually trying to open them.

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

No branches or pull requests

1 participant