mar10 / wsgidav

A generic and extendable WebDAV server based on WSGI

Home Page:https://wsgidav.readthedocs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

use my own API to upload file rather than `begin_write` and `end_write`

HengyueLi opened this issue · comments

commented

For my case, I already have an API, an Python function api_upload(path), to implement write. For example, a file with local path filepath="/home/foo/1.png", can be "writen" directly by a function call api_upload(path=filepath). That is all. How can I simplify begin_write and end_write?

Have a look at FileLikeQueue

See also #253