Xuanwo commented on code in PR #5274:
URL: https://github.com/apache/opendal/pull/5274#discussion_r1826910993


##########
core/src/services/azblob/backend.rs:
##########
@@ -545,7 +548,17 @@ impl Access for AzblobBackend {
         let status = resp.status();
 
         match status {
-            StatusCode::OK => parse_into_metadata(path, 
resp.headers()).map(RpStat::new),
+            StatusCode::OK => {
+                let headers = resp.headers();
+                let mut meta = parse_into_metadata(path, headers)?;
+
+                let user_meta = parse_prefixed_headers(&headers, 
X_MS_META_NAME_PREFIX);
+                if !user_meta.is_empty() {

Review Comment:
   It's fine to have such a check. OpenDAL tends to have more readable code 
because we have many services, and that code is rarely modified.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@opendal.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to