(self, code="-", size="-")
| 44 | pass |
| 45 | |
| 46 | def log_request(self, code="-", size="-"): |
| 47 | # don't log successful requests but log errors |
| 48 | if isinstance(code, int) and code >= 400: |
| 49 | sys.stderr.write(f"HTTP {code} for {self.path}\n") |
| 50 | return |
| 51 | |
| 52 | def do_GET(self) -> bytes | None: |
| 53 | if self.path.endswith(PYARROW_WHEEL_PATH.name): |