Show More
@@ -1496,7 +1496,7 b' class url(object):' | |||
|
1496 | 1496 | """ |
|
1497 | 1497 | |
|
1498 | 1498 | _safechars = "!~*'()+" |
|
1499 | _safepchars = "/!~*'()+" | |
|
1499 | _safepchars = "/!~*'()+:" | |
|
1500 | 1500 | _matchscheme = re.compile(r'^[a-zA-Z0-9+.\-]+:').match |
|
1501 | 1501 | |
|
1502 | 1502 | def __init__(self, path, parsequery=True, parsefragment=True): |
@@ -1608,8 +1608,8 b' class url(object):' | |||
|
1608 | 1608 | |
|
1609 | 1609 | Examples: |
|
1610 | 1610 | |
|
1611 | >>> str(url('http://user:pw@host:80/?foo#bar')) | |
|
1612 | 'http://user:pw@host:80/?foo#bar' | |
|
1611 | >>> str(url('http://user:pw@host:80/c:/bob?fo:oo#ba:ar')) | |
|
1612 | 'http://user:pw@host:80/c:/bob?fo:oo#ba:ar' | |
|
1613 | 1613 | >>> str(url('http://user:pw@host:80/?foo=bar&baz=42')) |
|
1614 | 1614 | 'http://user:pw@host:80/?foo=bar&baz=42' |
|
1615 | 1615 | >>> str(url('http://user:pw@host:80/?foo=bar%3dbaz')) |
General Comments 0
You need to be logged in to leave comments.
Login now