Python 2. Considering self.path could potentially be hierarchical, you should probably do something like the following:
import urlparse
o = urlparse.urlparse(self.path)
urlparse.parse_qs(o.query)
Python 2. Considering self.path could potentially be hierarchical, you should probably do something like the following:
import urlparse
o = urlparse.urlparse(self.path)
urlparse.parse_qs(o.query)