accept empty files through bup; closes #775

This commit is contained in:
ed 2025-09-08 10:08:34 +02:00
parent 75b0b312a4
commit 25749b4b5f

View file

@ -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()