def process_url(self):
url = urllib.parse.urlparse(self.path)<EOL>self.path = url.path<EOL>self.query = urllib.parse.parse_qs(url.query)<EOL>for key, values in self.query.items():<EOL><INDENT>if len(values) == <NUM_LIT:1>:<EOL><INDENT>self.query[key] = values[<NUM_LIT:0>]<EOL><DEDENT><DEDENT>
Separate the path from the query