def request(self, url):
self.logger.debug('<STR_LIT>' + url)<EOL>try:<EOL><INDENT>response = urlopen(url)<EOL>return json.loads(response.read().decode('<STR_LIT:utf-8>'))<EOL><DEDENT>except URLError:<EOL><INDENT>self.logger.info('<STR_LIT>')<EOL><DEDENT>except Exception:<EOL><INDENT>self.logger.info('<STR_LIT>')<EOL><DEDENT>
Send a http request to the given *url*, try to decode
the reply assuming it's JSON in UTF-8, and return the result

:returns: Decoded result, or None in case of an error
:rtype: mixed