Searched refs:splituser (Results 1 – 3 of 3) sorted by relevance
1155 splituser = urllib.parse._splituser1156 self.assertEqual(splituser('User:Pass@www.python.org:080'),1158 self.assertEqual(splituser('@www.python.org:080'),1160 self.assertEqual(splituser('www.python.org:080'),1162 self.assertEqual(splituser('User:Pass@'),1164 self.assertEqual(splituser('User@example.com:Pass@www.python.org:080'),1282 urllib.parse.splituser('')
1067 def splituser(host): function
774 username, netloc = urllib.splituser(netloc)