Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion azure/storage/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# limitations under the License.
#--------------------------------------------------------------------------
__author__ = 'Microsoft Corp. <[email protected]>'
__version__ = '0.20.2'
__version__ = '0.20.3'

# x-ms-version for storage service.
X_MS_VERSION = '2014-02-14'
Expand Down
4 changes: 2 additions & 2 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@
# built documents.
#
# The short X.Y version.
version = '0.20.2'
version = '0.20.3'
# The full version, including alpha/beta/rc tags.
release = '0.20.2'
release = '0.20.3'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@

setup(
name='azure-storage',
version='0.20.2',
version='0.20.3',
description='Microsoft Azure Storage Client Library for Python',
long_description=open('README.rst', 'r').read(),
license='Apache License 2.0',
Expand Down
294,644 changes: 294,644 additions & 0 deletions tests/recordings/test_storage_blob.test_abort_copy_blob.yaml

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -103,4 +103,104 @@ interactions:
x-ms-request-id: [ba0698f2-0001-0056-084f-ad42cb000000]
x-ms-version: ['2014-02-14']
status: {code: 409, message: There is currently no pending copy operation.}
- request:
body: null
headers:
Accept-Encoding: ['gzip, deflate']
Connection: [keep-alive]
Content-Length: ['0']
Content-Type: [application/octet-stream Charset=UTF-8]
User-Agent: [pyazure/0.20.3]
x-ms-date: ['Mon, 16 Nov 2015 19:27:43 GMT']
x-ms-version: ['2014-02-14']
method: PUT
uri: https://storagename.blob.core.windows.net/utcontainer90641b5d?restype=container
response:
body: {string: ''}
headers:
Date: ['Mon, 16 Nov 2015 19:27:43 GMT']
ETag: ['"0x8D2EEBC002CE11C"']
Last-Modified: ['Mon, 16 Nov 2015 19:27:43 GMT']
Server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0]
Transfer-Encoding: [chunked]
x-ms-request-id: [217f28ee-0001-002d-29a4-207cca000000]
x-ms-version: ['2014-02-14']
status: {code: 201, message: Created}
- request:
body: !!binary |
aGVsbG8gd29ybGQ=
headers:
Accept-Encoding: ['gzip, deflate']
Connection: [keep-alive]
Content-Length: ['11']
Content-Type: [application/octet-stream Charset=UTF-8]
User-Agent: [pyazure/0.20.3]
x-ms-blob-type: [BlockBlob]
x-ms-date: ['Mon, 16 Nov 2015 19:27:43 GMT']
x-ms-version: ['2014-02-14']
method: PUT
uri: https://storagename.blob.core.windows.net/utcontainer90641b5d/sourceblob
response:
body: {string: ''}
headers:
Content-MD5: [XrY7u+Ae7tCTyyK7j1rNww==]
Date: ['Mon, 16 Nov 2015 19:27:43 GMT']
ETag: ['"0x8D2EEBBFFF74DFC"']
Last-Modified: ['Mon, 16 Nov 2015 19:27:43 GMT']
Server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0]
Transfer-Encoding: [chunked]
x-ms-request-id: [217f290f-0001-002d-42a4-207cca000000]
x-ms-version: ['2014-02-14']
status: {code: 201, message: Created}
- request:
body: null
headers:
Accept-Encoding: ['gzip, deflate']
Connection: [keep-alive]
Content-Length: ['0']
Content-Type: [application/octet-stream Charset=UTF-8]
User-Agent: [pyazure/0.20.3]
x-ms-copy-source: ['https://xclientdev.blob.core.windows.net/utcontainer90641b5d/sourceblob']
x-ms-date: ['Mon, 16 Nov 2015 19:27:43 GMT']
x-ms-version: ['2014-02-14']
method: PUT
uri: https://storagename.blob.core.windows.net/utcontainer90641b5d/targetblob
response:
body: {string: ''}
headers:
Date: ['Mon, 16 Nov 2015 19:27:43 GMT']
ETag: ['"0x8D2EEBBFFFE7A40"']
Last-Modified: ['Mon, 16 Nov 2015 19:27:43 GMT']
Server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0]
Transfer-Encoding: [chunked]
x-ms-copy-id: [69eacbf1-870d-4f64-83c0-3fcbb2a541b8]
x-ms-copy-status: [success]
x-ms-request-id: [217f291b-0001-002d-4ea4-207cca000000]
x-ms-version: ['2014-02-14']
status: {code: 202, message: Accepted}
- request:
body: null
headers:
Accept-Encoding: ['gzip, deflate']
Connection: [keep-alive]
Content-Length: ['0']
Content-Type: [application/octet-stream Charset=UTF-8]
User-Agent: [pyazure/0.20.3]
x-ms-copy-action: [abort]
x-ms-date: ['Mon, 16 Nov 2015 19:27:43 GMT']
x-ms-version: ['2014-02-14']
method: PUT
uri: https://storagename.blob.core.windows.net/utcontainer90641b5d/targetblob?comp=copy&copyid=69eacbf1-870d-4f64-83c0-3fcbb2a541b8
response:
body: {string: "\uFEFF<?xml version=\"1.0\" encoding=\"utf-8\"?><Error><Code>NoPendingCopyOperation</Code><Message>There\
\ is currently no pending copy operation.\nRequestId:217f2929-0001-002d-5ca4-207cca000000\n\
Time:2015-11-16T19:27:43.8535074Z</Message></Error>"}
headers:
Content-Length: ['236']
Content-Type: [application/xml]
Date: ['Mon, 16 Nov 2015 19:27:43 GMT']
Server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0]
x-ms-request-id: [217f2929-0001-002d-5ca4-207cca000000]
x-ms-version: ['2014-02-14']
status: {code: 409, message: There is currently no pending copy operation.}
version: 1
Loading