Closed franz-geiser closed 2 years ago
Right now it's not possible to set content-type when uploading a Stream but this param is set by default to application/octet-stream. Would be nice to be able to set this parameter. I tried to push a pull request but didn't work out.
in OVHStorage.js
` Object.assign(headers, { 'X-Auth-Token': this.token, 'Accept': 'application/json' });
if (!headers['content-type']) headers['content-type'] = 'application/octet-stream'
`
was a wrong issue, my fault, sorry.
Right now it's not possible to set content-type when uploading a Stream but this param is set by default to application/octet-stream. Would be nice to be able to set this parameter. I tried to push a pull request but didn't work out.
in OVHStorage.js
`
Object.assign(headers, { 'X-Auth-Token': this.token, 'Accept': 'application/json' });
`