-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added an optional param default_scheme to the url_normalize so that u…
…ser may provide default scheme (e.g., 'http') instead of 'https'.
- Loading branch information
Showing
6 changed files
with
39 additions
and
23 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[tool.poetry] | ||
name = "url-normalize" | ||
version = "1.4.0" | ||
version = "1.4.1" | ||
description = "URL normalization for Python" | ||
authors = ["Nikolay Panov <[email protected]>"] | ||
license = "PSF" | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,24 +20,13 @@ | |
http://intertwingly.net/blog/2004/08/04/Urlnorm | ||
This fork author: Nikolay Panov (<[email protected]>) | ||
History: | ||
* 1.4.0: A bit of code refactoring and cleanup | ||
* 1.3.3: Support empty string and double slash urls (//domain.tld) | ||
* 1.3.2: Same code support both Python 3 and Python 2. | ||
* 1.3.1: Python 3 compatibility | ||
* 1.2.1: PEP8, setup.py | ||
* 1.1.2: support for shebang (#!) urls | ||
* 1.1.1: using 'http' schema by default when appropriate | ||
* 1.1.0: added handling of IDN domains | ||
* 1.0.0: code pep8-zation | ||
* 0.1.0: forked from Sam Ruby's urlnorm.py | ||
""" | ||
|
||
from __future__ import absolute_import | ||
|
||
from .url_normalize import url_normalize | ||
|
||
__license__ = "Python" | ||
__version__ = "1.4.0" | ||
__version__ = "1.4.1" | ||
|
||
__all__ = ["url_normalize"] |
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