200ok-ch / organice

An implementation of Org mode without the dependency of Emacs - built for mobile and desktop browsers
https://organice.200ok.ch/
GNU Affero General Public License v3.0
2.42k stars 150 forks source link

Updates WebDav version and prevents it from trying to add Content-Length #982

Closed fstanis closed 2 months ago

fstanis commented 2 months ago

It seems the current version of the webdav library will add the Content-Length header when it can, e.g. when updating .organice-config.json. However, this is a forbidden header name. This updates the webdav library to a newer version (version 3 is no longer recommended) and uses the new option that prevents this header from being added.