Home
last modified time | relevance | path

Searched refs:splitattr (Results 1 – 6 of 6) sorted by relevance

/external/python/cpython2/Lib/test/
Dtest_urllib.py981 splitattr = urllib.splitattr
982 self.assertEqual(splitattr('/path;attr1=value1;attr2=value2'),
984 self.assertEqual(splitattr('/path;'), ('/path', ['']))
985 self.assertEqual(splitattr(';attr1=value1;attr2=value2'),
987 self.assertEqual(splitattr('/path'), ('/path', []))
/external/python/cpython3/Lib/test/
Dtest_urlparse.py1131 splitattr = urllib.parse.splitattr
1132 self.assertEqual(splitattr('/path;attr1=value1;attr2=value2'),
1134 self.assertEqual(splitattr('/path;'), ('/path', ['']))
1135 self.assertEqual(splitattr(';attr1=value1;attr2=value2'),
1137 self.assertEqual(splitattr('/path'), ('/path', []))
/external/python/cpython2/Lib/
Durllib.py255 path, garbage = splitattr(path or "")
532 path, attrs = splitattr(path)
1193 def splitattr(url): function
Durllib2.py122 splitattr, ftpwrapper, splituser, splitpasswd, splitvalue)
1406 path, attrs = splitattr(req.get_selector())
/external/python/cpython3/Lib/urllib/
Drequest.py106 splitattr, splitquery, splitvalue, splittag, to_bytes,
1526 path, attrs = splitattr(req.selector)
1799 path, garbage = splitattr(path or "")
2028 path, attrs = splitattr(path)
Dparse.py1049 def splitattr(url): function