Skip to content

Commit c47dca9

Browse files
authored
base64 encode etag in mem_storage (#8116)
1 parent e987b4b commit c47dca9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/fake_gcloud/lib/mem_storage.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ class _File implements ObjectInfo {
152152
Uri get downloadLink => Uri(scheme: 'gs', host: bucketName, path: name);
153153

154154
@override
155-
String get etag => md5Hash.toString();
155+
String get etag => base64Encode(md5Hash);
156156

157157
@override
158158
ObjectGeneration get generation {

0 commit comments

Comments
 (0)