Changes between Initial Version and Version 1 of uri
- Timestamp:
- 06/17/21 14:53:26 (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
uri
v1 v1 1 = URI 2 basic immutable URI class that includes normalization for equality testing. 3 4 {{{ 5 from uri import URI 6 u2=URI("ws://localhost:8080/bla/2/3?q=hello#zozo") 7 u2.getScheme() 8 'ws' 9 >>> u2.getFragment() 10 'zozo' 11 u1=URI("http://blabla") 12 u1a=URI("hTTP://blaBla") 13 >>> u1==u1a 14 True 15 >>> u1==u2 16 False 17 }}}