-
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.
- Loading branch information
1 parent
0df8808
commit 8ef4eab
Showing
7 changed files
with
349 additions
and
22 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
118 changes: 118 additions & 0 deletions
118
sdk/storage/azure-storage-blob/tests/recordings/test_ors_async.test_ors_destination.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,118 @@ | ||
interactions: | ||
- request: | ||
body: null | ||
headers: | ||
User-Agent: | ||
- azsdk-python-storage-blob/12.3.2 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) | ||
x-ms-date: | ||
- Thu, 04 Jun 2020 07:34:46 GMT | ||
x-ms-version: | ||
- '2019-12-12' | ||
method: HEAD | ||
uri: https://storagename.blob.core.windows.net/test2/bla.txt | ||
response: | ||
body: | ||
string: '' | ||
headers: | ||
accept-ranges: bytes | ||
content-disposition: '' | ||
content-length: '0' | ||
content-md5: 1B2M2Y8AsgTpgAmY7PhCfg== | ||
content-type: application/octet-stream | ||
date: Thu, 04 Jun 2020 07:34:46 GMT | ||
etag: '"0x8D7FB118A463E24"' | ||
last-modified: Mon, 18 May 2020 09:55:04 GMT | ||
server: Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 | ||
x-ms-access-tier: Hot | ||
x-ms-access-tier-inferred: 'true' | ||
x-ms-blob-type: BlockBlob | ||
x-ms-copy-completion-time: Mon, 18 May 2020 09:55:04 GMT | ||
x-ms-copy-id: 47d2f0e0-9739-42f5-ad74-8359dbb0c2ec | ||
x-ms-copy-progress: 0/0 | ||
x-ms-copy-source: https://ortestsaccountcbn1.blob.core.windows.net/test1/bla.txt?versionid=2020-05-18T09:53:04.5502688Z&sv=2015-04-05&ss=b&srt=sco&sp=rwdlacup&se=2020-05-19T09%3A13%3A27.6586322Z&spr=https | ||
x-ms-copy-status: success | ||
x-ms-creation-time: Mon, 18 May 2020 09:55:04 GMT | ||
x-ms-lease-state: available | ||
x-ms-lease-status: unlocked | ||
x-ms-or-policy-id: fd2da1b9-56f5-45ff-9eb6-310e6dfc2c80 | ||
x-ms-server-encrypted: 'true' | ||
x-ms-version: '2019-12-12' | ||
status: | ||
code: 200 | ||
message: OK | ||
url: https://vbalaorcentral1.blob.core.windows.net/test2/bla.txt | ||
- request: | ||
body: null | ||
headers: | ||
Accept: | ||
- application/xml | ||
User-Agent: | ||
- azsdk-python-storage-blob/12.3.2 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) | ||
x-ms-date: | ||
- Thu, 04 Jun 2020 07:34:47 GMT | ||
x-ms-range: | ||
- bytes=0-33554431 | ||
x-ms-version: | ||
- '2019-12-12' | ||
method: GET | ||
uri: https://storagename.blob.core.windows.net/test2/bla.txt | ||
response: | ||
body: | ||
string: "\uFEFF<?xml version=\"1.0\" encoding=\"utf-8\"?><Error><Code>InvalidRange</Code><Message>The\ | ||
\ range specified is invalid for the current size of the resource.\nRequestId:4df9364d-a01e-005f-7542-3a6efe000000\n\ | ||
Time:2020-06-04T07:34:47.3556477Z</Message></Error>" | ||
headers: | ||
content-length: '249' | ||
content-range: bytes */0 | ||
content-type: application/xml | ||
date: Thu, 04 Jun 2020 07:34:46 GMT | ||
server: Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 | ||
x-ms-error-code: InvalidRange | ||
x-ms-version: '2019-12-12' | ||
status: | ||
code: 416 | ||
message: The range specified is invalid for the current size of the resource. | ||
url: https://vbalaorcentral1.blob.core.windows.net/test2/bla.txt | ||
- request: | ||
body: null | ||
headers: | ||
Accept: | ||
- application/xml | ||
User-Agent: | ||
- azsdk-python-storage-blob/12.3.2 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) | ||
x-ms-date: | ||
- Thu, 04 Jun 2020 07:34:47 GMT | ||
x-ms-version: | ||
- '2019-12-12' | ||
method: GET | ||
uri: https://storagename.blob.core.windows.net/test2/bla.txt | ||
response: | ||
body: | ||
string: '' | ||
headers: | ||
accept-ranges: bytes | ||
content-disposition: '' | ||
content-length: '0' | ||
content-md5: 1B2M2Y8AsgTpgAmY7PhCfg== | ||
content-type: application/octet-stream | ||
date: Thu, 04 Jun 2020 07:34:46 GMT | ||
etag: '"0x8D7FB118A463E24"' | ||
last-modified: Mon, 18 May 2020 09:55:04 GMT | ||
server: Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 | ||
x-ms-blob-type: BlockBlob | ||
x-ms-copy-completion-time: Mon, 18 May 2020 09:55:04 GMT | ||
x-ms-copy-id: 47d2f0e0-9739-42f5-ad74-8359dbb0c2ec | ||
x-ms-copy-progress: 0/0 | ||
x-ms-copy-source: https://ortestsaccountcbn1.blob.core.windows.net/test1/bla.txt?versionid=2020-05-18T09:53:04.5502688Z&sv=2015-04-05&ss=b&srt=sco&sp=rwdlacup&se=2020-05-19T09%3A13%3A27.6586322Z&spr=https | ||
x-ms-copy-status: success | ||
x-ms-creation-time: Mon, 18 May 2020 09:55:04 GMT | ||
x-ms-lease-state: available | ||
x-ms-lease-status: unlocked | ||
x-ms-or-policy-id: fd2da1b9-56f5-45ff-9eb6-310e6dfc2c80 | ||
x-ms-server-encrypted: 'true' | ||
x-ms-version: '2019-12-12' | ||
status: | ||
code: 200 | ||
message: OK | ||
url: https://vbalaorcentral1.blob.core.windows.net/test2/bla.txt | ||
version: 1 |
112 changes: 112 additions & 0 deletions
112
sdk/storage/azure-storage-blob/tests/recordings/test_ors_async.test_ors_source.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,112 @@ | ||
interactions: | ||
- request: | ||
body: null | ||
headers: | ||
User-Agent: | ||
- azsdk-python-storage-blob/12.3.2 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) | ||
x-ms-date: | ||
- Thu, 04 Jun 2020 07:33:24 GMT | ||
x-ms-version: | ||
- '2019-12-12' | ||
method: HEAD | ||
uri: https://storagename.blob.core.windows.net/test1/bla.txt | ||
response: | ||
body: | ||
string: '' | ||
headers: | ||
accept-ranges: bytes | ||
content-disposition: '' | ||
content-length: '0' | ||
content-md5: 1B2M2Y8AsgTpgAmY7PhCfg== | ||
content-type: application/octet-stream | ||
date: Thu, 04 Jun 2020 07:33:24 GMT | ||
etag: '"0x8D7FB114288CFC9"' | ||
last-modified: Mon, 18 May 2020 09:53:04 GMT | ||
server: Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 | ||
x-ms-access-tier: Hot | ||
x-ms-access-tier-inferred: 'true' | ||
x-ms-blob-type: BlockBlob | ||
x-ms-creation-time: Mon, 18 May 2020 09:53:04 GMT | ||
x-ms-is-current-version: 'true' | ||
x-ms-lease-state: available | ||
x-ms-lease-status: unlocked | ||
x-ms-or-fd2da1b9-56f5-45ff-9eb6-310e6dfc2c80_105f9aad-f39b-4064-8e47-ccd7937295ca: complete | ||
x-ms-server-encrypted: 'true' | ||
x-ms-version: '2019-12-12' | ||
x-ms-version-id: '2020-05-18T09:53:04.5502688Z' | ||
status: | ||
code: 200 | ||
message: OK | ||
url: https://ortestsaccountcbn1.blob.core.windows.net/test1/bla.txt | ||
- request: | ||
body: null | ||
headers: | ||
Accept: | ||
- application/xml | ||
User-Agent: | ||
- azsdk-python-storage-blob/12.3.2 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) | ||
x-ms-date: | ||
- Thu, 04 Jun 2020 07:33:24 GMT | ||
x-ms-range: | ||
- bytes=0-33554431 | ||
x-ms-version: | ||
- '2019-12-12' | ||
method: GET | ||
uri: https://storagename.blob.core.windows.net/test1/bla.txt | ||
response: | ||
body: | ||
string: "\uFEFF<?xml version=\"1.0\" encoding=\"utf-8\"?><Error><Code>InvalidRange</Code><Message>The\ | ||
\ range specified is invalid for the current size of the resource.\nRequestId:c5120339-d01e-0077-6c42-3a9834000000\n\ | ||
Time:2020-06-04T07:33:25.0346242Z</Message></Error>" | ||
headers: | ||
content-length: '249' | ||
content-range: bytes */0 | ||
content-type: application/xml | ||
date: Thu, 04 Jun 2020 07:33:24 GMT | ||
server: Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 | ||
x-ms-error-code: InvalidRange | ||
x-ms-version: '2019-12-12' | ||
status: | ||
code: 416 | ||
message: The range specified is invalid for the current size of the resource. | ||
url: https://ortestsaccountcbn1.blob.core.windows.net/test1/bla.txt | ||
- request: | ||
body: null | ||
headers: | ||
Accept: | ||
- application/xml | ||
User-Agent: | ||
- azsdk-python-storage-blob/12.3.2 Python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) | ||
x-ms-date: | ||
- Thu, 04 Jun 2020 07:33:25 GMT | ||
x-ms-version: | ||
- '2019-12-12' | ||
method: GET | ||
uri: https://storagename.blob.core.windows.net/test1/bla.txt | ||
response: | ||
body: | ||
string: '' | ||
headers: | ||
accept-ranges: bytes | ||
content-disposition: '' | ||
content-length: '0' | ||
content-md5: 1B2M2Y8AsgTpgAmY7PhCfg== | ||
content-type: application/octet-stream | ||
date: Thu, 04 Jun 2020 07:33:24 GMT | ||
etag: '"0x8D7FB114288CFC9"' | ||
last-modified: Mon, 18 May 2020 09:53:04 GMT | ||
server: Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 | ||
x-ms-blob-type: BlockBlob | ||
x-ms-creation-time: Mon, 18 May 2020 09:53:04 GMT | ||
x-ms-is-current-version: 'true' | ||
x-ms-lease-state: available | ||
x-ms-lease-status: unlocked | ||
x-ms-or-fd2da1b9-56f5-45ff-9eb6-310e6dfc2c80_105f9aad-f39b-4064-8e47-ccd7937295ca: complete | ||
x-ms-server-encrypted: 'true' | ||
x-ms-version: '2019-12-12' | ||
x-ms-version-id: '2020-05-18T09:53:04.5502688Z' | ||
status: | ||
code: 200 | ||
message: OK | ||
url: https://ortestsaccountcbn1.blob.core.windows.net/test1/bla.txt | ||
version: 1 |
Oops, something went wrong.