Changes between Initial Version and Version 1 of uri


Ignore:
Timestamp:
06/17/21 14:53:26 (3 years ago)
Author:
wouter
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • uri

    v1 v1  
     1= URI
     2basic immutable URI class that includes normalization for equality testing.
     3
     4{{{
     5from uri import URI
     6u2=URI("ws://localhost:8080/bla/2/3?q=hello#zozo")
     7u2.getScheme()
     8'ws'
     9>>> u2.getFragment()
     10'zozo'
     11u1=URI("http://blabla")
     12u1a=URI("hTTP://blaBla")
     13>>> u1==u1a
     14True
     15>>> u1==u2
     16False
     17}}}