Roxen.git / server / etc / test / modules / TEST.pmod / http.pmod / WebDAV.pmod / TestBase.pike

version» Context lines:

Roxen.git/server/etc/test/modules/TEST.pmod/http.pmod/WebDAV.pmod/TestBase.pike:2330:    mapping(string:string) locks = ([]);    if (case_src == case_target) {    // Src and target is equal and same case but may be different    //encoded (will be at least once when looping...)    webdav_move(src_file, target_file, locks, STATUS_FORBIDDEN);    } else {    // Src and target is different case (but the same otherwise).    webdav_move(src_file, target_file, locks,    caseSensitive ? STATUS_CREATED : STATUS_NO_CONTENT);    } +  // Delete the target file, so that we are guaranteed that the +  // source file actually gets created with the expected file +  // name by the put in the next loop. +  webdav_delete(target_file, locks, STATUS_NO_CONTENT);    }    }    }    }    }   }