def get(self): url = self.request.get("url") #url = urllib.unquote_plus(url) logging.info(url) output = untiny(url) logging.info(output) self.response.out.write(output) return
def untiny_command(self,message=None): m_body = str(message.body)[7:] message.reply(untiny(m_body.strip()))