-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Unify url construction with helper methods that are shared between sync and async * Make sure to URL encode the crate name by adding it as a manual path segment * Manually handle the case where the crate name has a slash, because the API returns nonsensical errors, even if the crate name is properly URL encoded ("invalid semver")
- Loading branch information
Showing
2 changed files
with
89 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters