bernd-wechner / Degoo

CLI tool(s) for working with Degoo cloud storage
Other
143 stars 41 forks source link

Added progress bar and file upload cache. Removed x-client-data header #10

Closed MDKPredator closed 3 years ago

MDKPredator commented 3 years ago

I have removed the x-client-data header because it is not needed for the upload. This header is added by the Chrome browser (https://gigazine.net/gsc_news/en/20200205-google-chrome-x-client-data/) For the progress bar I have used the MultipartEncoderMonitor class that includes requests_toolbelt, because for caching it was necessary to use MultipartEncoder