import tornado.web
# from models import *
# from boto.s3.connection import S3Connection
# from boto.s3.connection import S3ResponseError


class BasicHandler(tornado.web.RequestHandler):
    def get_current_user(self):
        return self.get_secure_cookie("user")

    def set_default_headers(self):
        self.set_header("Access-Control-Allow-Origin", "*")


88b856094ea3cd29994bbaebb73aa165fe53aca6
<mask token>


class BasicHandler(tornado.web.RequestHandler):
    <mask token>
    <mask token>

<mask token>


class BasicHandler(tornado.web.RequestHandler):
    <mask token>

    def set_default_headers(self):
        self.set_header('Access-Control-Allow-Origin', '*')

<mask token>


class BasicHandler(tornado.web.RequestHandler):

    def get_current_user(self):
        return self.get_secure_cookie('user')

    def set_default_headers(self):
        self.set_header('Access-Control-Allow-Origin', '*')

import tornado.web


class BasicHandler(tornado.web.RequestHandler):

    def get_current_user(self):
        return self.get_secure_cookie('user')

    def set_default_headers(self):
        self.set_header('Access-Control-Allow-Origin', '*')

import tornado.web
# from models import *
# from boto.s3.connection import S3Connection
# from boto.s3.connection import S3ResponseError


class BasicHandler(tornado.web.RequestHandler):
    def get_current_user(self):
        return self.get_secure_cookie("user")

    def set_default_headers(self):
        self.set_header("Access-Control-Allow-Origin", "*")

