webdav: performance improvements and bug fixes

we need my custom golang/x/net/webdav fork for now

https://github.com/drakkan/net/tree/sftpgo
This commit is contained in:
Nicola Murino
2020-11-04 19:11:40 +01:00
parent 442efa0607
commit 0a14297b48
22 changed files with 448 additions and 202 deletions

View File

@@ -681,7 +681,7 @@ func (fs *AzureBlobFs) headObject(name string) (*azblob.BlobGetPropertiesRespons
return response, err
}
// GetMimeType implements MimeTyper interface
// GetMimeType returns the content type
func (fs *AzureBlobFs) GetMimeType(name string) (string, error) {
response, err := fs.headObject(name)
if err != nil {