(self, body: bytes)
| 61 | self.end_headers() |
| 62 | |
| 63 | def _parse_body(self, body: bytes) -> dict: |
| 64 | try: |
| 65 | return json.loads(body) |
| 66 | except (json.JSONDecodeError, ValueError): |
| 67 | return None |
| 68 | |
| 69 | def _authorized(self): |
| 70 | keys = CONFIG.get("api_keys") or [] |
no outgoing calls
no test coverage detected