From 25749b4b5fccfd3f0fc226fb46d574ffd55d1ee8 Mon Sep 17 00:00:00 2001 From: ed Date: Mon, 8 Sep 2025 10:08:34 +0200 Subject: [PATCH] accept empty files through bup; closes #775 --- copyparty/httpcli.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/copyparty/httpcli.py b/copyparty/httpcli.py index 42b373e5..26b85a18 100644 --- a/copyparty/httpcli.py +++ b/copyparty/httpcli.py @@ -3419,8 +3419,6 @@ class HttpCli(object): sz, sha_hex, sha_b64 = copier( p_data, f, hasher, max_sz, self.args.s_wr_slp ) - if sz == 0: - raise Pebkac(400, "empty files in post") finally: f.close()