The following example shows you how to write content into part of an existing file (PUT with Content-Range). This is supported by Apache mod_dav, but not by all servers. Use it only with a server known to support it: a server that ignores Content-Range replaces the whole file with the content.