Skip to content

Commit 6aebb36

Browse files
sunkuprfc2822
andauthored
Document that request buffering is required for PUT (#31)
* Document that request buffering is required for PUT * Move to new "Server requirements" section --------- Co-authored-by: Ricki Hirner <[email protected]>
1 parent 7bf7ec3 commit 6aebb36

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

webdav_mounts.rst

+12
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,18 @@ A WebDAV mount allows you to work with remote folders and files of a WebDAV serv
1616
.. youtube:: FwfwNXFtvYE
1717

1818

19+
Server requirements
20+
===================
21+
22+
WebDAV mounts should work with any compliant WebDAV server.
23+
24+
When using HTTP/1.1, DAVx⁵ uses chunked transfer encoding for PUT requests because it doesn't know the
25+
file size in advance. This requires some servers to be configured for request buffering. Otherwise resulting
26+
files may always have 0 bytes or a 411 Length Required error is returned. Using HTTP/2 may avoid this.
27+
`sabre/dav recommends <https://sabre.io/dav/0bytes/>`_ to use Apache with mod_php (not FastCGI) or a
28+
recent version of nginx and to avoid Lighttpd.
29+
30+
1931
Restrictions
2032
============
2133

0 commit comments

Comments
 (0)