Skip to content

Commit 8e1bf1e

Browse files
committed
Merge pull request #73 from emgerner-msft/master
Version 0.20.3
2 parents 19f5e6c + 2d30d7d commit 8e1bf1e

File tree

397 files changed

+1123396
-13
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

397 files changed

+1123396
-13
lines changed

azure/storage/constants.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# limitations under the License.
1414
#--------------------------------------------------------------------------
1515
__author__ = 'Microsoft Corp. <[email protected]>'
16-
__version__ = '0.20.2'
16+
__version__ = '0.20.3'
1717

1818
# x-ms-version for storage service.
1919
X_MS_VERSION = '2014-02-14'

doc/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,9 @@
5353
# built documents.
5454
#
5555
# The short X.Y version.
56-
version = '0.20.2'
56+
version = '0.20.3'
5757
# The full version, including alpha/beta/rc tags.
58-
release = '0.20.2'
58+
release = '0.20.3'
5959

6060
# The language for content autogenerated by Sphinx. Refer to documentation
6161
# for a list of supported languages.

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535

3636
setup(
3737
name='azure-storage',
38-
version='0.20.2',
38+
version='0.20.3',
3939
description='Microsoft Azure Storage Client Library for Python',
4040
long_description=open('README.rst', 'r').read(),
4141
license='Apache License 2.0',

tests/recordings/test_storage_blob.test_abort_copy_blob.yaml

Lines changed: 294644 additions & 0 deletions
Large diffs are not rendered by default.

tests/recordings/test_storage_blob.test_abort_copy_blob_with_synchronous_copy_fails.yaml

Lines changed: 100 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,4 +103,104 @@ interactions:
103103
x-ms-request-id: [ba0698f2-0001-0056-084f-ad42cb000000]
104104
x-ms-version: ['2014-02-14']
105105
status: {code: 409, message: There is currently no pending copy operation.}
106+
- request:
107+
body: null
108+
headers:
109+
Accept-Encoding: ['gzip, deflate']
110+
Connection: [keep-alive]
111+
Content-Length: ['0']
112+
Content-Type: [application/octet-stream Charset=UTF-8]
113+
User-Agent: [pyazure/0.20.3]
114+
x-ms-date: ['Mon, 16 Nov 2015 19:27:43 GMT']
115+
x-ms-version: ['2014-02-14']
116+
method: PUT
117+
uri: https://storagename.blob.core.windows.net/utcontainer90641b5d?restype=container
118+
response:
119+
body: {string: ''}
120+
headers:
121+
Date: ['Mon, 16 Nov 2015 19:27:43 GMT']
122+
ETag: ['"0x8D2EEBC002CE11C"']
123+
Last-Modified: ['Mon, 16 Nov 2015 19:27:43 GMT']
124+
Server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0]
125+
Transfer-Encoding: [chunked]
126+
x-ms-request-id: [217f28ee-0001-002d-29a4-207cca000000]
127+
x-ms-version: ['2014-02-14']
128+
status: {code: 201, message: Created}
129+
- request:
130+
body: !!binary |
131+
aGVsbG8gd29ybGQ=
132+
headers:
133+
Accept-Encoding: ['gzip, deflate']
134+
Connection: [keep-alive]
135+
Content-Length: ['11']
136+
Content-Type: [application/octet-stream Charset=UTF-8]
137+
User-Agent: [pyazure/0.20.3]
138+
x-ms-blob-type: [BlockBlob]
139+
x-ms-date: ['Mon, 16 Nov 2015 19:27:43 GMT']
140+
x-ms-version: ['2014-02-14']
141+
method: PUT
142+
uri: https://storagename.blob.core.windows.net/utcontainer90641b5d/sourceblob
143+
response:
144+
body: {string: ''}
145+
headers:
146+
Content-MD5: [XrY7u+Ae7tCTyyK7j1rNww==]
147+
Date: ['Mon, 16 Nov 2015 19:27:43 GMT']
148+
ETag: ['"0x8D2EEBBFFF74DFC"']
149+
Last-Modified: ['Mon, 16 Nov 2015 19:27:43 GMT']
150+
Server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0]
151+
Transfer-Encoding: [chunked]
152+
x-ms-request-id: [217f290f-0001-002d-42a4-207cca000000]
153+
x-ms-version: ['2014-02-14']
154+
status: {code: 201, message: Created}
155+
- request:
156+
body: null
157+
headers:
158+
Accept-Encoding: ['gzip, deflate']
159+
Connection: [keep-alive]
160+
Content-Length: ['0']
161+
Content-Type: [application/octet-stream Charset=UTF-8]
162+
User-Agent: [pyazure/0.20.3]
163+
x-ms-copy-source: ['https://xclientdev.blob.core.windows.net/utcontainer90641b5d/sourceblob']
164+
x-ms-date: ['Mon, 16 Nov 2015 19:27:43 GMT']
165+
x-ms-version: ['2014-02-14']
166+
method: PUT
167+
uri: https://storagename.blob.core.windows.net/utcontainer90641b5d/targetblob
168+
response:
169+
body: {string: ''}
170+
headers:
171+
Date: ['Mon, 16 Nov 2015 19:27:43 GMT']
172+
ETag: ['"0x8D2EEBBFFFE7A40"']
173+
Last-Modified: ['Mon, 16 Nov 2015 19:27:43 GMT']
174+
Server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0]
175+
Transfer-Encoding: [chunked]
176+
x-ms-copy-id: [69eacbf1-870d-4f64-83c0-3fcbb2a541b8]
177+
x-ms-copy-status: [success]
178+
x-ms-request-id: [217f291b-0001-002d-4ea4-207cca000000]
179+
x-ms-version: ['2014-02-14']
180+
status: {code: 202, message: Accepted}
181+
- request:
182+
body: null
183+
headers:
184+
Accept-Encoding: ['gzip, deflate']
185+
Connection: [keep-alive]
186+
Content-Length: ['0']
187+
Content-Type: [application/octet-stream Charset=UTF-8]
188+
User-Agent: [pyazure/0.20.3]
189+
x-ms-copy-action: [abort]
190+
x-ms-date: ['Mon, 16 Nov 2015 19:27:43 GMT']
191+
x-ms-version: ['2014-02-14']
192+
method: PUT
193+
uri: https://storagename.blob.core.windows.net/utcontainer90641b5d/targetblob?comp=copy&copyid=69eacbf1-870d-4f64-83c0-3fcbb2a541b8
194+
response:
195+
body: {string: "\uFEFF<?xml version=\"1.0\" encoding=\"utf-8\"?><Error><Code>NoPendingCopyOperation</Code><Message>There\
196+
\ is currently no pending copy operation.\nRequestId:217f2929-0001-002d-5ca4-207cca000000\n\
197+
Time:2015-11-16T19:27:43.8535074Z</Message></Error>"}
198+
headers:
199+
Content-Length: ['236']
200+
Content-Type: [application/xml]
201+
Date: ['Mon, 16 Nov 2015 19:27:43 GMT']
202+
Server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0]
203+
x-ms-request-id: [217f2929-0001-002d-5ca4-207cca000000]
204+
x-ms-version: ['2014-02-14']
205+
status: {code: 409, message: There is currently no pending copy operation.}
106206
version: 1

0 commit comments

Comments
 (0)