Fix: match legacy URL API documentation (#336)
As per https://warehouse.pypa.io/api-reference/legacy/#get--simple--project--, the project URL should have a trailing slash. This was discovered as an issue in an edge case situation, but should be the standard call regardless. Edge case explanation: In a private pypi instance built on artifactory, set up to serve on https (443) and ignore http (80) requests, artifactory sends a 301 redirect when called without the slash, but provides the redirect url as http (due to a bug in artifactory). This results in an almost-valid call (but missing the slash) failing by being redirected to a nonsecure call that isn't answered. For whatever it is worth, there is a Bug filed with Artifactory for the bad redirect (https://www.jfrog.com/jira/browse/RTFACT-14235), but it is over a year old with no movement.
Showing
Please
register
or
sign in
to comment