aboutsummaryrefslogtreecommitdiff
path: root/python/python3-url-normalize/README
diff options
context:
space:
mode:
authorfourtysixandtwo <fourtysixandtwo@sliderr.net>2023-04-13 22:10:50 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-04-15 07:15:26 +0700
commitf0dff5bc249476bb67538f400e317815482dd4f9 (patch)
tree046590ed9d58738f64d907aa01ba055debab2c45 /python/python3-url-normalize/README
parente9173a78ba2d0f4e92b1bae0bd14303c0bba27a5 (diff)
python/python3-url-normalize: Added (URL normalization for Python)
Signed-off-by: bedlam <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/python3-url-normalize/README')
-rw-r--r--python/python3-url-normalize/README20
1 files changed, 20 insertions, 0 deletions
diff --git a/python/python3-url-normalize/README b/python/python3-url-normalize/README
new file mode 100644
index 000000000000..348c60f001e7
--- /dev/null
+++ b/python/python3-url-normalize/README
@@ -0,0 +1,20 @@
+python3-url-normalize (URL normalization for Python)
+
+URI Normalization function:
+
+ -Take care of IDN domains.
+ -Always provide the URI scheme in lowercase characters.
+ -Always provide the host, if any, in lowercase characters.
+ -Only perform percent-encoding where it is essential.
+ -Always use uppercase A-through-F characters when percent-encoding
+ -Prevent dot-segments appearing in non-relative URI paths.
+ -For schemes that define a default authority, use an empty
+ authority if the default is desired.
+ -For schemes that define an empty path to be equivalent to a path
+ of "/", use "/".
+ -For schemes that define a port, use an empty port if the default
+ is desired
+ -All portions of the URI must be utf-8 encoded NFC from Unicode
+ strings
+
+Inspired by Sam Ruby's urlnorm.py