(self)
| 174 | |
| 175 | class ClientCertEchoHandler(RequestHandler): |
| 176 | def get(self): |
| 177 | cert = self.request.get_ssl_certificate() |
| 178 | if cert is not None: |
| 179 | assert isinstance(cert, dict) |
| 180 | self.write(f"client cert: {cert['subject']}") |
| 181 | else: |
| 182 | self.write("no client cert") |
| 183 | |
| 184 | |
| 185 | @unittest.skipIf(pycurl is None, "pycurl module not present") |
nothing calls this directly
no test coverage detected