-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Storage] Add
x-ms-creation-time
to response on download (#28745)
- Loading branch information
1 parent
95a573a
commit 8dc6cc8
Showing
9 changed files
with
386 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
129 changes: 129 additions & 0 deletions
129
...ob/tests/recordings/test_common_blob.pyTestStorageCommonBlobtest_download_properties.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,129 @@ | ||
{ | ||
"Entries": [ | ||
{ | ||
"RequestUri": "https://storagename.blob.core.windows.net/utcontainera3942b6e?restype=container\u0026timeout=5", | ||
"RequestMethod": "PUT", | ||
"RequestHeaders": { | ||
"Accept": "application/xml", | ||
"Accept-Encoding": "gzip, deflate", | ||
"Connection": "keep-alive", | ||
"Content-Length": "0", | ||
"User-Agent": "azsdk-python-storage-blob/12.15.0 Python/3.11.1 (Windows-10-10.0.22621-SP0)", | ||
"x-ms-date": "Fri, 17 Feb 2023 00:32:26 GMT", | ||
"x-ms-version": "2021-12-02" | ||
}, | ||
"RequestBody": null, | ||
"StatusCode": 201, | ||
"ResponseHeaders": { | ||
"Content-Length": "0", | ||
"Date": "Fri, 17 Feb 2023 00:32:24 GMT", | ||
"ETag": "\u00220x8DB107E70E48ABB\u0022", | ||
"Last-Modified": "Fri, 17 Feb 2023 00:32:24 GMT", | ||
"Server": [ | ||
"Windows-Azure-Blob/1.0", | ||
"Microsoft-HTTPAPI/2.0" | ||
], | ||
"x-ms-version": "2021-12-02" | ||
}, | ||
"ResponseBody": null | ||
}, | ||
{ | ||
"RequestUri": "https://storagename.blob.core.windows.net/utcontainersourcea3942b6e?restype=container\u0026timeout=5", | ||
"RequestMethod": "PUT", | ||
"RequestHeaders": { | ||
"Accept": "application/xml", | ||
"Accept-Encoding": "gzip, deflate", | ||
"Connection": "keep-alive", | ||
"Content-Length": "0", | ||
"User-Agent": "azsdk-python-storage-blob/12.15.0 Python/3.11.1 (Windows-10-10.0.22621-SP0)", | ||
"x-ms-date": "Fri, 17 Feb 2023 00:32:27 GMT", | ||
"x-ms-version": "2021-12-02" | ||
}, | ||
"RequestBody": null, | ||
"StatusCode": 201, | ||
"ResponseHeaders": { | ||
"Content-Length": "0", | ||
"Date": "Fri, 17 Feb 2023 00:32:24 GMT", | ||
"ETag": "\u00220x8DB107E70F440E1\u0022", | ||
"Last-Modified": "Fri, 17 Feb 2023 00:32:25 GMT", | ||
"Server": [ | ||
"Windows-Azure-Blob/1.0", | ||
"Microsoft-HTTPAPI/2.0" | ||
], | ||
"x-ms-version": "2021-12-02" | ||
}, | ||
"ResponseBody": null | ||
}, | ||
{ | ||
"RequestUri": "https://storagename.blob.core.windows.net/utcontainera3942b6e/utcontainera3942b6e", | ||
"RequestMethod": "PUT", | ||
"RequestHeaders": { | ||
"Accept": "application/xml", | ||
"Accept-Encoding": "gzip, deflate", | ||
"Connection": "keep-alive", | ||
"Content-Length": "3", | ||
"Content-Type": "application/octet-stream", | ||
"If-None-Match": "*", | ||
"User-Agent": "azsdk-python-storage-blob/12.15.0 Python/3.11.1 (Windows-10-10.0.22621-SP0)", | ||
"x-ms-blob-type": "BlockBlob", | ||
"x-ms-date": "Fri, 17 Feb 2023 00:32:27 GMT", | ||
"x-ms-version": "2021-12-02" | ||
}, | ||
"RequestBody": "YWJj", | ||
"StatusCode": 201, | ||
"ResponseHeaders": { | ||
"Content-Length": "0", | ||
"Content-MD5": "kAFQmDzST7DWlj99KOF/cg==", | ||
"Date": "Fri, 17 Feb 2023 00:32:24 GMT", | ||
"ETag": "\u00220x8DB107E710645CB\u0022", | ||
"Last-Modified": "Fri, 17 Feb 2023 00:32:25 GMT", | ||
"Server": [ | ||
"Windows-Azure-Blob/1.0", | ||
"Microsoft-HTTPAPI/2.0" | ||
], | ||
"x-ms-content-crc64": "6/rBP7vK5QU=", | ||
"x-ms-request-server-encrypted": "true", | ||
"x-ms-version": "2021-12-02" | ||
}, | ||
"ResponseBody": null | ||
}, | ||
{ | ||
"RequestUri": "https://storagename.blob.core.windows.net/utcontainera3942b6e/utcontainera3942b6e", | ||
"RequestMethod": "GET", | ||
"RequestHeaders": { | ||
"Accept": "application/xml", | ||
"Accept-Encoding": "gzip, deflate", | ||
"Connection": "keep-alive", | ||
"User-Agent": "azsdk-python-storage-blob/12.15.0 Python/3.11.1 (Windows-10-10.0.22621-SP0)", | ||
"x-ms-date": "Fri, 17 Feb 2023 00:32:27 GMT", | ||
"x-ms-range": "bytes=0-33554431", | ||
"x-ms-version": "2021-12-02" | ||
}, | ||
"RequestBody": null, | ||
"StatusCode": 206, | ||
"ResponseHeaders": { | ||
"Accept-Ranges": "bytes", | ||
"Content-Length": "3", | ||
"Content-Range": "bytes 0-2/3", | ||
"Content-Type": "application/octet-stream", | ||
"Date": "Fri, 17 Feb 2023 00:32:24 GMT", | ||
"ETag": "\u00220x8DB107E710645CB\u0022", | ||
"Last-Modified": "Fri, 17 Feb 2023 00:32:25 GMT", | ||
"Server": [ | ||
"Windows-Azure-Blob/1.0", | ||
"Microsoft-HTTPAPI/2.0" | ||
], | ||
"Vary": "Origin", | ||
"x-ms-blob-content-md5": "kAFQmDzST7DWlj99KOF/cg==", | ||
"x-ms-blob-type": "BlockBlob", | ||
"x-ms-creation-time": "Fri, 17 Feb 2023 00:32:25 GMT", | ||
"x-ms-lease-state": "available", | ||
"x-ms-lease-status": "unlocked", | ||
"x-ms-server-encrypted": "true", | ||
"x-ms-version": "2021-12-02" | ||
}, | ||
"ResponseBody": "YWJj" | ||
} | ||
], | ||
"Variables": {} | ||
} |
Oops, something went wrong.