♻ Provide a content-length for streaming zip downloads (#4313)

This allows browsers and other clients to calculate download progress
and detect if the download fails (they get less data than expected).
This is most useful when downloading multiple timelapses due to their
potential size.

Also fixes an oversight where the printer's firmware wasn't being added
to `systeminfo.txt` when downloading system info.
This commit is contained in:
Carey Metcalfe authored and GitHub committed 2021-11-15 16:03:02 +01:00
1 parent 43a62bf6f3
commit c2842694ce
5 files changed
+42 -52

No files matched your search

+1 -1
View File
@@ -63,7 +63,7 @@ INSTALL_REQUIRES = [
"sentry-sdk>=0.15.1,<1",
"filetype>=1.0.7,<2",
"zeroconf>=0.33,<0.34",
"zipstream-new>=1.1.8,<1.2",
"zipstream-ng>=1.3.1,<2.0.0",
"pathvalidate>=2.4.1,<3",
"colorlog>=5.0.1,<6",
# vendor bundled dependencies