def options(self, *args, **kwargs):
        """Default OPTIONS response

        If the 'cors' option is True, will respond with an empty response and
        set the 'Access-Control-Allow-Headers' and
        'Access-Control-Allow-Methods' headers
        """
        if getattr(options, 'cors', False):
            self.set_header('Access-Control-Allow-Headers',
                            'Content-Type, Authorization, '
                            'Accept, X-Requested-With')
            self.set_header('Access-Control-Allow-Methods',
                            'OPTIONS, TRACE, GET, HEAD, POST, '
                            'PUT, PATCH, DELETE')

        self.finish()
Default OPTIONS response

        If the 'cors' option is True, will respond with an empty response and
        set the 'Access-Control-Allow-Headers' and
        'Access-Control-Allow-Methods' headers