From 484abbeaddfd8a212ae500c1781af37a8e13e71a Mon Sep 17 00:00:00 2001 From: Eric Wendland Date: Mon, 20 Jul 2026 22:37:00 +0200 Subject: [PATCH] Migrate Nylon bundle hosting to Bunny --- static_site.py | 3 +++ 1 file changed, 3 insertions(+) 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(