diff --git a/copyparty/httpcli.py b/copyparty/httpcli.py index a85e5836..0b1bd08f 100644 --- a/copyparty/httpcli.py +++ b/copyparty/httpcli.py @@ -804,7 +804,7 @@ class HttpCli(object): "supportedlock": '', } if not isdir: - pvs["getcontenttype"] = "application/octet-stream" + pvs["getcontenttype"] = guess_mime(vp) pvs["getcontentlength"] = str(st.st_size) for k, v in pvs.items():