code: def get_parameters_as_dictionary(self, query_string):
          
          pairs = (x.split('=', 1) for x in query_string.split('&'))
          return dict((k, unquote(v)) for k, v in pairs)
docs: Returns query string parameters as a dictionary.