diff --git a/static_site.py b/static_site.py index 9ccce72..c6d2a0b 100755 --- a/static_site.py +++ b/static_site.py @@ -166,6 +166,9 @@ class BunnyStorage: def get_manifest(self) -> bytes | None: return self._request("GET", MANIFEST_NAME, missing_ok=True) + def download(self, path: str) -> bytes | None: + return self._request("GET", path, missing_ok=True) + def upload(self, item: LocalFile) -> None: content_type = mimetypes.guess_type(item.path)[0] or "application/octet-stream" self._request(