Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make host_info_from_target work with modern urlparse
The modern urlparse has changed behavior for parsing url-like strings that do not have a scheme. Initially this was added in python 3.7.x but there were issues with backwards compatibility. It came back with python 3.9. The fix here addresses the problem by always adding a scheme if one is not present. Existing styles of telling gabbi where to go with requests continue to work. Python 3.9 is added to the testing configurations. Fixes #277
- Loading branch information
Showing
4 changed files
with
13 additions
and
21 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
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