Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

http: error strings should not be capitalized

albertony162aba60eb75
diff --git a/backend/http/http.go b/backend/http/http.go
index 47a878bb3..e97ab4670 100644
--- a/backend/http/http.go
+++ b/backend/http/http.go
@@ -409,7 +409,7 @@ func (f *Fs) readDir(ctx context.Context, dir string) (names []string, err error
return nil, fmt.Errorf("readDir: %w", err)
}
default:
- return nil, fmt.Errorf("Can't parse content type %q", contentType)
+ return nil, fmt.Errorf("can't parse content type %q", contentType)
}
return names, nil
}