URI
basic immutable URI class that includes normalization for equality testing.
install
pip install https://tracinsy.ewi.tudelft.nl/pubtrac/Utilities/export/237/uri/dist/uri-1.0.0.tar.gz
or check the latest version at uri/dist
examples
from uri import URI u2=URI("ws://localhost:8080/bla/2/3?q=hello#zozo") u2.getScheme() 'ws' >>> u2.getFragment() 'zozo' u1=URI("http://blabla") u1a=URI("hTTP://blaBla") >>> u1==u1a True >>> u1==u2 False
Last modified
4 years ago
Last modified on 06/17/21 14:55:21
Note:
See TracWiki
for help on using the wiki.