A simple Python Tornado handler that manage Rest requests automatically