@@ -2,7 +2,7 @@ use crate::prelude::*;
22#[ cfg( feature = "md5" ) ]
33use azure_core:: base64;
44use azure_core:: { headers:: * , prelude:: * , RequestId } ;
5- use azure_storage:: { headers:: content_md5_from_headers , ConsistencyMD5 } ;
5+ use azure_storage:: { headers:: content_md5_from_headers_optional , ConsistencyMD5 } ;
66use bytes:: Bytes ;
77use time:: OffsetDateTime ;
88
@@ -79,7 +79,7 @@ impl PutBlockListBuilder {
7979pub struct PutBlockListResponse {
8080 pub etag : String ,
8181 pub last_modified : OffsetDateTime ,
82- pub content_md5 : ConsistencyMD5 ,
82+ pub content_md5 : Option < ConsistencyMD5 > ,
8383 pub request_id : RequestId ,
8484 pub date : OffsetDateTime ,
8585 pub request_server_encrypted : bool ,
@@ -89,7 +89,7 @@ impl PutBlockListResponse {
8989 pub ( crate ) fn from_headers ( headers : & Headers ) -> azure_core:: Result < PutBlockListResponse > {
9090 let etag = etag_from_headers ( headers) ?;
9191 let last_modified = last_modified_from_headers ( headers) ?;
92- let content_md5 = content_md5_from_headers ( headers) ?;
92+ let content_md5 = content_md5_from_headers_optional ( headers) ?;
9393 let request_id = request_id_from_headers ( headers) ?;
9494 let date = date_from_headers ( headers) ?;
9595 let request_server_encrypted = request_server_encrypted_from_headers ( headers) ?;
0 commit comments