(self)
| 1107 | |
| 1108 | class WriteErrorHandler(RequestHandler): |
| 1109 | def get(self): |
| 1110 | if self.get_argument("status", None): |
| 1111 | self.send_error(int(self.get_argument("status"))) |
| 1112 | else: |
| 1113 | 1 / 0 |
| 1114 | |
| 1115 | def write_error(self, status_code, **kwargs): |
| 1116 | self.set_header("Content-Type", "text/plain") |
nothing calls this directly
no test coverage detected