Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
By defaulting the host when building a URI instance we can remove a redundant type check. In practice outside of CLI environments, the host will never be empty, but this fallback makes CLI environments and testing simpler.
- Loading branch information
Showing
3 changed files
with
13 additions
and
37 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