From 4b53918c307514f40850af0534ded078aa74cf45 Mon Sep 17 00:00:00 2001 From: Joel Hendrix Date: Fri, 5 Mar 2021 14:36:33 -0800 Subject: [PATCH] Storage fixes (#14395) Omit x-ms-blob-type request header for AppendBlock() operation. Fixed XML error unmarshalling for some table APIs. --- storage/appendblob.go | 1 - storage/client.go | 34 ++++- .../AppendBlobSuite/TestPutAppendBlob.yaml | 58 ++++----- .../TestPutAppendBlobAppendBlocks.yaml | 102 +++++++-------- .../TestPutAppendBlobSpecialChars.yaml | 122 ++++++++---------- 5 files changed, 165 insertions(+), 152 deletions(-) diff --git a/storage/appendblob.go b/storage/appendblob.go index 8b5b96d48848..2f37bede66ec 100644 --- a/storage/appendblob.go +++ b/storage/appendblob.go @@ -70,7 +70,6 @@ type AppendBlockOptions struct { func (b *Blob) AppendBlock(chunk []byte, options *AppendBlockOptions) error { params := url.Values{"comp": {"appendblock"}} headers := b.Container.bsc.client.getStandardHeaders() - headers["x-ms-blob-type"] = string(BlobTypeAppend) headers["Content-Length"] = fmt.Sprintf("%v", len(chunk)) if options != nil { diff --git a/storage/client.go b/storage/client.go index ef8daf92e27c..f84c7d5e94ac 100644 --- a/storage/client.go +++ b/storage/client.go @@ -176,6 +176,23 @@ type AzureStorageServiceError struct { APIVersion string } +// AzureTablesServiceError contains fields of the error response from +// Azure Table Storage Service REST API in Atom format. +// See https://msdn.microsoft.com/en-us/library/azure/dd179382.aspx +type AzureTablesServiceError struct { + Code string `xml:"code"` + Message string `xml:"message"` + StatusCode int + RequestID string + Date string + APIVersion string +} + +func (e AzureTablesServiceError) Error() string { + return fmt.Sprintf("storage: service returned error: StatusCode=%d, ErrorCode=%s, ErrorMessage=%s, RequestInitiated=%s, RequestId=%s, API Version=%s", + e.StatusCode, e.Code, e.Message, e.Date, e.RequestID, e.APIVersion) +} + type odataErrorMessage struct { Lang string `json:"lang"` Value string `json:"value"` @@ -828,8 +845,21 @@ func (c Client) execInternalJSONCommon(verb, url string, headers map[string]stri err = serviceErrFromStatusCode(resp.StatusCode, resp.Status, requestID, date, version) return respToRet, req, resp, err } - // try unmarshal as odata.error json - err = json.Unmarshal(respBody, &respToRet.odata) + // response contains storage service error object, unmarshal + if resp.Header.Get("Content-Type") == "application/xml" { + storageErr := AzureTablesServiceError{ + StatusCode: resp.StatusCode, + RequestID: requestID, + Date: date, + APIVersion: version, + } + if err := xml.Unmarshal(respBody, &storageErr); err != nil { + storageErr.Message = fmt.Sprintf("Response body could no be unmarshaled: %v. Body: %v.", err, string(respBody)) + } + err = storageErr + } else { + err = json.Unmarshal(respBody, &respToRet.odata) + } } return respToRet, req, resp, err diff --git a/storage/recordings/AppendBlobSuite/TestPutAppendBlob.yaml b/storage/recordings/AppendBlobSuite/TestPutAppendBlob.yaml index eed4654edefc..9dff803b46b5 100644 --- a/storage/recordings/AppendBlobSuite/TestPutAppendBlob.yaml +++ b/storage/recordings/AppendBlobSuite/TestPutAppendBlob.yaml @@ -6,12 +6,12 @@ interactions: form: {} headers: Authorization: - - SharedKey golangrocksonazure:5lvWHtXWMNCv807HBlQbFhmXKbfOp3A8dq/tTGxoDIc= + - SharedKey golangrocksonazure:VQ3U3AgA+6jRRSVnwOeixfwpL1la5l4HFITEws73a2Q= User-Agent: - - Go/go1.12.4 (amd64-windows) azure-storage-go/latest api-version/2018-03-28 + - Go/go1.15.1 (amd64-windows) azure-storage-go/v51.3.0 api-version/2018-03-28 blob x-ms-date: - - Tue, 28 May 2019 22:35:36 GMT + - Fri, 05 Mar 2021 18:25:43 GMT x-ms-version: - "2018-03-28" url: https://golangrocksonazure.blob.core.windows.net/cnt-33appendblobsuitetestputappe?restype=container @@ -22,15 +22,15 @@ interactions: Content-Length: - "0" Date: - - Tue, 28 May 2019 22:35:36 GMT + - Fri, 05 Mar 2021 18:25:43 GMT Etag: - - '"0x8D6E3BCCDFAFBBF"' + - '"0x8D8E00416CDFF62"' Last-Modified: - - Tue, 28 May 2019 22:35:36 GMT + - Fri, 05 Mar 2021 18:25:44 GMT Server: - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 X-Ms-Request-Id: - - 3781395b-e01e-00b7-6fa5-15d5a7000000 + - 41952a91-501e-0012-1bec-11e43d000000 X-Ms-Version: - "2018-03-28" status: 201 Created @@ -41,14 +41,14 @@ interactions: form: {} headers: Authorization: - - SharedKey golangrocksonazure:S5PgAFqyK8UBwh6TI3qWZlC6FosgMKjaekntS/skijA= + - SharedKey golangrocksonazure:4yu4lzswyubjg2VV1Ehf5Zl/E456Zp7/OBfiViJJxSI= User-Agent: - - Go/go1.12.4 (amd64-windows) azure-storage-go/latest api-version/2018-03-28 + - Go/go1.15.1 (amd64-windows) azure-storage-go/v51.3.0 api-version/2018-03-28 blob x-ms-blob-type: - AppendBlob x-ms-date: - - Tue, 28 May 2019 22:35:36 GMT + - Fri, 05 Mar 2021 18:25:43 GMT x-ms-version: - "2018-03-28" url: https://golangrocksonazure.blob.core.windows.net/cnt-33appendblobsuitetestputappe/blob/33appendblobsuitetestputappendblob @@ -59,15 +59,15 @@ interactions: Content-Length: - "0" Date: - - Tue, 28 May 2019 22:35:36 GMT + - Fri, 05 Mar 2021 18:25:43 GMT Etag: - - '"0x8D6E3BCCDFD7B24"' + - '"0x8D8E00416D2DB57"' Last-Modified: - - Tue, 28 May 2019 22:35:36 GMT + - Fri, 05 Mar 2021 18:25:44 GMT Server: - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 X-Ms-Request-Id: - - 3781397e-e01e-00b7-0ea5-15d5a7000000 + - 41952aa7-501e-0012-2fec-11e43d000000 X-Ms-Request-Server-Encrypted: - "true" X-Ms-Version: @@ -80,12 +80,12 @@ interactions: form: {} headers: Authorization: - - SharedKey golangrocksonazure:AowIOO8KDWMTJGs99tmLN2efeY7Btyga8t0LFSsfATA= + - SharedKey golangrocksonazure:7SYRC+2ktl0SOYb60CWMwIHK6gEj4nJojxvnXtOnYhw= User-Agent: - - Go/go1.12.4 (amd64-windows) azure-storage-go/latest api-version/2018-03-28 + - Go/go1.15.1 (amd64-windows) azure-storage-go/v51.3.0 api-version/2018-03-28 blob x-ms-date: - - Tue, 28 May 2019 22:35:37 GMT + - Fri, 05 Mar 2021 18:25:43 GMT x-ms-version: - "2018-03-28" url: https://golangrocksonazure.blob.core.windows.net/cnt-33appendblobsuitetestputappe/blob/33appendblobsuitetestputappendblob @@ -100,29 +100,25 @@ interactions: Content-Type: - application/octet-stream Date: - - Tue, 28 May 2019 22:35:36 GMT + - Fri, 05 Mar 2021 18:25:43 GMT Etag: - - '"0x8D6E3BCCDFD7B24"' + - '"0x8D8E00416D2DB57"' Last-Modified: - - Tue, 28 May 2019 22:35:36 GMT + - Fri, 05 Mar 2021 18:25:44 GMT Server: - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 - X-Ms-Access-Tier: - - Cool - X-Ms-Access-Tier-Inferred: - - "true" X-Ms-Blob-Committed-Block-Count: - "0" X-Ms-Blob-Type: - AppendBlob X-Ms-Creation-Time: - - Tue, 28 May 2019 22:35:36 GMT + - Fri, 05 Mar 2021 18:25:44 GMT X-Ms-Lease-State: - available X-Ms-Lease-Status: - unlocked X-Ms-Request-Id: - - 37813989-e01e-00b7-18a5-15d5a7000000 + - 41952ab8-501e-0012-3eec-11e43d000000 X-Ms-Server-Encrypted: - "true" X-Ms-Version: @@ -135,12 +131,12 @@ interactions: form: {} headers: Authorization: - - SharedKey golangrocksonazure:XdOf6r50NJa2wUmQt1iWNJZa/PSVqe9M3TU3YlCJK5A= + - SharedKey golangrocksonazure:9la7KSNSu/8iy7qvnqZxqsBHs5jvam0fiHp6A8myI54= User-Agent: - - Go/go1.12.4 (amd64-windows) azure-storage-go/latest api-version/2018-03-28 + - Go/go1.15.1 (amd64-windows) azure-storage-go/v51.3.0 api-version/2018-03-28 blob x-ms-date: - - Tue, 28 May 2019 22:35:37 GMT + - Fri, 05 Mar 2021 18:25:44 GMT x-ms-version: - "2018-03-28" url: https://golangrocksonazure.blob.core.windows.net/cnt-33appendblobsuitetestputappe?restype=container @@ -151,11 +147,11 @@ interactions: Content-Length: - "0" Date: - - Tue, 28 May 2019 22:35:36 GMT + - Fri, 05 Mar 2021 18:25:43 GMT Server: - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 X-Ms-Request-Id: - - 37813996-e01e-00b7-25a5-15d5a7000000 + - 41952ae2-501e-0012-60ec-11e43d000000 X-Ms-Version: - "2018-03-28" status: 202 Accepted diff --git a/storage/recordings/AppendBlobSuite/TestPutAppendBlobAppendBlocks.yaml b/storage/recordings/AppendBlobSuite/TestPutAppendBlobAppendBlocks.yaml index 0bc292d900ff..df14d385adae 100644 --- a/storage/recordings/AppendBlobSuite/TestPutAppendBlobAppendBlocks.yaml +++ b/storage/recordings/AppendBlobSuite/TestPutAppendBlobAppendBlocks.yaml @@ -6,12 +6,12 @@ interactions: form: {} headers: Authorization: - - SharedKey golangrocksonazure:JpHj6X4l7dRiDP87C/r0Y7CZ7zD34M2vY6fs4ogNorI= + - SharedKey golangrocksonazure:cHqDDExGiaZKSCrEoSdlcTivHcOC4Q+y318ktdXmEAc= User-Agent: - - Go/go1.12.4 (amd64-windows) azure-storage-go/latest api-version/2018-03-28 + - Go/go1.15.1 (amd64-windows) azure-storage-go/v51.3.0 api-version/2018-03-28 blob x-ms-date: - - Tue, 28 May 2019 22:35:37 GMT + - Fri, 05 Mar 2021 18:25:44 GMT x-ms-version: - "2018-03-28" url: https://golangrocksonazure.blob.core.windows.net/cnt-45appendblobsuitetestputappe?restype=container @@ -22,15 +22,15 @@ interactions: Content-Length: - "0" Date: - - Tue, 28 May 2019 22:35:36 GMT + - Fri, 05 Mar 2021 18:25:43 GMT Etag: - - '"0x8D6E3BCCE04E8A2"' + - '"0x8D8E00416E29C8D"' Last-Modified: - - Tue, 28 May 2019 22:35:36 GMT + - Fri, 05 Mar 2021 18:25:44 GMT Server: - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 X-Ms-Request-Id: - - 378139c2-e01e-00b7-4ca5-15d5a7000000 + - 41952af4-501e-0012-72ec-11e43d000000 X-Ms-Version: - "2018-03-28" status: 201 Created @@ -41,14 +41,14 @@ interactions: form: {} headers: Authorization: - - SharedKey golangrocksonazure:QREma6AE+V3+ZEOe8Q35HwgSv3qe4AEL/3hrvPD9eJg= + - SharedKey golangrocksonazure:mBhu7O8CI+35OduE9Q51ECe2jadqDvLBQ4nkV4T+WMk= User-Agent: - - Go/go1.12.4 (amd64-windows) azure-storage-go/latest api-version/2018-03-28 + - Go/go1.15.1 (amd64-windows) azure-storage-go/v51.3.0 api-version/2018-03-28 blob x-ms-blob-type: - AppendBlob x-ms-date: - - Tue, 28 May 2019 22:35:37 GMT + - Fri, 05 Mar 2021 18:25:44 GMT x-ms-version: - "2018-03-28" url: https://golangrocksonazure.blob.core.windows.net/cnt-45appendblobsuitetestputappe/blob/45appendblobsuitetestputappendblobappendblocks @@ -59,15 +59,15 @@ interactions: Content-Length: - "0" Date: - - Tue, 28 May 2019 22:35:36 GMT + - Fri, 05 Mar 2021 18:25:43 GMT Etag: - - '"0x8D6E3BCCE07B632"' + - '"0x8D8E00416E666E2"' Last-Modified: - - Tue, 28 May 2019 22:35:36 GMT + - Fri, 05 Mar 2021 18:25:44 GMT Server: - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 X-Ms-Request-Id: - - 378139db-e01e-00b7-62a5-15d5a7000000 + - 41952b09-501e-0012-05ec-11e43d000000 X-Ms-Request-Server-Encrypted: - "true" X-Ms-Version: @@ -92,16 +92,14 @@ interactions: form: {} headers: Authorization: - - SharedKey golangrocksonazure:Os96KKoumjyeXSPs8JP6+1Y50EDuwTsYheWgds9O8fA= + - SharedKey golangrocksonazure:anpmAsSE+2FKNMSMxSN75+//fnNMGCvULUqJV02R4yg= Content-Length: - "1024" User-Agent: - - Go/go1.12.4 (amd64-windows) azure-storage-go/latest api-version/2018-03-28 + - Go/go1.15.1 (amd64-windows) azure-storage-go/v51.3.0 api-version/2018-03-28 blob - x-ms-blob-type: - - AppendBlob x-ms-date: - - Tue, 28 May 2019 22:35:37 GMT + - Fri, 05 Mar 2021 18:25:44 GMT x-ms-version: - "2018-03-28" url: https://golangrocksonazure.blob.core.windows.net/cnt-45appendblobsuitetestputappe/blob/45appendblobsuitetestputappendblobappendblocks?comp=appendblock @@ -114,11 +112,11 @@ interactions: Content-Md5: - 0rZVY1m4cHz874drfCSd/w== Date: - - Tue, 28 May 2019 22:35:36 GMT + - Fri, 05 Mar 2021 18:25:43 GMT Etag: - - '"0x8D6E3BCCE098B45"' + - '"0x8D8E00416F33A76"' Last-Modified: - - Tue, 28 May 2019 22:35:36 GMT + - Fri, 05 Mar 2021 18:25:44 GMT Server: - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 X-Ms-Blob-Append-Offset: @@ -126,7 +124,7 @@ interactions: X-Ms-Blob-Committed-Block-Count: - "1" X-Ms-Request-Id: - - 378139e7-e01e-00b7-6ea5-15d5a7000000 + - 41952b12-501e-0012-0eec-11e43d000000 X-Ms-Request-Server-Encrypted: - "true" X-Ms-Version: @@ -139,14 +137,14 @@ interactions: form: {} headers: Authorization: - - SharedKey golangrocksonazure:VhkXNTD/gWLXxoCOR7Cl0bDSAnBFMwx0l1uew14Ruzc= + - SharedKey golangrocksonazure:bbmVufiUfvFn9j8pXZDhOBn6lqEriTqmKIu1J4KxfE8= Range: - bytes=0-1023 User-Agent: - - Go/go1.12.4 (amd64-windows) azure-storage-go/latest api-version/2018-03-28 + - Go/go1.15.1 (amd64-windows) azure-storage-go/v51.3.0 api-version/2018-03-28 blob x-ms-date: - - Tue, 28 May 2019 22:35:37 GMT + - Fri, 05 Mar 2021 18:25:44 GMT x-ms-version: - "2018-03-28" url: https://golangrocksonazure.blob.core.windows.net/cnt-45appendblobsuitetestputappe/blob/45appendblobsuitetestputappendblobappendblocks @@ -175,11 +173,11 @@ interactions: Content-Type: - application/octet-stream Date: - - Tue, 28 May 2019 22:35:36 GMT + - Fri, 05 Mar 2021 18:25:43 GMT Etag: - - '"0x8D6E3BCCE098B45"' + - '"0x8D8E00416F33A76"' Last-Modified: - - Tue, 28 May 2019 22:35:36 GMT + - Fri, 05 Mar 2021 18:25:44 GMT Server: - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 X-Ms-Blob-Committed-Block-Count: @@ -187,13 +185,13 @@ interactions: X-Ms-Blob-Type: - AppendBlob X-Ms-Creation-Time: - - Tue, 28 May 2019 22:35:36 GMT + - Fri, 05 Mar 2021 18:25:44 GMT X-Ms-Lease-State: - available X-Ms-Lease-Status: - unlocked X-Ms-Request-Id: - - 378139f5-e01e-00b7-7ba5-15d5a7000000 + - 41952b41-501e-0012-39ec-11e43d000000 X-Ms-Server-Encrypted: - "true" X-Ms-Version: @@ -212,18 +210,16 @@ interactions: form: {} headers: Authorization: - - SharedKey golangrocksonazure:wJ/Jf5Ji5xfUq4NjQaMTsm+Y8dSY0Ff7fzkyZ2K5sGQ= + - SharedKey golangrocksonazure:PeTLodg+ZcdDUjLTvAmO5BNf+XgXbCqF/RwcHRIe2Fk= Content-Length: - "512" Content-MD5: - 2Xr7q2sERdQmQ41hZ7sPvQ== User-Agent: - - Go/go1.12.4 (amd64-windows) azure-storage-go/latest api-version/2018-03-28 + - Go/go1.15.1 (amd64-windows) azure-storage-go/v51.3.0 api-version/2018-03-28 blob - x-ms-blob-type: - - AppendBlob x-ms-date: - - Tue, 28 May 2019 22:35:37 GMT + - Fri, 05 Mar 2021 18:25:44 GMT x-ms-version: - "2018-03-28" url: https://golangrocksonazure.blob.core.windows.net/cnt-45appendblobsuitetestputappe/blob/45appendblobsuitetestputappendblobappendblocks?comp=appendblock @@ -236,11 +232,11 @@ interactions: Content-Md5: - 2Xr7q2sERdQmQ41hZ7sPvQ== Date: - - Tue, 28 May 2019 22:35:36 GMT + - Fri, 05 Mar 2021 18:25:43 GMT Etag: - - '"0x8D6E3BCCE0C9918"' + - '"0x8D8E00417045498"' Last-Modified: - - Tue, 28 May 2019 22:35:36 GMT + - Fri, 05 Mar 2021 18:25:44 GMT Server: - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 X-Ms-Blob-Append-Offset: @@ -248,7 +244,7 @@ interactions: X-Ms-Blob-Committed-Block-Count: - "2" X-Ms-Request-Id: - - 37813a03-e01e-00b7-09a5-15d5a7000000 + - 41952b4e-501e-0012-44ec-11e43d000000 X-Ms-Request-Server-Encrypted: - "true" X-Ms-Version: @@ -261,14 +257,14 @@ interactions: form: {} headers: Authorization: - - SharedKey golangrocksonazure:qpuklt9JsZ4JxDclZKbsWafyVI+27BybO53t3mJPFgo= + - SharedKey golangrocksonazure:Wr34APcu2eO2TkSawnaaNCHSB7vVm2r1KE04qIZR3t0= Range: - bytes=0-1535 User-Agent: - - Go/go1.12.4 (amd64-windows) azure-storage-go/latest api-version/2018-03-28 + - Go/go1.15.1 (amd64-windows) azure-storage-go/v51.3.0 api-version/2018-03-28 blob x-ms-date: - - Tue, 28 May 2019 22:35:37 GMT + - Fri, 05 Mar 2021 18:25:44 GMT x-ms-version: - "2018-03-28" url: https://golangrocksonazure.blob.core.windows.net/cnt-45appendblobsuitetestputappe/blob/45appendblobsuitetestputappendblobappendblocks @@ -304,11 +300,11 @@ interactions: Content-Type: - application/octet-stream Date: - - Tue, 28 May 2019 22:35:36 GMT + - Fri, 05 Mar 2021 18:25:43 GMT Etag: - - '"0x8D6E3BCCE0C9918"' + - '"0x8D8E00417045498"' Last-Modified: - - Tue, 28 May 2019 22:35:36 GMT + - Fri, 05 Mar 2021 18:25:44 GMT Server: - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 X-Ms-Blob-Committed-Block-Count: @@ -316,13 +312,13 @@ interactions: X-Ms-Blob-Type: - AppendBlob X-Ms-Creation-Time: - - Tue, 28 May 2019 22:35:36 GMT + - Fri, 05 Mar 2021 18:25:44 GMT X-Ms-Lease-State: - available X-Ms-Lease-Status: - unlocked X-Ms-Request-Id: - - 37813a15-e01e-00b7-1aa5-15d5a7000000 + - 41952b80-501e-0012-76ec-11e43d000000 X-Ms-Server-Encrypted: - "true" X-Ms-Version: @@ -335,12 +331,12 @@ interactions: form: {} headers: Authorization: - - SharedKey golangrocksonazure:W5CL9hnJk7JNXEmUIPcmFnjF6Q6hc9k0ok4gfwhNQ/8= + - SharedKey golangrocksonazure:6VoMS93GIzBei+Q5RpIiqFLK/hElHV8RZKnA0wyikLY= User-Agent: - - Go/go1.12.4 (amd64-windows) azure-storage-go/latest api-version/2018-03-28 + - Go/go1.15.1 (amd64-windows) azure-storage-go/v51.3.0 api-version/2018-03-28 blob x-ms-date: - - Tue, 28 May 2019 22:35:37 GMT + - Fri, 05 Mar 2021 18:25:44 GMT x-ms-version: - "2018-03-28" url: https://golangrocksonazure.blob.core.windows.net/cnt-45appendblobsuitetestputappe?restype=container @@ -351,11 +347,11 @@ interactions: Content-Length: - "0" Date: - - Tue, 28 May 2019 22:35:36 GMT + - Fri, 05 Mar 2021 18:25:43 GMT Server: - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 X-Ms-Request-Id: - - 37813a21-e01e-00b7-26a5-15d5a7000000 + - 41952b8f-501e-0012-05ec-11e43d000000 X-Ms-Version: - "2018-03-28" status: 202 Accepted diff --git a/storage/recordings/StorageBlobSuite/TestPutAppendBlobSpecialChars.yaml b/storage/recordings/StorageBlobSuite/TestPutAppendBlobSpecialChars.yaml index 56dd32024d04..21a213c65ef0 100644 --- a/storage/recordings/StorageBlobSuite/TestPutAppendBlobSpecialChars.yaml +++ b/storage/recordings/StorageBlobSuite/TestPutAppendBlobSpecialChars.yaml @@ -6,12 +6,12 @@ interactions: form: {} headers: Authorization: - - SharedKey golangrocksonazure:p1NjomuE8tVxalJdzwcGftsoZ/SAeeuSn7qJGLx3GTc= + - SharedKey golangrocksonazure:Xql+pJMxnWw3uCHfHUXEkiEQcZTLe0LnuJ3s56mKnNQ= User-Agent: - - Go/go1.12.4 (amd64-windows) azure-storage-go/latest api-version/2018-03-28 + - Go/go1.15.1 (amd64-windows) azure-storage-go/v51.3.0 api-version/2018-03-28 blob x-ms-date: - - Tue, 28 May 2019 22:35:38 GMT + - Fri, 05 Mar 2021 18:25:44 GMT x-ms-version: - "2018-03-28" url: https://golangrocksonazure.blob.core.windows.net/cnt-46storageblobsuitetestputapp?restype=container @@ -22,15 +22,15 @@ interactions: Content-Length: - "0" Date: - - Tue, 28 May 2019 22:35:37 GMT + - Fri, 05 Mar 2021 18:25:43 GMT Etag: - - '"0x8D6E3BCCEA64F0B"' + - '"0x8D8E0041710E0D6"' Last-Modified: - - Tue, 28 May 2019 22:35:37 GMT + - Fri, 05 Mar 2021 18:25:44 GMT Server: - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 X-Ms-Request-Id: - - 37813fa7-e01e-00b7-35a5-15d5a7000000 + - 41952bad-501e-0012-21ec-11e43d000000 X-Ms-Version: - "2018-03-28" status: 201 Created @@ -41,14 +41,14 @@ interactions: form: {} headers: Authorization: - - SharedKey golangrocksonazure:v112ybRLnfgm4c/EB5WrRDkDN0jKrTHeaQnrvJseOMs= + - SharedKey golangrocksonazure:lXc3CloG9MEewT6pebEn1ZKEV3USIZAkTZOpkn7mJBI= User-Agent: - - Go/go1.12.4 (amd64-windows) azure-storage-go/latest api-version/2018-03-28 + - Go/go1.15.1 (amd64-windows) azure-storage-go/v51.3.0 api-version/2018-03-28 blob x-ms-blob-type: - AppendBlob x-ms-date: - - Tue, 28 May 2019 22:35:38 GMT + - Fri, 05 Mar 2021 18:25:44 GMT x-ms-version: - "2018-03-28" url: https://golangrocksonazure.blob.core.windows.net/cnt-46storageblobsuitetestputapp/blob/46storageblobsuitetestputappendblobspecialchars @@ -59,15 +59,15 @@ interactions: Content-Length: - "0" Date: - - Tue, 28 May 2019 22:35:37 GMT + - Fri, 05 Mar 2021 18:25:43 GMT Etag: - - '"0x8D6E3BCCEA88026"' + - '"0x8D8E0041714D254"' Last-Modified: - - Tue, 28 May 2019 22:35:38 GMT + - Fri, 05 Mar 2021 18:25:44 GMT Server: - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 X-Ms-Request-Id: - - 37813fb8-e01e-00b7-44a5-15d5a7000000 + - 41952bc4-501e-0012-37ec-11e43d000000 X-Ms-Request-Server-Encrypted: - "true" X-Ms-Version: @@ -80,12 +80,12 @@ interactions: form: {} headers: Authorization: - - SharedKey golangrocksonazure:lTVnVmMFOxYxOvbwcCg3hWE4zUQLswXIzN15qvFMLdk= + - SharedKey golangrocksonazure:EqaIpC+4QGtQgI5DKpE4UYCeLzmZCGBTak1UvEbHlsw= User-Agent: - - Go/go1.12.4 (amd64-windows) azure-storage-go/latest api-version/2018-03-28 + - Go/go1.15.1 (amd64-windows) azure-storage-go/v51.3.0 api-version/2018-03-28 blob x-ms-date: - - Tue, 28 May 2019 22:35:38 GMT + - Fri, 05 Mar 2021 18:25:44 GMT x-ms-version: - "2018-03-28" url: https://golangrocksonazure.blob.core.windows.net/cnt-46storageblobsuitetestputapp/blob/46storageblobsuitetestputappendblobspecialchars @@ -100,29 +100,25 @@ interactions: Content-Type: - application/octet-stream Date: - - Tue, 28 May 2019 22:35:37 GMT + - Fri, 05 Mar 2021 18:25:43 GMT Etag: - - '"0x8D6E3BCCEA88026"' + - '"0x8D8E0041714D254"' Last-Modified: - - Tue, 28 May 2019 22:35:38 GMT + - Fri, 05 Mar 2021 18:25:44 GMT Server: - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 - X-Ms-Access-Tier: - - Cool - X-Ms-Access-Tier-Inferred: - - "true" X-Ms-Blob-Committed-Block-Count: - "0" X-Ms-Blob-Type: - AppendBlob X-Ms-Creation-Time: - - Tue, 28 May 2019 22:35:38 GMT + - Fri, 05 Mar 2021 18:25:44 GMT X-Ms-Lease-State: - available X-Ms-Lease-Status: - unlocked X-Ms-Request-Id: - - 37813fcb-e01e-00b7-57a5-15d5a7000000 + - 41952bde-501e-0012-4eec-11e43d000000 X-Ms-Server-Encrypted: - "true" X-Ms-Version: @@ -147,16 +143,14 @@ interactions: form: {} headers: Authorization: - - SharedKey golangrocksonazure:7yrPjW4hIWbC/BdmJ1AZIg24NvGqIze1UiiMS8TLQco= + - SharedKey golangrocksonazure:sEo5djD3rT76HvoR+v0qw/JOHGu+dkvYJexzNcfZXyc= Content-Length: - "1024" User-Agent: - - Go/go1.12.4 (amd64-windows) azure-storage-go/latest api-version/2018-03-28 + - Go/go1.15.1 (amd64-windows) azure-storage-go/v51.3.0 api-version/2018-03-28 blob - x-ms-blob-type: - - AppendBlob x-ms-date: - - Tue, 28 May 2019 22:35:38 GMT + - Fri, 05 Mar 2021 18:25:44 GMT x-ms-version: - "2018-03-28" url: https://golangrocksonazure.blob.core.windows.net/cnt-46storageblobsuitetestputapp/blob/46storageblobsuitetestputappendblobspecialchars?comp=appendblock @@ -169,11 +163,11 @@ interactions: Content-Md5: - 0rZVY1m4cHz874drfCSd/w== Date: - - Tue, 28 May 2019 22:35:37 GMT + - Fri, 05 Mar 2021 18:25:43 GMT Etag: - - '"0x8D6E3BCCEAB8DF1"' + - '"0x8D8E00417248CAF"' Last-Modified: - - Tue, 28 May 2019 22:35:38 GMT + - Fri, 05 Mar 2021 18:25:44 GMT Server: - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 X-Ms-Blob-Append-Offset: @@ -181,7 +175,7 @@ interactions: X-Ms-Blob-Committed-Block-Count: - "1" X-Ms-Request-Id: - - 37813fd6-e01e-00b7-62a5-15d5a7000000 + - 41952bed-501e-0012-5dec-11e43d000000 X-Ms-Request-Server-Encrypted: - "true" X-Ms-Version: @@ -194,14 +188,14 @@ interactions: form: {} headers: Authorization: - - SharedKey golangrocksonazure:sbfUFMYz1TBKBpPkcbKEH/lFpcyqOfJNIWquWvmFgYw= + - SharedKey golangrocksonazure:fbWuFJD/DEWd3xk34mjUp1VcZ2MIlKFjP/MlokAWhXM= Range: - bytes=0-1023 User-Agent: - - Go/go1.12.4 (amd64-windows) azure-storage-go/latest api-version/2018-03-28 + - Go/go1.15.1 (amd64-windows) azure-storage-go/v51.3.0 api-version/2018-03-28 blob x-ms-date: - - Tue, 28 May 2019 22:35:38 GMT + - Fri, 05 Mar 2021 18:25:44 GMT x-ms-version: - "2018-03-28" url: https://golangrocksonazure.blob.core.windows.net/cnt-46storageblobsuitetestputapp/blob/46storageblobsuitetestputappendblobspecialchars @@ -230,11 +224,11 @@ interactions: Content-Type: - application/octet-stream Date: - - Tue, 28 May 2019 22:35:37 GMT + - Fri, 05 Mar 2021 18:25:43 GMT Etag: - - '"0x8D6E3BCCEAB8DF1"' + - '"0x8D8E00417248CAF"' Last-Modified: - - Tue, 28 May 2019 22:35:38 GMT + - Fri, 05 Mar 2021 18:25:44 GMT Server: - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 X-Ms-Blob-Committed-Block-Count: @@ -242,13 +236,13 @@ interactions: X-Ms-Blob-Type: - AppendBlob X-Ms-Creation-Time: - - Tue, 28 May 2019 22:35:38 GMT + - Fri, 05 Mar 2021 18:25:44 GMT X-Ms-Lease-State: - available X-Ms-Lease-Status: - unlocked X-Ms-Request-Id: - - 37813fe4-e01e-00b7-6ca5-15d5a7000000 + - 41952c2b-501e-0012-14ec-11e43d000000 X-Ms-Server-Encrypted: - "true" X-Ms-Version: @@ -267,16 +261,14 @@ interactions: form: {} headers: Authorization: - - SharedKey golangrocksonazure:4UWppLEKVmO42EggMov0DejsV/qgc/YA00eXV/2GsJE= + - SharedKey golangrocksonazure:3OqnM4u50HJpKmxPNLgmkCzDgLwstzUB3F1oPpi9Akg= Content-Length: - "512" User-Agent: - - Go/go1.12.4 (amd64-windows) azure-storage-go/latest api-version/2018-03-28 + - Go/go1.15.1 (amd64-windows) azure-storage-go/v51.3.0 api-version/2018-03-28 blob - x-ms-blob-type: - - AppendBlob x-ms-date: - - Tue, 28 May 2019 22:35:38 GMT + - Fri, 05 Mar 2021 18:25:44 GMT x-ms-version: - "2018-03-28" url: https://golangrocksonazure.blob.core.windows.net/cnt-46storageblobsuitetestputapp/blob/46storageblobsuitetestputappendblobspecialchars?comp=appendblock @@ -289,11 +281,11 @@ interactions: Content-Md5: - 2Xr7q2sERdQmQ41hZ7sPvQ== Date: - - Tue, 28 May 2019 22:35:37 GMT + - Fri, 05 Mar 2021 18:25:44 GMT Etag: - - '"0x8D6E3BCCEAEC2D5"' + - '"0x8D8E00417350A67"' Last-Modified: - - Tue, 28 May 2019 22:35:38 GMT + - Fri, 05 Mar 2021 18:25:44 GMT Server: - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 X-Ms-Blob-Append-Offset: @@ -301,7 +293,7 @@ interactions: X-Ms-Blob-Committed-Block-Count: - "2" X-Ms-Request-Id: - - 37813ff5-e01e-00b7-7da5-15d5a7000000 + - 41952c40-501e-0012-29ec-11e43d000000 X-Ms-Request-Server-Encrypted: - "true" X-Ms-Version: @@ -314,14 +306,14 @@ interactions: form: {} headers: Authorization: - - SharedKey golangrocksonazure:+JsFKQmXynoNAqlrBQizjh3gGeTAWBwddQBqsfHeRL4= + - SharedKey golangrocksonazure:OPIkWMO9J4GIV2htzmCCjeHPrLjyPMv3BVdYizqM6GY= Range: - bytes=0-1535 User-Agent: - - Go/go1.12.4 (amd64-windows) azure-storage-go/latest api-version/2018-03-28 + - Go/go1.15.1 (amd64-windows) azure-storage-go/v51.3.0 api-version/2018-03-28 blob x-ms-date: - - Tue, 28 May 2019 22:35:38 GMT + - Fri, 05 Mar 2021 18:25:44 GMT x-ms-version: - "2018-03-28" url: https://golangrocksonazure.blob.core.windows.net/cnt-46storageblobsuitetestputapp/blob/46storageblobsuitetestputappendblobspecialchars @@ -357,11 +349,11 @@ interactions: Content-Type: - application/octet-stream Date: - - Tue, 28 May 2019 22:35:37 GMT + - Fri, 05 Mar 2021 18:25:44 GMT Etag: - - '"0x8D6E3BCCEAEC2D5"' + - '"0x8D8E00417350A67"' Last-Modified: - - Tue, 28 May 2019 22:35:38 GMT + - Fri, 05 Mar 2021 18:25:44 GMT Server: - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 X-Ms-Blob-Committed-Block-Count: @@ -369,13 +361,13 @@ interactions: X-Ms-Blob-Type: - AppendBlob X-Ms-Creation-Time: - - Tue, 28 May 2019 22:35:38 GMT + - Fri, 05 Mar 2021 18:25:44 GMT X-Ms-Lease-State: - available X-Ms-Lease-Status: - unlocked X-Ms-Request-Id: - - 37814006-e01e-00b7-0da5-15d5a7000000 + - 41952c88-501e-0012-70ec-11e43d000000 X-Ms-Server-Encrypted: - "true" X-Ms-Version: @@ -388,12 +380,12 @@ interactions: form: {} headers: Authorization: - - SharedKey golangrocksonazure:r5FYGK+WtgxFA27WEQhzXojsQakSH0A0ZiKLpRJyvOs= + - SharedKey golangrocksonazure:9JdxjmmHNSjxgC6dXbBnl99+jsYYptVB53iygnBo7a8= User-Agent: - - Go/go1.12.4 (amd64-windows) azure-storage-go/latest api-version/2018-03-28 + - Go/go1.15.1 (amd64-windows) azure-storage-go/v51.3.0 api-version/2018-03-28 blob x-ms-date: - - Tue, 28 May 2019 22:35:38 GMT + - Fri, 05 Mar 2021 18:25:44 GMT x-ms-version: - "2018-03-28" url: https://golangrocksonazure.blob.core.windows.net/cnt-46storageblobsuitetestputapp?restype=container @@ -404,11 +396,11 @@ interactions: Content-Length: - "0" Date: - - Tue, 28 May 2019 22:35:37 GMT + - Fri, 05 Mar 2021 18:25:44 GMT Server: - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 X-Ms-Request-Id: - - 3781401f-e01e-00b7-23a5-15d5a7000000 + - 41952ca4-501e-0012-0cec-11e43d000000 X-Ms-Version: - "2018-03-28" status: 202 Accepted