-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
edfa088
commit efc0102
Showing
2 changed files
with
256 additions
and
4 deletions.
There are no files selected for viewing
246 changes: 246 additions & 0 deletions
246
...e-storage-blob/tests/recordings/test_container.test_list_blobs_with_include_metadata.yaml
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,246 @@ | ||
interactions: | ||
- request: | ||
body: null | ||
headers: | ||
Accept: | ||
- '*/*' | ||
Accept-Encoding: | ||
- gzip, deflate | ||
Connection: | ||
- keep-alive | ||
Content-Length: | ||
- '0' | ||
User-Agent: | ||
- azsdk-python-storage-blob/12.4.0 Python/3.7.3 (Windows-10-10.0.18362-SP0) | ||
x-ms-date: | ||
- Fri, 21 Aug 2020 08:34:52 GMT | ||
x-ms-version: | ||
- '2019-12-12' | ||
method: PUT | ||
uri: https://storagename.blob.core.windows.net/container3851155b?restype=container | ||
response: | ||
body: | ||
string: "\uFEFF<?xml version=\"1.0\" encoding=\"utf-8\"?><Error><Code>ContainerAlreadyExists</Code><Message>The | ||
specified container already exists.\nRequestId:4d6b1fbe-501e-0079-7c95-77b184000000\nTime:2020-08-21T08:34:52.7820585Z</Message></Error>" | ||
headers: | ||
content-length: | ||
- '230' | ||
content-type: | ||
- application/xml | ||
date: | ||
- Fri, 21 Aug 2020 08:34:52 GMT | ||
server: | ||
- Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 | ||
x-ms-error-code: | ||
- ContainerAlreadyExists | ||
x-ms-version: | ||
- '2019-12-12' | ||
status: | ||
code: 409 | ||
message: The specified container already exists. | ||
- request: | ||
body: hello world | ||
headers: | ||
Accept: | ||
- '*/*' | ||
Accept-Encoding: | ||
- gzip, deflate | ||
Connection: | ||
- keep-alive | ||
Content-Length: | ||
- '11' | ||
Content-Type: | ||
- application/octet-stream | ||
User-Agent: | ||
- azsdk-python-storage-blob/12.4.0 Python/3.7.3 (Windows-10-10.0.18362-SP0) | ||
x-ms-blob-content-disposition: | ||
- inline | ||
x-ms-blob-content-language: | ||
- spanish | ||
x-ms-blob-type: | ||
- BlockBlob | ||
x-ms-date: | ||
- Fri, 21 Aug 2020 08:34:52 GMT | ||
x-ms-meta-name: | ||
- bob | ||
x-ms-meta-number: | ||
- '1' | ||
x-ms-version: | ||
- '2019-12-12' | ||
method: PUT | ||
uri: https://storagename.blob.core.windows.net/container3851155b/blob1 | ||
response: | ||
body: | ||
string: '' | ||
headers: | ||
content-length: | ||
- '0' | ||
content-md5: | ||
- XrY7u+Ae7tCTyyK7j1rNww== | ||
date: | ||
- Fri, 21 Aug 2020 08:34:52 GMT | ||
etag: | ||
- '"0x8D845AD135C55E0"' | ||
last-modified: | ||
- Fri, 21 Aug 2020 08:34:52 GMT | ||
server: | ||
- Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 | ||
x-ms-content-crc64: | ||
- vo7q9sPVKY0= | ||
x-ms-request-server-encrypted: | ||
- 'true' | ||
x-ms-version: | ||
- '2019-12-12' | ||
x-ms-version-id: | ||
- '2020-08-21T08:34:52.9412336Z' | ||
status: | ||
code: 201 | ||
message: Created | ||
- request: | ||
body: null | ||
headers: | ||
Accept: | ||
- '*/*' | ||
Accept-Encoding: | ||
- gzip, deflate | ||
Connection: | ||
- keep-alive | ||
Content-Length: | ||
- '0' | ||
User-Agent: | ||
- azsdk-python-storage-blob/12.4.0 Python/3.7.3 (Windows-10-10.0.18362-SP0) | ||
x-ms-date: | ||
- Fri, 21 Aug 2020 08:34:53 GMT | ||
x-ms-version: | ||
- '2019-12-12' | ||
method: PUT | ||
uri: https://storagename.blob.core.windows.net/container3851155b/blob1?comp=snapshot | ||
response: | ||
body: | ||
string: '' | ||
headers: | ||
content-length: | ||
- '0' | ||
date: | ||
- Fri, 21 Aug 2020 08:34:52 GMT | ||
etag: | ||
- '"0x8D845AD135C55E0"' | ||
last-modified: | ||
- Fri, 21 Aug 2020 08:34:52 GMT | ||
server: | ||
- Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 | ||
x-ms-request-server-encrypted: | ||
- 'false' | ||
x-ms-snapshot: | ||
- '2020-08-21T08:34:53.0423049Z' | ||
x-ms-version: | ||
- '2019-12-12' | ||
x-ms-version-id: | ||
- '2020-08-21T08:34:53.0433049Z' | ||
status: | ||
code: 201 | ||
message: Created | ||
- request: | ||
body: hello world | ||
headers: | ||
Accept: | ||
- '*/*' | ||
Accept-Encoding: | ||
- gzip, deflate | ||
Connection: | ||
- keep-alive | ||
Content-Length: | ||
- '11' | ||
Content-Type: | ||
- application/octet-stream | ||
User-Agent: | ||
- azsdk-python-storage-blob/12.4.0 Python/3.7.3 (Windows-10-10.0.18362-SP0) | ||
x-ms-blob-content-disposition: | ||
- inline | ||
x-ms-blob-content-language: | ||
- spanish | ||
x-ms-blob-type: | ||
- BlockBlob | ||
x-ms-date: | ||
- Fri, 21 Aug 2020 08:34:53 GMT | ||
x-ms-meta-name: | ||
- car | ||
x-ms-meta-number: | ||
- '2' | ||
x-ms-version: | ||
- '2019-12-12' | ||
method: PUT | ||
uri: https://storagename.blob.core.windows.net/container3851155b/blob2 | ||
response: | ||
body: | ||
string: '' | ||
headers: | ||
content-length: | ||
- '0' | ||
content-md5: | ||
- XrY7u+Ae7tCTyyK7j1rNww== | ||
date: | ||
- Fri, 21 Aug 2020 08:34:52 GMT | ||
etag: | ||
- '"0x8D845AD137CDC23"' | ||
last-modified: | ||
- Fri, 21 Aug 2020 08:34:53 GMT | ||
server: | ||
- Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 | ||
x-ms-content-crc64: | ||
- vo7q9sPVKY0= | ||
x-ms-request-server-encrypted: | ||
- 'true' | ||
x-ms-version: | ||
- '2019-12-12' | ||
x-ms-version-id: | ||
- '2020-08-21T08:34:53.1543859Z' | ||
status: | ||
code: 201 | ||
message: Created | ||
- request: | ||
body: null | ||
headers: | ||
Accept: | ||
- application/xml | ||
Accept-Encoding: | ||
- gzip, deflate | ||
Connection: | ||
- keep-alive | ||
User-Agent: | ||
- azsdk-python-storage-blob/12.4.0 Python/3.7.3 (Windows-10-10.0.18362-SP0) | ||
x-ms-date: | ||
- Fri, 21 Aug 2020 08:34:53 GMT | ||
x-ms-version: | ||
- '2019-12-12' | ||
method: GET | ||
uri: https://storagename.blob.core.windows.net/container3851155b?include=metadata&restype=container&comp=list | ||
response: | ||
body: | ||
string: "\uFEFF<?xml version=\"1.0\" encoding=\"utf-8\"?><EnumerationResults | ||
ServiceEndpoint=\"https://storagename.blob.core.windows.net/\" ContainerName=\"container3851155b\"><Blobs><Blob><Name>blob1</Name><VersionId>2020-08-21T08:34:53.0433049Z</VersionId><IsCurrentVersion>true</IsCurrentVersion><Properties><Creation-Time>Fri, | ||
21 Aug 2020 08:34:52 GMT</Creation-Time><Last-Modified>Fri, 21 Aug 2020 08:34:52 | ||
GMT</Last-Modified><Etag>0x8D845AD135C55E0</Etag><Content-Length>11</Content-Length><Content-Type>application/octet-stream</Content-Type><Content-Encoding | ||
/><Content-Language>spanish</Content-Language><Content-CRC64 /><Content-MD5>XrY7u+Ae7tCTyyK7j1rNww==</Content-MD5><Cache-Control | ||
/><Content-Disposition>inline</Content-Disposition><BlobType>BlockBlob</BlobType><AccessTier>Hot</AccessTier><AccessTierInferred>true</AccessTierInferred><LeaseStatus>unlocked</LeaseStatus><LeaseState>available</LeaseState><ServerEncrypted>true</ServerEncrypted></Properties><Metadata><number>1</number><name>bob</name></Metadata><OrMetadata | ||
/></Blob><Blob><Name>blob2</Name><VersionId>2020-08-21T08:34:53.1543859Z</VersionId><IsCurrentVersion>true</IsCurrentVersion><Properties><Creation-Time>Fri, | ||
21 Aug 2020 08:34:53 GMT</Creation-Time><Last-Modified>Fri, 21 Aug 2020 08:34:53 | ||
GMT</Last-Modified><Etag>0x8D845AD137CDC23</Etag><Content-Length>11</Content-Length><Content-Type>application/octet-stream</Content-Type><Content-Encoding | ||
/><Content-Language>spanish</Content-Language><Content-CRC64 /><Content-MD5>XrY7u+Ae7tCTyyK7j1rNww==</Content-MD5><Cache-Control | ||
/><Content-Disposition>inline</Content-Disposition><BlobType>BlockBlob</BlobType><AccessTier>Hot</AccessTier><AccessTierInferred>true</AccessTierInferred><LeaseStatus>unlocked</LeaseStatus><LeaseState>available</LeaseState><ServerEncrypted>true</ServerEncrypted></Properties><Metadata><number>2</number><name>car</name></Metadata><OrMetadata | ||
/></Blob></Blobs><NextMarker /></EnumerationResults>" | ||
headers: | ||
content-type: | ||
- application/xml | ||
date: | ||
- Fri, 21 Aug 2020 08:34:52 GMT | ||
server: | ||
- Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 | ||
transfer-encoding: | ||
- chunked | ||
x-ms-version: | ||
- '2019-12-12' | ||
status: | ||
code: 200 | ||
message: OK | ||
version: 1 |
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