17426: Add plugin ability to modify +New and account menu
[arvados-workbench2.git] / src / common / webdav.ts
index 8d071fa635ce2f0dc58085e447f981191d96e8a7..758a5e18e1e9ad44015b9a802d0e532e70ba3d76 100644 (file)
@@ -2,7 +2,7 @@
 //
 // SPDX-License-Identifier: AGPL-3.0
 
-import { customEncodeURI, encodeHash } from "./url";
+import { customEncodeURI } from "./url";
 
 export class WebDAV {
 
@@ -79,10 +79,6 @@ export class WebDAV {
                     ? this.defaults.baseURL+'/'
                     : ''}${customEncodeURI(config.url)}`);
 
-            if (config.headers && config.headers.Destination) {
-                config.headers.Destination = encodeHash(config.headers.Destination);
-            }
-
             const headers = { ...this.defaults.headers, ...config.headers };
             Object
                 .keys(headers)