-
-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Description
after rename
wfs.rename("/sample.bmp", "/sample1.bmp", err => {
// handle error
});this is the error:
{
"message": "Network Error",
"name": "AxiosError",
"config": {
"transitional": {
"silentJSONParsing": true,
"forcedJSONParsing": true,
"clarifyTimeoutError": false
},
"transformRequest": [
null
],
"transformResponse": [
null
],
"timeout": 0,
"xsrfCookieName": "XSRF-TOKEN",
"xsrfHeaderName": "X-XSRF-TOKEN",
"maxContentLength": -1,
"maxBodyLength": -1,
"env": {},
"headers": {
"Accept": "application/json, text/plain, */*",
"Authorization": "Basic d2ViZGF2OjEyMzQ=",
"Destination": "http://localhost:8000/sample1.bmp"
},
"url": "http://localhost:8000/sample.bmp",
"method": "move"
},
"code": "ERR_NETWORK",
"status": null
}
console.error
Error: Headers Destination forbidden
at dispatchError (/Users/sytolk/IdeaProjects/tagspaces-common/node_modules/jsdom/lib/jsdom/living/xhr/xhr-utils.js:63:19)
at validCORSPreflightHeaders (/Users/sytolk/IdeaProjects/tagspaces-common/node_modules/jsdom/lib/jsdom/living/xhr/xhr-utils.js:102:5)
at Request.<anonymous> (/Users/sytolk/IdeaProjects/tagspaces-common/node_modules/jsdom/lib/jsdom/living/xhr/xhr-utils.js:374:12)
at Request.emit (events.js:400:28)
at Request._processResponse (/Users/sytolk/IdeaProjects/tagspaces-common/node_modules/jsdom/lib/jsdom/living/helpers/http-request.js:228:12)
at ClientRequest.<anonymous> (/Users/sytolk/IdeaProjects/tagspaces-common/node_modules/jsdom/lib/jsdom/living/helpers/http-request.js:101:12)
at Object.onceWrapper (events.js:520:26)
at ClientRequest.emit (events.js:400:28)
at HTTPParser.parserOnIncomingClient [as onIncoming] (_http_client.js:647:27)
at HTTPParser.parserOnHeadersComplete (_http_common.js:126:17) undefined
Metadata
Metadata
Assignees
Labels
No labels