Searched refs:splitquery (Results 1 – 2 of 2) sorted by relevance
938 splitquery = urllib.splitquery939 self.assertEqual(splitquery('http://python.org/fake?foo=bar'),941 self.assertEqual(splitquery('http://python.org/fake?foo=bar?'),943 self.assertEqual(splitquery('http://python.org/fake'),945 self.assertEqual(splitquery('?foo=bar'), ('', 'foo=bar'))
254 path, garbage = splitquery(path or "")1171 def splitquery(url): function