mirror of
https://github.com/openziti/zrok.git
synced 2025-08-18 03:39:58 +02:00
last modified property handled through http header on PUT rather than PROPPATCH (#438)
This commit is contained in:
@@ -48,10 +48,7 @@ func OneWay(src, dst Target, sync bool) error {
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
if err := dst.WriteStream(copyPath.Path, ss, os.ModePerm); err != nil {
|
||||
return err
|
||||
}
|
||||
if err := dst.SetModificationTime(copyPath.Path, copyPath.Modified); err != nil {
|
||||
if err := dst.WriteStreamWithModTime(copyPath.Path, ss, os.ModePerm, copyPath.Modified); err != nil {
|
||||
return err
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user