def post(self, url, data, charset=CHARSET_UTF8, headers={}):
if '<STR_LIT>' not in headers:<EOL><INDENT>headers['<STR_LIT>'] = '<STR_LIT>'<EOL><DEDENT>if '<STR_LIT:Content-Type>' not in headers:<EOL><INDENT>headers['<STR_LIT:Content-Type>'] = "<STR_LIT>" + charset<EOL><DEDENT>rsp = requests.post(url, data, headers=headers,<EOL>timeout=(int(self.conf(HTTP_CONN_TIMEOUT, '<STR_LIT>')), int(self.conf(HTTP_SO_TIMEOUT, '<STR_LIT>'))))<EOL>return json.loads(rsp.text)<EOL>
response json text