mirror of
https://github.com/drakkan/sftpgo.git
synced 2025-12-08 07:10:56 +03:00
WebDAV: add support for X-OC-Mtime header
it is used by Nextcloud compatible clients to set the modification time Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
This commit is contained in:
@@ -470,6 +470,7 @@ func TestConnWithNilRequest(t *testing.T) {
|
||||
assert.Empty(t, c.GetClientVersion())
|
||||
assert.Empty(t, c.GetCommand())
|
||||
assert.Empty(t, c.GetRemoteAddress())
|
||||
assert.True(t, c.getModificationTime().IsZero())
|
||||
}
|
||||
|
||||
func TestResolvePathErrors(t *testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user