Package openid :: Module urinorm
[frames] | no frames]

Module urinorm

source code

Functions
 
remove_dot_segments(path) source code
 
urinorm(uri) source code
Variables
  uri_pattern = '^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*...
  uri_re = re.compile(r'^(([^:/\?#]+):)?(//([^/\?#]*))?([^\?#]*)...
  uri_illegal_char_re = re.compile(r'(?u)[^-A-Za-z0-9:/\?#\[\]@!...
  authority_pattern = '^([^@]*@)?([^:]*)(:.*)?'
  authority_re = re.compile(r'^([^@]*@)?([^:]*)(:.*)?')
  pct_encoded_pattern = '%([0-9A-Fa-f]{2})'
  pct_encoded_re = re.compile(r'%([0-9A-Fa-f]{2})')
  UCSCHAR = [(160, 55295), (63744, 64975), (65008, 65519)]
  IPRIVATE = [(57344, 63743)]
  _ = 122
Variables Details

uri_pattern

Value:
'^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?'

uri_re

Value:
re.compile(r'^(([^:/\?#]+):)?(//([^/\?#]*))?([^\?#]*)(\?([^#]*))?(#(.*\
))?')

uri_illegal_char_re

Value:
re.compile(r'(?u)[^-A-Za-z0-9:/\?#\[\]@!\$&\'\(\)\*\+,;=\._~%]')