added fix for http response regression fail
@@ -70,7 +70,10 @@ def normalize_headers(headers):
def deserialize_metadata(response, obj, headers): # pylint: disable=unused-argument
+ try:
raw_metadata = {k: v for k, v in response.http_response.headers.items() if k.startswith("x-ms-meta-")}
+ except AttributeError:
+ raw_metadata = {k: v for k, v in response.headers.items() if k.startswith("x-ms-meta-")}
return {k[10:]: v for k, v in raw_metadata.items()}
