def set_status(self, status_code, reason=None):
        """Sets the status code for our response.

        Overriding is done so as to handle unknown response codes gracefully.
        """
        self._status_code = status_code
        if reason is not None:
            self._reason = tornado.escape.native_str(reason)
        else:
            try:
                self._reason = tornado.httputil.responses[status_code]
            except __HOLE__:
                self._reason = tornado.escape.native_str("Server Not Found")
dataset/ETHPy150Open owtf/owtf/framework/http/proxy/proxy.py/ProxyHandler.set_status