From c3f8b22047a8fc97aa60d26b9cc19c6d0f11d00d Mon Sep 17 00:00:00 2001 From: Patrick Seafield <35144485+patrick-seafield@users.noreply.github.com> Date: Fri, 17 Aug 2018 05:06:07 -0700 Subject: [PATCH 01/18] Change queryTable doc to use result.entries This threw me for a loop for about 30 minutes. The documentation says result.entitites will contain the entities returned from the query, but the code (line 849) uses result.entries. http://azure.github.io/azure-storage-node/TableService.html#queryEntities It might make more sense for everything to be entities, but unless both entities and entries are in the object, that would be a breaking change. --- lib/services/table/tableservice.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/services/table/tableservice.js b/lib/services/table/tableservice.js index 4b58d481..82d566cb 100644 --- a/lib/services/table/tableservice.js +++ b/lib/services/table/tableservice.js @@ -748,7 +748,7 @@ TableService.prototype.deleteTableIfExists = function (table, optionsOrCallback, * @param {TableService~propertyResolver} [options.propertyResolver] The property resolver. Given the partition key, row key, property name, property value, * and the property Edm type if given by the service, returns the Edm type of the property. * @param {TableService~queryResponse} callback `error` will contain information if an error occurs; -* otherwise `entities` will contain the entities returned by the query. +* otherwise `entries` will contain the entities returned by the query. * If more matching entities exist, and could not be returned, * `queryResultContinuation` will contain a continuation token that can be used * to retrieve the next set of results. @@ -794,7 +794,7 @@ TableService.prototype.deleteTableIfExists = function (table, optionsOrCallback, * // returns all entities in tasktable, and a continuation token for the next page of results if necessary * tableService.queryEntities('tasktable', null, null \/*currentToken*\/, function(error, result) { * if(!error) { -* var entities = result.entities; +* var entities = result.entries; * // do stuff with the returned entities if there are any * } * }); @@ -803,7 +803,7 @@ TableService.prototype.deleteTableIfExists = function (table, optionsOrCallback, * var tableQuery = new TableQuery().select('field1', 'field2'); * tableService.queryEntities('tasktable', tableQuery, null \/*currentToken*\/, function(error, result) { * if(!error) { -* var entities = result.entities; +* var entities = result.entries; * // do stuff with the returned entities if there are any * } * }); @@ -1384,10 +1384,10 @@ TableService.prototype.getUrl = function (table, sasToken, primary) { * Returns entities matched by a query. * @callback TableService~queryResponse * @param {object} error If an error occurs, the error information. -* @param {object} entities The entities returned by the query. +* @param {object} entries The entities returned by the query. * @param {object} queryResultContinuation If more matching entities exist, and could not be returned, * a continuation token that can be used to retrieve more results. * @param {object} response Information related to this operation. */ -module.exports = TableService; \ No newline at end of file +module.exports = TableService; From 947b5a0a3eed61dd666510256385116511303886 Mon Sep 17 00:00:00 2001 From: Tanaschuk Date: Fri, 17 Aug 2018 15:39:37 +0200 Subject: [PATCH 02/18] Add missing declarations to ts --- typings/azure-storage/azure-storage.d.ts | 89 ++++++++++++++++++++++++ 1 file changed, 89 insertions(+) diff --git a/typings/azure-storage/azure-storage.d.ts b/typings/azure-storage/azure-storage.d.ts index 6b9a5ca1..7b7108e5 100644 --- a/typings/azure-storage/azure-storage.d.ts +++ b/typings/azure-storage/azure-storage.d.ts @@ -662,6 +662,84 @@ declare module azurestorage { * `response` will contain information related to this operation. */ deleteContainerIfExists(container: string, options: BlobService.ContainerOptions, callback: ErrorOrResult): void; + + /** + * Lists a segment containing a collection of blob directory items in the container. + * + * @this {BlobService} + * @param {string} container The container name. + * @param {Object} currentToken A continuation token returned by a previous listing operation. Please use 'null' or 'undefined' if this is the first operation. + * @param {errorOrResult} callback `error` will contain information + * if an error occurs; otherwise `result` will contain `entries` and `continuationToken`. + * `entries` gives a list of `[directories]{@link DirectoryResult}` and the `continuationToken` is used for the next listing operation. + * `response` will contain information related to this operation. + */ + listBlobDirectoriesSegmented(container: string, currentToken: common.ContinuationToken, callback: ErrorOrResult): void; + + /** + * Lists a segment containing a collection of blob directory items in the container. + * + * @this {BlobService} + * @param {string} container The container name. + * @param {object} currentToken A continuation token returned by a previous listing operation. Please use 'null' or 'undefined' if this is the first operation. + * @param {object} [options] The request options. + * @param {int} [options.maxResults] Specifies the maximum number of directories to return per call to Azure ServiceClient. This does NOT affect list size returned by this function. (maximum: 5000) + * @param {LocationMode} [options.locationMode] Specifies the location mode used to decide which location the request should be sent to. + * Please see StorageUtilities.LocationMode for the possible values. + * @param {int} [options.timeoutIntervalInMs] The server timeout interval, in milliseconds, to use for the request. + * @param {int} [options.clientRequestTimeoutInMs] The timeout of client requests, in milliseconds, to use for the request. + * @param {int} [options.maximumExecutionTimeInMs] The maximum execution time, in milliseconds, across all potential retries, to use when making this request. + * The maximum execution time interval begins at the time that the client begins building the request. The maximum + * execution time is checked intermittently while performing requests, and before executing retries. + * @param {string} [options.clientRequestId] A string that represents the client request ID with a 1KB character limit. + * @param {bool} [options.useNagleAlgorithm] Determines whether the Nagle algorithm is used; true to use the Nagle algorithm; otherwise, false. + * The default value is false. + * @param {errorOrResult} callback `error` will contain information + * if an error occurs; otherwise `result` will contain `entries` and `continuationToken`. + * `entries` gives a list of `[directories]{@link DirectoryResult}` and the `continuationToken` is used for the next listing operation. + * `response` will contain information related to this operation. + */ + listBlobDirectoriesSegmented(container: string, currentToken: common.ContinuationToken, options: BlobService.ListBlobPrefixesSegmentedRequestOptions, callback: ErrorOrResult): void; + + /** + * Lists a segment containing a collection of blob items whose names begin with the specified prefix in the container. + * + * @this {BlobService} + * @param {string} container The container name. + * @param {string} prefix The prefix of the blob name. + * @param {Object} currentToken A continuation token returned by a previous listing operation. Please use 'null' or 'undefined' if this is the first operation. + * @param {errorOrResult} callback `error` will contain information + * if an error occurs; otherwise `result` will contain `entries` and `continuationToken`. + * `entries` gives a list of `[directories]{@link BlobResult}` and the `continuationToken` is used for the next listing operation. + * `response` will contain information related to this operation. + */ + listBlobDirectoriesSegmentedWithPrefix(container: string, prefix: string, currentToken: common.ContinuationToken, callback: ErrorOrResult): void; + + /** + * Lists a segment containing a collection of blob directory items in the container. + * + * @this {BlobService} + * @param {string} container The container name. + * @param {string} prefix The prefix of the blob directory. + * @param {object} currentToken A continuation token returned by a previous listing operation. Please use 'null' or 'undefined' if this is the first operation. + * @param {object} [options] The request options. + * @param {int} [options.maxResults] Specifies the maximum number of directories to return per call to Azure ServiceClient. This does NOT affect list size returned by this function. (maximum: 5000) + * @param {LocationMode} [options.locationMode] Specifies the location mode used to decide which location the request should be sent to. + * Please see StorageUtilities.LocationMode for the possible values. + * @param {int} [options.timeoutIntervalInMs] The server timeout interval, in milliseconds, to use for the request. + * @param {int} [options.clientRequestTimeoutInMs] The timeout of client requests, in milliseconds, to use for the request. + * @param {int} [options.maximumExecutionTimeInMs] The maximum execution time, in milliseconds, across all potential retries, to use when making this request. + * The maximum execution time interval begins at the time that the client begins building the request. The maximum + * execution time is checked intermittently while performing requests, and before executing retries. + * @param {string} [options.clientRequestId] A string that represents the client request ID with a 1KB character limit. + * @param {bool} [options.useNagleAlgorithm] Determines whether the Nagle algorithm is used; true to use the Nagle algorithm; otherwise, false. + * The default value is false. + * @param {errorOrResult} callback `error` will contain information + * if an error occurs; otherwise `result` will contain `entries` and `continuationToken`. + * `entries` gives a list of `[directories]{@link BlobResult}` and the `continuationToken` is used for the next listing operation. + * `response` will contain information related to this operation. + */ + listBlobDirectoriesSegmentedWithPrefix(container: string, prefix: string, currentToken: common.ContinuationToken, options: BlobService.ListBlobPrefixesSegmentedRequestOptions, callback: ErrorOrResult): void; /** * Lists a segment containing a collection of blob items in the container. @@ -2952,6 +3030,8 @@ declare module azurestorage { include?: string; } + export interface ListBlobPrefixesSegmentedRequestOptions extends ListBlobsSegmentedRequestOptions {} + export interface LeaseResult { container: string; blob: string; @@ -2966,6 +3046,11 @@ declare module azurestorage { continuationToken?: common.ContinuationToken; } + export interface ListBlobPrefixesResult { + entries: BlobPrefixResult[]; + continuationToken?: common.ContinuationToken; + } + export interface ContainerAclResult extends ContainerResult { signedIdentifiers: {[key:string]: common.AccessPolicy} } @@ -2993,6 +3078,10 @@ declare module azurestorage { entries: ContainerResult[]; } + export interface BlobPrefixResult { + name: string; + } + export interface BlobResult { name: string; snapshot?: string; From 32a8aaa47b835576b49942d688824337dd26cf85 Mon Sep 17 00:00:00 2001 From: Xiaoning Liu Date: Tue, 11 Sep 2018 17:39:05 +0800 Subject: [PATCH 03/18] Added JSv10 link; Added docs.microsoft.com link; Removed slack channel link --- README.md | 17 ++++++++++++----- browser/README.md | 2 -- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 9f52ead3..9aa2d887 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,19 @@ # Microsoft Azure Storage SDK for Node.js and JavaScript for Browsers -[![NPM version](https://badge.fury.io/js/azure-storage.svg)](http://badge.fury.io/js/azure-storage) [![Slack](https://azurestorageslack.azurewebsites.net/badge.svg)]( https://azurestorageslack.azurewebsites.net) +[![NPM version](https://badge.fury.io/js/azure-storage.svg)](http://badge.fury.io/js/azure-storage) * Master [![Build Status](https://travis-ci.org/Azure/azure-storage-node.svg?branch=master)](https://travis-ci.org/Azure/azure-storage-node/branches) [![Coverage Status](https://coveralls.io/repos/Azure/azure-storage-node/badge.svg?branch=master&service=github)](https://coveralls.io/github/Azure/azure-storage-node?branch=master) * Dev [![Build Status](https://travis-ci.org/Azure/azure-storage-node.svg?branch=dev)](https://travis-ci.org/Azure/azure-storage-node/branches) [![Coverage Status](https://coveralls.io/repos/Azure/azure-storage-node/badge.svg?branch=dev&service=github)](https://coveralls.io/github/Azure/azure-storage-node?branch=dev) This project provides a Node.js package and a browser compatible [JavaScript Client Library](https://github.com/Azure/azure-storage-node#azure-storage-javascript-client-library-for-browsers) that makes it easy to consume and manage Microsoft Azure Storage Services. -> If you are looking for the Node.js SDK for other Azure services, visit [https://github.com/Azure/azure-sdk-for-node](https://github.com/Azure/azure-sdk-for-node). +> This README page is a reference to the SDK v2. For the new SDK v10, go to [Storage SDK v10 for JavaScript (Preview)](https://github.com/Azure/azure-storage-js). + +| SDK Name | Version | Description | NPM/API Reference Links | +|------------------------------------------------------------------------------------------|-------------|------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------| +| [Storage SDK v10 for JavaScript](https://github.com/Azure/azure-storage-js) | v10-Preview | The next generation async Storage SDK (Blob only, async and promise support) | [NPM](https://www.npmjs.com/package/@azure/storage-blob) | +| [Storage SDK v2 for JavaScript](https://github.com/Azure/azure-storage-node) | v2 | Legacy Storage SDK in this repository (Blob/Queue/File/Table, callback style) | [NPM](https://www.npmjs.com/package/azure-storage) - [Reference](https://docs.microsoft.com/en-us/javascript/api/azure-storage/?view=azure-node-latest) | +| [Azure Management SDKs for JavaScript](https://github.com/Azure/azure-sdk-for-node) | v2 | Management SDKs including Storage Resource Provider APIs | [NPM](https://www.npmjs.com/package/azure) - [Reference](https://github.com/Azure/azure-sdk-for-node#documentation) | # Features @@ -29,7 +35,10 @@ This project provides a Node.js package and a browser compatible [JavaScript Cli - Get Service Properties - Set Service Properties -Please check details on [API reference documents](http://azure.github.io/azure-storage-node). +Please check details on API reference documents: + +* [Microsoft official API document on docs.microsoft.com](https://docs.microsoft.com/en-us/javascript/api/azure-storage/?view=azure-node-latest) +* [Generated API references on GitHub pages](http://azure.github.io/azure-storage-node) # Getting Started @@ -511,8 +520,6 @@ On Linux, please use `export` other than `set` to set the variables. # Azure Storage JavaScript Client Library for Browsers -* Questions and feedback are welcome in our [Slack channel](https://azurestorageslack.azurewebsites.net). - Azure Storage Node.js Client Library is compatible with [Browserify](http://browserify.org/). This means you can bundle your Node.js application which depends on the Node.js Client Library using Browserify. You can also choose to download the JavaScript Client Library provided by us, or generate the library by yourself. Please refer to the [README.md](https://github.com/Azure/azure-storage-node/blob/master/browser/README.md) under `browser` folder for detailed usage guidelines. diff --git a/browser/README.md b/browser/README.md index b7066011..92f7ff28 100644 --- a/browser/README.md +++ b/browser/README.md @@ -1,7 +1,5 @@ # Azure Storage JavaScript Client Library for Browsers -* Join the community discussion on Slack! [![Slack](https://azurestorageslack.azurewebsites.net/badge.svg)]( https://azurestorageslack.azurewebsites.net) - ## Downloading It's recommended to use the Azure Storage JavaScript Client Library provided by us. Please [download the latest library](https://aka.ms/downloadazurestoragejs). From e57e3e15162877f8e8170fed4a0c6ef3a0a6d9be Mon Sep 17 00:00:00 2001 From: Alex Otten Date: Fri, 28 Sep 2018 15:18:07 -0400 Subject: [PATCH 04/18] Fixed typo Per stream. :) --- CONTRIBUTING.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index e5ed6684..25086670 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -2,7 +2,7 @@ If you would like to become an active contributor to this project please follow the instructions provided in [Microsoft Azure Projects Contribution Guidelines](https://azure.github.io/guidelines/). -Look at issues in the repository labeled 'good first issue' to choose what'd you liked to jump into! +Look at issues in the repository labeled 'good first issue' to choose what you would like to jump into! ## Project Steup The Azure Storage development team uses Visual Studio Code so instructions will be tailored to that preference. However, any preferred IDE or other toolset should be usable. @@ -80,4 +80,4 @@ We strive to release each new feature for each of our environments at the same t ### Review Process We expect all guidelines to be met before accepting a pull request. As such, we will work with you to address issues we find by leaving comments in your code. Please understand that it may take a few iterations before the code is accepted as we maintain high standards on code quality. Once we feel comfortable with a contribution, we will validate the change and accept the pull request. -Thank you for any contributions! Please let the team know if you have any questions or concerns about our contribution policy. \ No newline at end of file +Thank you for any contributions! Please let the team know if you have any questions or concerns about our contribution policy. From 7e16451a48431e16b3f0103f7e4b578e1fae7fe3 Mon Sep 17 00:00:00 2001 From: Jarru8 Date: Fri, 28 Sep 2018 22:19:25 +0300 Subject: [PATCH 05/18] Fixed the heading Project Setup --- CONTRIBUTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 25086670..bd68e452 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -4,7 +4,7 @@ If you would like to become an active contributor to this project please follow Look at issues in the repository labeled 'good first issue' to choose what you would like to jump into! -## Project Steup +## Project Setup The Azure Storage development team uses Visual Studio Code so instructions will be tailored to that preference. However, any preferred IDE or other toolset should be usable. ### Install From 327dbaca89dd80e1eeda03004158b2e6ad715452 Mon Sep 17 00:00:00 2001 From: Fares Rihani Date: Fri, 28 Sep 2018 15:24:15 -0400 Subject: [PATCH 06/18] Update BreakingChanges.md Minor spelling correction. --- BreakingChanges.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BreakingChanges.md b/BreakingChanges.md index 3f90681e..eaa4b422 100644 --- a/BreakingChanges.md +++ b/BreakingChanges.md @@ -4,7 +4,7 @@ ALL * Fixed the issue that retry filter will continuously retry for client error like `ETIMEDOUT`. BLOB -* When specifiying access condition `If-None-Match: *` for read, it will always fail. +* When specifying access condition `If-None-Match: *` for read, it will always fail. QUEUE * `createMessage` callback has been changed from `errorOrResponse` to `errorOrResult` which contains `messageId`, `popReceipt`, `timeNextVisible`, `insertionTime` and `expirationTime`. It can be passed to `updateMessage` and `deleteMessage` APIs. From 3dd857b90559806601722bf332ac29ca94c21f9b Mon Sep 17 00:00:00 2001 From: anchepiece Date: Fri, 28 Sep 2018 15:36:41 -0400 Subject: [PATCH 07/18] Fix spelling in README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9aa2d887..c8d4cbcf 100644 --- a/README.md +++ b/README.md @@ -190,7 +190,7 @@ tableService.retrieveEntity('mytable', 'part2', 'row1', function(error, result, }); ``` -The method **replaceEntity** or **insertOrReplaceEntity** can be called to update/edit an existing entry. In the following example we asssume that an entity `'part2', 'row1'` with a field `'taskDone'` set to `false` already exists. +The method **replaceEntity** or **insertOrReplaceEntity** can be called to update/edit an existing entry. In the following example we assume that an entity `'part2', 'row1'` with a field `'taskDone'` set to `false` already exists. ```Javascript var azure = require('azure-storage'); @@ -465,7 +465,7 @@ By default, no retry will be performed with service instances newly created by A Two pre-written retry polices [ExponentialRetryPolicyFilter](http://azure.github.io/azure-storage-node/ExponentialRetryPolicyFilter.html) and [LinearRetryPolicyFilter](http://azure.github.io/azure-storage-node/LinearRetryPolicyFilter.html) are available with modifiable settings, and can be used through associating filter. Any custom retry logic may be used by customizing RetryPolicyFilter instance. -For how to use pre-writtern retry policies and how to define customized retry policy, please refer to **retrypolicysample** in samples directory. +For how to use pre-written retry policies and how to define customized retry policy, please refer to **retrypolicysample** in samples directory. ## Code Samples From fd1e65668076ec967f77e1d14ce937b5344f38b9 Mon Sep 17 00:00:00 2001 From: Suz Hinton Date: Fri, 28 Sep 2018 13:28:13 -0700 Subject: [PATCH 08/18] Remove deprecated Buffer constructor calls Replace with static methods `Buffer.from` and `Buffer.alloc` --- ChangeLog.md | 6 ++ lib/common/services/storageserviceclient.js | 4 +- lib/common/streams/chunkallocator.js | 4 +- lib/common/streams/chunkstream.js | 4 +- lib/common/streams/filereadstream.js | 2 +- lib/common/util/util.js | 6 +- lib/services/blob/blobservice.core.js | 4 +- lib/services/blob/models/blocklistresult.js | 10 +-- lib/services/queue/queuemessageencoder.js | 6 +- lib/services/table/internal/edmhandler.js | 2 +- lib/services/table/internal/odatahandler.js | 2 +- lib/services/table/tablequery.js | 2 +- test/accountsas-tests.js | 2 +- .../exponentialretrypolicyfilter-tests.js | 2 +- test/services/blob/blobservice-tests.js | 6 +- .../blobservice-uploaddownload-scale-tests.js | 4 +- .../blob/blobservice-uploaddownload-tests.js | 86 +++++++++---------- test/services/file/fileservice-scale-tests.js | 4 +- .../file/fileservice-uploaddownload-tests.js | 34 ++++---- test/services/queue/queueservice-tests.js | 8 +- test/services/table/tablebatch-tests.js | 2 +- test/services/table/tabledatatype-tests.js | 2 +- test/services/table/tablepayload-tests.js | 6 +- test/services/table/tableservice-tests.js | 2 +- typings/azure-storage/azure-storage.d.ts | 2 +- 25 files changed, 109 insertions(+), 103 deletions(-) diff --git a/ChangeLog.md b/ChangeLog.md index c36b4666..a09b983e 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -1,6 +1,12 @@ Note: This is an Azure Storage only package. The all up Azure node sdk still has the old storage bits in there. In a future release, those storage bits will be removed and an npm dependency to this storage node sdk will be taken. This is a GA release and the changes described below indicate the changes from the Azure node SDK 0.9.8 available here - https://github.com/Azure/azure-sdk-for-node. +2018.09 Version 2.10.2 + +ALL +* Removed deprecated Buffer constructor calls in favor of static methods `Buffer.from` and `Buffer.alloc` + + 2018.08 Version 2.10.1 ALL diff --git a/lib/common/services/storageserviceclient.js b/lib/common/services/storageserviceclient.js index 1dc6c1a3..d2711ebc 100644 --- a/lib/common/services/storageserviceclient.js +++ b/lib/common/services/storageserviceclient.js @@ -356,7 +356,7 @@ StorageServiceClient.prototype._performRequest = function (webResource, body, op var errorMessageBuffer; var index = 0; if (contentLength !== undefined) { - errorMessageBuffer = new Buffer(contentLength); + errorMessageBuffer = Buffer.alloc(contentLength); } requestStream.on('data', function (data) { @@ -478,7 +478,7 @@ StorageServiceClient.prototype._performRequest = function (webResource, body, op finalRequestOptions.headers['content-length'] : Constants.BlobConstants.MAX_SINGLE_UPLOAD_BLOB_SIZE_IN_BYTES; - var concatBuf = new Buffer(size); + var concatBuf = Buffer.alloc(parseInt(size)); var index = 0; body.outputStream.on('data', function (d) { diff --git a/lib/common/streams/chunkallocator.js b/lib/common/streams/chunkallocator.js index 1d5e2b48..da31ddfb 100644 --- a/lib/common/streams/chunkallocator.js +++ b/lib/common/streams/chunkallocator.js @@ -42,7 +42,7 @@ ChunkAllocator.prototype.getBuffer = function(size) { if (buffer === null) { // Either the total memory is larger than this._chunkSize * this._maxCount // Or, the size does not match the chunk size of the pool - buffer = new Buffer(size); + buffer = Buffer.alloc(size); } this._inuse++; @@ -86,7 +86,7 @@ ChunkAllocator.prototype._extendMemoryPool = function() { // Add more buffers. var increment = nextSize - total; for(var i = 0; i < increment; i++) { - var buffer = new Buffer(this._chunkSize); + var buffer = Buffer.alloc(this._chunkSize); this._pool.push(buffer); } }; diff --git a/lib/common/streams/chunkstream.js b/lib/common/streams/chunkstream.js index 3475aa3f..d0895c35 100644 --- a/lib/common/streams/chunkstream.js +++ b/lib/common/streams/chunkstream.js @@ -148,7 +148,7 @@ ChunkStream.prototype.write = function (chunk, encoding) { */ ChunkStream.prototype._buildChunk = function (data) { if (typeof data == 'string') { - data = new Buffer(data); + data = Buffer.from(data); } var dataSize = data.length; var dataOffset = 0; @@ -276,7 +276,7 @@ ChunkStream.prototype._allocateNewBuffer = function() { if(this._allocator && azureutil.objectIsFunction(this._allocator.getBuffer)) { return this._allocator.getBuffer(size); } else { - var buffer = new Buffer(size); + var buffer = Buffer.alloc(size); return buffer; } }; diff --git a/lib/common/streams/filereadstream.js b/lib/common/streams/filereadstream.js index 8c4a5242..1638b4cf 100644 --- a/lib/common/streams/filereadstream.js +++ b/lib/common/streams/filereadstream.js @@ -105,7 +105,7 @@ FileReadStream.prototype._getBuffer = function(size) { if(this._allocator && this._allocator.getBuffer) { return this._allocator.getBuffer(size); } else { - var buffer = new Buffer(size); + var buffer = Buffer.alloc(size); return buffer; } }; diff --git a/lib/common/util/util.js b/lib/common/util/util.js index dddc47f2..f2a2dad3 100644 --- a/lib/common/util/util.js +++ b/lib/common/util/util.js @@ -388,7 +388,7 @@ exports.getNodeVersion = function () { * @ignore */ exports.calculateMD5 = function(readStream, bufferLength, options, callback) { - var internalBuff = new Buffer(bufferLength); + var internalBuff = Buffer.alloc(bufferLength); var index = 0; var internalHash = new Md5Wrapper().createMd5Hash(); readStream.on('data', function(data) { @@ -441,12 +441,12 @@ exports.writeZerosToStream = function (stream, length, md5Hash, progressCallback var buffer = null; if (bufferSize == defaultBufferSize) { if (!zeroBuffer) { - zeroBuffer = new Buffer(defaultBufferSize); + zeroBuffer = Buffer.alloc(defaultBufferSize); zeroBuffer.fill(0); } buffer = zeroBuffer; } else { - buffer = new Buffer(bufferSize); + buffer = Buffer.alloc(bufferSize); buffer.fill(0); } if (md5Hash) { diff --git a/lib/services/blob/blobservice.core.js b/lib/services/blob/blobservice.core.js index 37dc0be8..2994dfa2 100644 --- a/lib/services/blob/blobservice.core.js +++ b/lib/services/blob/blobservice.core.js @@ -3402,7 +3402,7 @@ BlobService.prototype.createBlockFromURL = function (blockId, container, blob, s var webResource = WebResource.put(resourceName) .withQueryOption(QueryStringConstants.COMP, 'block') - .withQueryOption(QueryStringConstants.BLOCK_ID, new Buffer(blockId).toString('base64')) + .withQueryOption(QueryStringConstants.BLOCK_ID, Buffer.from(blockId).toString('base64')) .withHeader(HeaderConstants.COPY_SOURCE, sourceURL); options.sourceRangeStart = sourceRangeStart; @@ -3457,7 +3457,7 @@ BlobService.prototype._createBlock = function (blockId, container, blob, content var startCreateBlock = function () { var webResource = WebResource.put(resourceName) .withQueryOption(QueryStringConstants.COMP, 'block') - .withQueryOption(QueryStringConstants.BLOCK_ID, new Buffer(blockId).toString('base64')) + .withQueryOption(QueryStringConstants.BLOCK_ID, Buffer.from(blockId).toString('base64')) .withHeader(HeaderConstants.CONTENT_LENGTH, length); BlobResult.setHeadersFromBlob(webResource, options); diff --git a/lib/services/blob/models/blocklistresult.js b/lib/services/blob/models/blocklistresult.js index 54f7b822..d5ea61a3 100644 --- a/lib/services/blob/models/blocklistresult.js +++ b/lib/services/blob/models/blocklistresult.js @@ -34,7 +34,7 @@ exports.serialize = function (blockListJs) { if (_.isArray(blockListJs.LatestBlocks)) { blockListJs.LatestBlocks.forEach(function (block) { blockListDoc = blockListDoc.ele(Constants.BlobConstants.LATEST_ELEMENT) - .txt(new Buffer(block).toString('base64')) + .txt(Buffer.from(block).toString('base64')) .up(); }); } @@ -42,7 +42,7 @@ exports.serialize = function (blockListJs) { if (_.isArray(blockListJs.CommittedBlocks)) { blockListJs.CommittedBlocks.forEach(function (block) { blockListDoc = blockListDoc.ele(Constants.BlobConstants.COMMITTED_ELEMENT) - .txt(new Buffer(block).toString('base64')) + .txt(Buffer.from(block).toString('base64')) .up(); }); } @@ -50,7 +50,7 @@ exports.serialize = function (blockListJs) { if (_.isArray(blockListJs.UncommittedBlocks)) { blockListJs.UncommittedBlocks.forEach(function (block) { blockListDoc = blockListDoc.ele(Constants.BlobConstants.UNCOMMITTED_ELEMENT) - .txt(new Buffer(block).toString('base64')) + .txt(Buffer.from(block).toString('base64')) .up(); }); } @@ -67,7 +67,7 @@ exports.parse = function (blockListXml) { blockListResult.CommittedBlocks = [blockListResult.CommittedBlocks]; } blockListResult.CommittedBlocks.forEach(function(block) { - block.Name = new Buffer(block.Name, 'base64').toString(); + block.Name = Buffer.from(block.Name, 'base64').toString(); }); } @@ -77,7 +77,7 @@ exports.parse = function (blockListXml) { blockListResult.UncommittedBlocks = [blockListResult.UncommittedBlocks]; } blockListResult.UncommittedBlocks.forEach(function(block) { - block.Name = new Buffer(block.Name, 'base64').toString(); + block.Name = Buffer.from(block.Name, 'base64').toString(); }); } diff --git a/lib/services/queue/queuemessageencoder.js b/lib/services/queue/queuemessageencoder.js index c99bd2af..4514bf33 100644 --- a/lib/services/queue/queuemessageencoder.js +++ b/lib/services/queue/queuemessageencoder.js @@ -74,7 +74,7 @@ util.inherits(TextBase64QueueMessageEncoder, QueueMessageEncoder); * @return {string} */ TextBase64QueueMessageEncoder.prototype.encode = function(input){ - return new Buffer(input, 'utf8').toString('base64'); + return Buffer.from(input, 'utf8').toString('base64'); }; /** @@ -86,7 +86,7 @@ TextBase64QueueMessageEncoder.prototype.encode = function(input){ * @return {string} */ TextBase64QueueMessageEncoder.prototype.decode = function(textToDecode){ - return new Buffer(textToDecode, 'base64').toString('utf8'); + return Buffer.from(textToDecode, 'base64').toString('utf8'); }; @@ -126,7 +126,7 @@ BinaryBase64QueueMessageEncoder.prototype.encode = function(input){ * @return {Buffer} */ BinaryBase64QueueMessageEncoder.prototype.decode = function(textToDecode){ - return new Buffer(textToDecode, 'base64'); + return Buffer.from(textToDecode, 'base64'); }; diff --git a/lib/services/table/internal/edmhandler.js b/lib/services/table/internal/edmhandler.js index 47edd4da..7cac37e6 100644 --- a/lib/services/table/internal/edmhandler.js +++ b/lib/services/table/internal/edmhandler.js @@ -65,7 +65,7 @@ exports.deserializeValueFromJson = function (type, value) { if (type) { switch (type) { case EdmType.BINARY: - return new Buffer(value, 'base64'); + return Buffer.from(value, 'base64'); case EdmType.DATETIME: return new Date(value); case EdmType.GUID: diff --git a/lib/services/table/internal/odatahandler.js b/lib/services/table/internal/odatahandler.js index 344b639f..5f6757e5 100644 --- a/lib/services/table/internal/odatahandler.js +++ b/lib/services/table/internal/odatahandler.js @@ -170,7 +170,7 @@ exports.parseJsonSingleEntity = function(rawEntity, autoResolveProperties, prope // make sure etag is set if (!odataMetadata.etag && rawEntityProperties.Timestamp) { - var timestampString = new Buffer(rawEntityProperties.Timestamp).toString(); + var timestampString = Buffer.from(rawEntityProperties.Timestamp).toString(); odataMetadata.etag = 'W/"datetime\'' + timestampString + '\'"'; } diff --git a/lib/services/table/tablequery.js b/lib/services/table/tablequery.js index 9e225eee..df8f8674 100644 --- a/lib/services/table/tablequery.js +++ b/lib/services/table/tablequery.js @@ -210,7 +210,7 @@ TableQuery.guidFilter = function (propertyName, operation, value) { * @param {string|buffer}value A 'buffer' containing the value to compare with the property. * @return {string} A string containing the formatted filter condition. * @example - * var query = TableQuery.binaryFilter('BinaryField', QueryComparisons.EQUAL, new Buffer('hello')); + * var query = TableQuery.binaryFilter('BinaryField', QueryComparisons.EQUAL, Buffer.from('hello')); */ TableQuery.binaryFilter = function (propertyName, operation, value) { return TableQuery._concatFilterString(propertyName, operation, value, EdmType.BINARY); diff --git a/test/accountsas-tests.js b/test/accountsas-tests.js index 61332f22..01938fa0 100644 --- a/test/accountsas-tests.js +++ b/test/accountsas-tests.js @@ -925,7 +925,7 @@ var runFilesPermissionTests = function(sharedAccessPolicy, next){ var fileName = suite.getName("file-"); var localTempFileName = suite.getName('fileservice_test_block'); var fileSize = 100; - var fileBuffer = new Buffer( fileSize ); + var fileBuffer = Buffer.alloc( fileSize ); fileBuffer.fill(1); writeFile(localTempFileName, fileBuffer); diff --git a/test/common/filters/exponentialretrypolicyfilter-tests.js b/test/common/filters/exponentialretrypolicyfilter-tests.js index 888d33fb..f1944c30 100644 --- a/test/common/filters/exponentialretrypolicyfilter-tests.js +++ b/test/common/filters/exponentialretrypolicyfilter-tests.js @@ -181,7 +181,7 @@ describe('exponentialretrypolicyfilter-tests', function () { var fileSize = 100; // Real stream length is smaller than the expected data length to mock the client timeout error to trigger the retry - var fileBuffer = new Buffer( fileSize / 2 ); + var fileBuffer = Buffer.alloc( fileSize / 2 ); fileBuffer.fill(1); fs.writeFileSync(localTempFileName, fileBuffer); diff --git a/test/services/blob/blobservice-tests.js b/test/services/blob/blobservice-tests.js index 62bff772..981a6518 100644 --- a/test/services/blob/blobservice-tests.js +++ b/test/services/blob/blobservice-tests.js @@ -57,7 +57,7 @@ var blobNames = []; var blobNamesPrefix = 'blob'; var fileName = 'blobservice_test.tmp'; -var blob60MBuffer = new Buffer(80 * 1024 * 1024); +var blob60MBuffer = Buffer.alloc(80 * 1024 * 1024); var suite = new TestSuite('blobservice-tests'); var runOrSkip = testutil.itSkipMock(suite.isMocked); @@ -374,7 +374,7 @@ describe('BlobService', function () { it('withBuffer', function (done) { var blobName = testutil.generateId(blobNamesPrefix, blobNames, suite.isMocked); - var blobText = new Buffer('Hello World'); + var blobText = Buffer.from('Hello World'); blobService.createBlockBlobFromText(containerName, blobName, blobText, function (uploadError, blob, uploadResponse) { assert.equal(uploadError, null); @@ -756,7 +756,7 @@ describe('BlobService', function () { var blobName = testutil.generateId(blobNamesPrefix, blobNames, suite.isMocked); var fileNameSource = testutil.generateId('getBlobFile', [], suite.isMocked) + '.test'; - var blobBuffer = new Buffer(1024); + var blobBuffer = Buffer.alloc(1024); blobBuffer.fill(0); blobBuffer[0] = '1'; blobService.createPageBlob(containerName, blobName, 1024, function(createErr) { diff --git a/test/services/blob/blobservice-uploaddownload-scale-tests.js b/test/services/blob/blobservice-uploaddownload-scale-tests.js index 5e3480d3..16f308db 100644 --- a/test/services/blob/blobservice-uploaddownload-scale-tests.js +++ b/test/services/blob/blobservice-uploaddownload-scale-tests.js @@ -197,7 +197,7 @@ describe('BlobServiceUploadDownloadScale', function () { function generateTempFile(fileName, size, callback) { var blockSize = 4 * 1024 * 1024; if(!internalBuffer) { - internalBuffer = new Buffer(blockSize); + internalBuffer = Buffer.alloc(blockSize); } var md5hash = crypto.createHash('md5'); var fileInfo = {name: fileName, contentMD5: '', size: size}; @@ -210,7 +210,7 @@ describe('BlobServiceUploadDownloadScale', function () { content = internalBuffer; size -= blockSize; } else { - content = new Buffer(size); + content = Buffer.alloc(size); size = 0; } if (content.length) { diff --git a/test/services/blob/blobservice-uploaddownload-tests.js b/test/services/blob/blobservice-uploaddownload-tests.js index ceeab700..c2747ac8 100644 --- a/test/services/blob/blobservice-uploaddownload-tests.js +++ b/test/services/blob/blobservice-uploaddownload-tests.js @@ -63,10 +63,10 @@ var downloadName = 'blobservice_download.tmp'; var fileText = 'Hello World!'; -var pageBlobBuffer = new Buffer(1 * 1024); -var pageBlob2KBuffer = new Buffer(2 * 1024); -var appendBlobBuffer = new Buffer(1 * 1024); -var appendBlob2KBuffer = new Buffer(2 * 1024); +var pageBlobBuffer = Buffer.alloc(1 * 1024); +var pageBlob2KBuffer = Buffer.alloc(2 * 1024); +var appendBlobBuffer = Buffer.alloc(1 * 1024); +var appendBlob2KBuffer = Buffer.alloc(2 * 1024); var pageBlobContentMD5 = ''; var pageBlob2KContentMD5 = ''; @@ -110,7 +110,7 @@ var generateTempFile = function (fileName, size, hasEmptyBlock, callback) { var buffer; if (zero) { - buffer = new Buffer(writeSize); + buffer = Buffer.alloc(writeSize); buffer.fill(0); } else { buffer = crypto.randomBytes(writeSize); @@ -133,7 +133,7 @@ var generateTempFile = function (fileName, size, hasEmptyBlock, callback) { var getFileMD5 = function (fileName, callback) { var md5hash = crypto.createHash('md5'); var blockSize = 4 * 1024 * 1024; - var buffer = new Buffer(blockSize); + var buffer = Buffer.alloc(blockSize); var offset = 0; var bytesRead = 0; var file = fs.openSync(fileName, 'r'); @@ -290,7 +290,7 @@ describe('blob-uploaddownload-tests', function () { skipMockAndBrowser('should be able to upload block blob from piped stream', function (done) { var blobName = testutil.generateId(blobNamesPrefix, blobNames, suite.isMocked); var fileNameTarget = testutil.generateId('uploadBlockBlobPiping', [], suite.isMocked) + '.blocktest'; - var blobBuffer = new Buffer( 6 * 1024 * 1024); + var blobBuffer = Buffer.alloc( 6 * 1024 * 1024); blobBuffer.fill(1); // Write file so that it can be piped @@ -314,7 +314,7 @@ describe('blob-uploaddownload-tests', function () { skipMockAndBrowser('should be able to upload block blob from piped stream with IfNoneMatch:*', function (done) { var blobName = testutil.generateId(blobNamesPrefix, blobNames, suite.isMocked); var fileNameTarget = testutil.generateId('uploadBlockBlobPiping', [], suite.isMocked) + '.blocktest'; - var blobBuffer = new Buffer( 6 * 1024 * 1024); + var blobBuffer = Buffer.alloc( 6 * 1024 * 1024); blobBuffer.fill(1); // Write file so that it can be piped @@ -338,7 +338,7 @@ describe('blob-uploaddownload-tests', function () { skipMockAndBrowser('should be able to upload pageblob from piped stream', function (done) { var blobName = testutil.generateId(blobNamesPrefix, blobNames, suite.isMocked); var fileNameTarget = testutil.generateId('uploadPageBlobPiping', [], suite.isMocked) + '.test'; - var blobBuffer = new Buffer( 5 * 1024 * 1024 ); + var blobBuffer = Buffer.alloc( 5 * 1024 * 1024 ); blobBuffer.fill(1); // Write file so that it can be piped @@ -368,7 +368,7 @@ describe('blob-uploaddownload-tests', function () { var blobName = testutil.generateId(blobNamesPrefix, blobNames, suite.isMocked); var fileNameTarget = testutil.generateId('uploadPageBlobMD5Piping', [], suite.isMocked) + '.test'; var length = 3 * 1024 * 1024; - var blobBuffer = new Buffer(length); + var blobBuffer = Buffer.alloc(length); blobBuffer.fill(1); blobService.createContainer(containerName, function (createError1, container1) { @@ -399,7 +399,7 @@ describe('blob-uploaddownload-tests', function () { var blobName = testutil.generateId(blobNamesPrefix, blobNames, suite.isMocked); var fileNameTarget = testutil.generateId('uploadAppendBlobMD5Piping', [], suite.isMocked) + '.test'; var length = 3 * 1024 * 1024; - var blobBuffer = new Buffer(length); + var blobBuffer = Buffer.alloc(length); blobBuffer.fill(1); // Write file so that it can be piped @@ -440,7 +440,7 @@ describe('blob-uploaddownload-tests', function () { var blobName = testutil.generateId(blobNamesPrefix, blobNames, suite.isMocked); var fileNameTarget = testutil.generateId('uploadPageBlobStreamPiping', [], suite.isMocked) + '.test'; var length = 6 * 1024 * 1024; - var blobBuffer = new Buffer(length); + var blobBuffer = Buffer.alloc(length); blobBuffer.fill(1); // Write file so that it can be piped @@ -465,7 +465,7 @@ describe('blob-uploaddownload-tests', function () { var sourceFileNameTarget = testutil.generateId('getBlobSourceFile', [], suite.isMocked) + '.test'; var destinationFileNameTarget = testutil.generateId('getBlobDestinationFile', [], suite.isMocked) + '.test'; var length = 5 * 1024; - var blobBuffer = new Buffer(length); + var blobBuffer = Buffer.alloc(length); blobBuffer.fill(1); fs.writeFileSync(sourceFileNameTarget, blobBuffer); @@ -498,7 +498,7 @@ describe('blob-uploaddownload-tests', function () { var sourceFileNameTarget = testutil.generateId('getBlobSourceFile', [], suite.isMocked) + '.test'; var destinationFileNameTarget = testutil.generateId('getBlobDestinationFile', [], suite.isMocked) + '.test'; var length = 33 * 1024 * 1024; - var blobBuffer = new Buffer(length); + var blobBuffer = Buffer.alloc(length); blobBuffer.fill(1); fs.writeFileSync(sourceFileNameTarget, blobBuffer); @@ -611,7 +611,7 @@ describe('blob-uploaddownload-tests', function () { var blobName = testutil.generateId(blobNamesPrefix, blobNames, suite.isMocked); var fileNameSource = testutil.generateId('getPageRanges', [], suite.isMocked) + '.test'; - var blobBuffer = new Buffer(512); + var blobBuffer = Buffer.alloc(512); blobBuffer.fill(0); blobBuffer[0] = '1'; @@ -696,12 +696,12 @@ describe('blob-uploaddownload-tests', function () { var fileNameSource = testutil.generateId('getPageRangesDiff', [], suite.isMocked) + '.test'; var fileNameSourceUpdated = testutil.generateId('getPageRangesDiffUpdated', [], suite.isMocked) + '.test'; - var blobBuffer = new Buffer(512); + var blobBuffer = Buffer.alloc(512); blobBuffer.fill(0); blobBuffer[0] = '1'; blobBuffer[1] = '1'; - var blobBufferUpdated = new Buffer(512); + var blobBufferUpdated = Buffer.alloc(512); blobBufferUpdated.fill(0); blobBufferUpdated[0] = '1'; blobBufferUpdated[1] = '1'; @@ -1055,7 +1055,7 @@ describe('blob-uploaddownload-tests', function () { var blobName = testutil.generateId(blobNamesPrefix, blobNames, suite.isMocked); var fileNameSource = testutil.generateId('MD5Validation', [], suite.isMocked) + '.test'; - var blobBuffer = new Buffer(5 * 1024 * 1024); + var blobBuffer = Buffer.alloc(5 * 1024 * 1024); blobBuffer.fill(0); blobBuffer[0] = '1'; @@ -1100,7 +1100,7 @@ describe('blob-uploaddownload-tests', function () { var blobName = testutil.generateId(blobNamesPrefix, blobNames, suite.isMocked); var fileNameSource = testutil.generateId('getBlockBlobFileMD5', [], suite.isMocked) + '.test'; - var blobBuffer = new Buffer(5 * 1024 * 1024); + var blobBuffer = Buffer.alloc(5 * 1024 * 1024); blobBuffer.fill(0); blobBuffer[0] = '1'; @@ -1146,7 +1146,7 @@ describe('blob-uploaddownload-tests', function () { var blobName = testutil.generateId(blobNamesPrefix, blobNames, suite.isMocked); var fileNameSource = testutil.generateId('getPageBlobMD5', [], suite.isMocked) + '.test'; - var blobBuffer = new Buffer(5 * 1024 * 1024); + var blobBuffer = Buffer.alloc(5 * 1024 * 1024); blobBuffer.fill(0); blobBuffer[0] = '1'; @@ -1193,7 +1193,7 @@ describe('blob-uploaddownload-tests', function () { var blobName = testutil.generateId(blobNamesPrefix, blobNames, suite.isMocked); var fileNameSource = testutil.generateId('getBlockBlobRange', [], suite.isMocked) + '.test'; - var blobBuffer = new Buffer(5 * 1024 * 1024); + var blobBuffer = Buffer.alloc(5 * 1024 * 1024); blobBuffer.fill(0); blobBuffer[0] = '1'; @@ -1226,7 +1226,7 @@ describe('blob-uploaddownload-tests', function () { var blobName = testutil.generateId(blobNamesPrefix, blobNames, suite.isMocked); var fileNameSource = testutil.generateId('getPageBlobRange', [], suite.isMocked) + '.test'; - var blobBuffer = new Buffer(5 * 1024 * 1024); + var blobBuffer = Buffer.alloc(5 * 1024 * 1024); blobBuffer.fill(0); blobBuffer[0] = '1'; @@ -1369,7 +1369,7 @@ describe('blob-uploaddownload-tests', function () { var zeroFileContentMD5; before(function (done) { blockBlobContentMD5 = writeFile(blockFileName, fileText); - var zeroBuffer = new Buffer(0); + var zeroBuffer = Buffer.alloc(0); zeroFileContentMD5 = writeFile(zeroSizeFileName, zeroBuffer); done(); }); @@ -1597,7 +1597,7 @@ describe('blob-uploaddownload-tests', function () { before(function (done) { blockBlobContentMD5 = writeFile(blockFileName, fileText); - var zeroBuffer = new Buffer(0); + var zeroBuffer = Buffer.alloc(0); zeroFileContentMD5 = writeFile(zeroSizeFileName, zeroBuffer); done(); }); @@ -1692,8 +1692,8 @@ describe('blob-uploaddownload-tests', function () { storeBlobContentMD5: false, useTransactionalMD5: false }; - var buffer = new Buffer(15 * 1024 * 1024); - var tempBuffer = new Buffer(10); + var buffer = Buffer.alloc(15 * 1024 * 1024); + var tempBuffer = Buffer.alloc(10); var uploadLength = buffer.length + tempBuffer.length; buffer.fill(1); tempBuffer.fill(2); @@ -1748,8 +1748,8 @@ describe('blob-uploaddownload-tests', function () { useTransactionalMD5: true }; var expectedMD5; - var buffer = new Buffer(20 * 1024 * 1024); - var tempBuffer = new Buffer(10); + var buffer = Buffer.alloc(20 * 1024 * 1024); + var tempBuffer = Buffer.alloc(10); var uploadLength = buffer.length * 2 + tempBuffer.length; buffer.fill(1); var internalHash = crypto.createHash('md5'); @@ -1791,7 +1791,7 @@ describe('blob-uploaddownload-tests', function () { parallelOperationThreadCount: 4 }; var expectedMD5; - var buffer = new Buffer(25 * 1024 * 1024); + var buffer = Buffer.alloc(25 * 1024 * 1024); var uploadLength = buffer.length * 3; buffer.fill(1); var internalHash = crypto.createHash('md5'); @@ -1835,7 +1835,7 @@ describe('blob-uploaddownload-tests', function () { pageBlobContentMD5 = writeFile(pageFileName, pageBlobBuffer); pageBlob2KBuffer.fill(1); pageBlob2KContentMD5 = writeFile(page2KFileName, pageBlob2KBuffer); - var zeroBuffer = new Buffer(0); + var zeroBuffer = Buffer.alloc(0); zeroFileContentMD5 = writeFile(zeroSizeFileName, zeroBuffer); done(); }); @@ -2115,8 +2115,8 @@ describe('blob-uploaddownload-tests', function () { storeBlobContentMD5: true, useTransactionalMD5: true }; - var buffer = new Buffer(15 * 1024 * 1024); - var tempBuffer = new Buffer(512); + var buffer = Buffer.alloc(15 * 1024 * 1024); + var tempBuffer = Buffer.alloc(512); var uploadLength = buffer.length + tempBuffer.length; buffer.fill(1); tempBuffer.fill(2); @@ -2156,7 +2156,7 @@ describe('blob-uploaddownload-tests', function () { parallelOperationThreadCount : 4 }; - var buffer = new Buffer(65 * 1024 * 1024); + var buffer = Buffer.alloc(65 * 1024 * 1024); buffer.fill(1); var stream = rfs.createReadStream(pageFileName); @@ -2181,7 +2181,7 @@ describe('blob-uploaddownload-tests', function () { appendBlobContentMD5 = writeFile(appendFileName, appendBlobBuffer); appendBlob2KBuffer.fill(1); appendBlob2KContentMD5 = writeFile(append2KFileName, appendBlob2KBuffer); - var zeroBuffer = new Buffer(0); + var zeroBuffer = Buffer.alloc(0); zeroFileContentMD5 = writeFile(zeroSizeFileName, zeroBuffer); done(); }); @@ -2345,7 +2345,7 @@ describe('blob-uploaddownload-tests', function () { before(function (done) { appendBlobContentMD5 = writeFile(appendFileName, fileText); - var zeroBuffer = new Buffer(0); + var zeroBuffer = Buffer.alloc(0); zeroFileContentMD5 = writeFile(zeroSizeFileName, zeroBuffer); done(); }); @@ -2443,8 +2443,8 @@ describe('blob-uploaddownload-tests', function () { storeBlobContentMD5: true, useTransactionalMD5: true }; - var buffer = new Buffer(15 * 1024 * 1024); - var tempBuffer = new Buffer(512); + var buffer = Buffer.alloc(15 * 1024 * 1024); + var tempBuffer = Buffer.alloc(512); var uploadLength = buffer.length + tempBuffer.length; buffer.fill(1); tempBuffer.fill(2); @@ -2879,7 +2879,7 @@ describe('blob-uploaddownload-tests', function () { it('should download a block blob to a local file in chunks', function (done) { var blobName = testutil.generateId(blobNamesPrefix, blobNames, suite.isMocked); var fileNameSource = testutil.generateId('getBlockBlobRangeStreamLocal', [], suite.isMocked) + '.test'; - var buffer = new Buffer(4 * 1024 * 1024 + 512); // Don't be a multiple of 4MB to cover more scenarios + var buffer = Buffer.alloc(4 * 1024 * 1024 + 512); // Don't be a multiple of 4MB to cover more scenarios var originLimit = blobService.singleBlobPutThresholdInBytes; buffer.fill(0); writeFile(fileNameSource, buffer); @@ -2910,7 +2910,7 @@ describe('blob-uploaddownload-tests', function () { var blobName = testutil.generateId(blobNamesPrefix, blobNames, suite.isMocked); var fileNameSource = testutil.generateId('getBlockBlobRangeStreamLocal', [], suite.isMocked) + '.test'; - var buffer = new Buffer(4 * 1024 * 1024 + 512); // Don't be a multiple of 4MB to cover more scenarios + var buffer = Buffer.alloc(4 * 1024 * 1024 + 512); // Don't be a multiple of 4MB to cover more scenarios var originLimit = blobService.singleBlobPutThresholdInBytes; buffer.fill(0); writeFile(fileNameSource, buffer); @@ -2984,7 +2984,7 @@ describe('blob-uploaddownload-tests', function () { it('should work with basic stream for block blob', function(done) { var blobName = testutil.generateId(blobNamesPrefix, blobNames, suite.isMocked); var fileNameTarget = testutil.generateId('createWriteStreamToBlockBlob', [], suite.isMocked) + '.blocktest'; - var blobBuffer = new Buffer(99); + var blobBuffer = Buffer.alloc(99); blobBuffer.fill(1); // Write file so that it can be piped @@ -3006,7 +3006,7 @@ describe('blob-uploaddownload-tests', function () { var blobName = testutil.generateId(blobNamesPrefix, blobNames, suite.isMocked); var fileNameTarget = testutil.generateId('createWriteStreamToPageBlob', [], suite.isMocked) + '.pagetest'; var length = 99; - var blobBuffer = new Buffer(length); + var blobBuffer = Buffer.alloc(length); blobBuffer.fill('b'); // Write file so that it can be piped fs.writeFileSync(fileNameTarget, blobBuffer); @@ -3024,7 +3024,7 @@ describe('blob-uploaddownload-tests', function () { var blobName = testutil.generateId(blobNamesPrefix, blobNames, suite.isMocked); var fileNameTarget = testutil.generateId('createWriteStreamToPageBlob', [], suite.isMocked) + '.pagetest'; var length = 2 * 1024 * 1024; - var blobBuffer = new Buffer(length); + var blobBuffer = Buffer.alloc(length); blobBuffer.fill('a'); pageBlobContentMD5 = writeFile(fileNameTarget, blobBuffer); var readable = rfs.createReadStream(fileNameTarget); @@ -3044,7 +3044,7 @@ describe('blob-uploaddownload-tests', function () { var blobName = testutil.generateId(blobNamesPrefix, blobNames, suite.isMocked); var fileNameTarget = testutil.generateId('createWriteStreamToAppendBlob', [], suite.isMocked) + '.appendtest'; var length = 2 * 1024 * 1024; - var blobBuffer = new Buffer(length); + var blobBuffer = Buffer.alloc(length); blobBuffer.fill('a'); pageBlobContentMD5 = writeFile(fileNameTarget, blobBuffer); var readable = rfs.createReadStream(fileNameTarget); diff --git a/test/services/file/fileservice-scale-tests.js b/test/services/file/fileservice-scale-tests.js index 82e1cd3f..6501d567 100644 --- a/test/services/file/fileservice-scale-tests.js +++ b/test/services/file/fileservice-scale-tests.js @@ -129,7 +129,7 @@ describe('FileUploadDownloadScale', function () { function generateTempFile(fileName, size, callback) { var blockSize = 4 * 1024 * 1024; if(!internalBuffer) { - internalBuffer = new Buffer(blockSize); + internalBuffer = Buffer.alloc(blockSize); } var md5hash = crypto.createHash('md5'); var fileInfo = {name: fileName, contentMD5: '', size: size}; @@ -142,7 +142,7 @@ describe('FileUploadDownloadScale', function () { content = internalBuffer; size -= blockSize; } else { - content = new Buffer(size); + content = Buffer.alloc(size); size = 0; } if (content.length) { diff --git a/test/services/file/fileservice-uploaddownload-tests.js b/test/services/file/fileservice-uploaddownload-tests.js index ae1d71b8..e0672153 100644 --- a/test/services/file/fileservice-uploaddownload-tests.js +++ b/test/services/file/fileservice-uploaddownload-tests.js @@ -85,7 +85,7 @@ function generateTempFile(fileName, size, hasEmptyBlock, callback) { var buffer; if (zero) { - buffer = new Buffer(writeSize); + buffer = Buffer.alloc(writeSize); buffer.fill(0); } else { buffer = crypto.randomBytes(writeSize); @@ -146,7 +146,7 @@ describe('FileUploadDownload', function () { describe('createWriteStream', function() { skipMockAndBrowser('existing file', function (done) { - var fileBuffer = new Buffer( 5 * 1024 * 1024 ); + var fileBuffer = Buffer.alloc( 5 * 1024 * 1024 ); fileBuffer.fill(1); // Write file so that it can be piped @@ -169,7 +169,7 @@ describe('FileUploadDownload', function () { }); skipMockAndBrowser('new file', function (done) { - var fileBuffer = new Buffer( 6 * 1024 * 1024 ); + var fileBuffer = Buffer.alloc( 6 * 1024 * 1024 ); fileBuffer.fill(1); // Write file so that it can be piped @@ -189,7 +189,7 @@ describe('FileUploadDownload', function () { }); skipMockAndBrowser('store the MD5 on the server', function (done) { - var fileBuffer = new Buffer( 3 * 1024 * 1024 ); + var fileBuffer = Buffer.alloc( 3 * 1024 * 1024 ); fileBuffer.fill(1); // Write file so that it can be piped @@ -232,7 +232,7 @@ describe('FileUploadDownload', function () { var sourceFileNameTarget = testutil.generateId('getFileSourceFile', [], suite.isMocked) + '.test'; var destinationFileNameTarget = testutil.generateId('getFileDestinationFile', [], suite.isMocked) + '.test'; - var fileBuffer = new Buffer( 5 * 1024 ); + var fileBuffer = Buffer.alloc( 5 * 1024 ); fileBuffer.fill(1); fs.writeFileSync(sourceFileNameTarget, fileBuffer); @@ -400,7 +400,7 @@ describe('FileUploadDownload', function () { describe('clearRange', function() { skipBrowser('should work', function (done) { - var buffer = new Buffer(512); + var buffer = Buffer.alloc(512); buffer.fill(0); buffer[0] = '1'; writeFile(localFileName, buffer); @@ -427,7 +427,7 @@ describe('FileUploadDownload', function () { }); skipBrowser('multiple ranges', function (done) { - var buffer = new Buffer(1024); + var buffer = Buffer.alloc(1024); buffer.fill(0); buffer[0] = '1'; writeFile(localFileName, buffer); @@ -458,7 +458,7 @@ describe('FileUploadDownload', function () { describe('listRanges', function() { skipBrowser('should work', function (done) { - var buffer = new Buffer(512); + var buffer = Buffer.alloc(512); buffer.fill(0); buffer[0] = '1'; writeFile(localFileName, buffer); @@ -499,7 +499,7 @@ describe('FileUploadDownload', function () { }); skipBrowser('multiple discrete ranges', function (done) { - var buffer = new Buffer(512); + var buffer = Buffer.alloc(512); buffer.fill(0); buffer[0] = '1'; writeFile(localFileName, buffer); @@ -673,7 +673,7 @@ describe('FileUploadDownload', function () { }); skipBrowser('should download a file to a local file in chunks', function (done) { - var buffer = new Buffer(4 * 1024 * 1024 + 512); // Don't be a multiple of 4MB to cover more scenarios + var buffer = Buffer.alloc(4 * 1024 * 1024 + 512); // Don't be a multiple of 4MB to cover more scenarios var originLimit = fileService.singleFileThresholdInBytes; buffer.fill(0); writeFile(localFileName, buffer); @@ -901,7 +901,7 @@ describe('FileUploadDownload', function () { }); it('should work with buffer', function (done) { - var fileText = new Buffer('Hello World'); + var fileText = Buffer.from('Hello World'); fileService.createFileFromText(shareName, directoryName, fileName, fileText, function (uploadError, file, uploadResponse) { assert.equal(uploadError, null); assert.ok(file); @@ -949,7 +949,7 @@ describe('FileUploadDownload', function () { var fileContentMD5; before(function (done) { fileContentMD5 = writeFile(localFileName, fileText); - var zeroBuffer = new Buffer(0); + var zeroBuffer = Buffer.alloc(0); zeroFileContentMD5 = writeFile(zeroSizeFileName, zeroBuffer); done(); }); @@ -1080,7 +1080,7 @@ describe('FileUploadDownload', function () { before(function (done) { fileContentMD5 = writeFile(localFileName, fileText); - var zeroBuffer = new Buffer(0); + var zeroBuffer = Buffer.alloc(0); zeroFileContentMD5 = writeFile(zeroSizeFileName, zeroBuffer); done(); }); @@ -1174,7 +1174,7 @@ describe('FileUploadDownload', function () { skipMockAndBrowser('should work with parallelOperationsThreadCount in options', function(done) { var options = { parallelOperationThreadCount : 4 }; - var buffer = new Buffer(65 * 1024 * 1024); + var buffer = Buffer.alloc(65 * 1024 * 1024); buffer.fill(0); buffer[0] = '1'; writeFile(localFileName, buffer); @@ -1203,7 +1203,7 @@ describe('FileUploadDownload', function () { }; skipMockAndBrowser('storeFileContentMD5/useTransactionalMD5 on file', function (done) { - var fileBuffer = new Buffer(5 * 1024 * 1024); + var fileBuffer = Buffer.alloc(5 * 1024 * 1024); fileBuffer.fill(0); fileBuffer[0] = '1'; var fileMD5 = writeFile(localFileName, fileBuffer); @@ -1234,7 +1234,7 @@ describe('FileUploadDownload', function () { }); skipBrowser('storeFileContentMD5/useTransactionalMD5 with streams/ranges', function (done) { - var fileBuffer = new Buffer(5 * 1024 * 1024); + var fileBuffer = Buffer.alloc(5 * 1024 * 1024); fileBuffer.fill(0); fileBuffer[0] = '1'; var fileMD5 = writeFile(localFileName, fileBuffer); @@ -1289,7 +1289,7 @@ describe('FileUploadDownload', function () { }); skipMockAndBrowser('disableContentMD5Validation', function (done) { - var fileBuffer = new Buffer(5 * 1024 * 1024); + var fileBuffer = Buffer.alloc(5 * 1024 * 1024); fileBuffer.fill(0); fileBuffer[0] = '1'; var fileMD5 = writeFile(localFileName, fileBuffer); diff --git a/test/services/queue/queueservice-tests.js b/test/services/queue/queueservice-tests.js index 626a6a7a..c6883bf7 100644 --- a/test/services/queue/queueservice-tests.js +++ b/test/services/queue/queueservice-tests.js @@ -448,14 +448,14 @@ describe('QueueServiceTests', function() { assert.equal(createResponse1.statusCode, HttpConstants.HttpResponseCodes.Created); // Create message - queueService.createMessage(queueName, new Buffer(messageText1), function (createMessageError, createdMessage, createMessageResponse) { + queueService.createMessage(queueName, Buffer.from(messageText1), function (createMessageError, createdMessage, createMessageResponse) { assert.equal(createMessageError, null); assert.notEqual(createdMessage, null); assert.ok(createMessageResponse.isSuccessful); assert.equal(createMessageResponse.statusCode, HttpConstants.HttpResponseCodes.Created); // Create another message - queueService.createMessage(queueName, new Buffer(messageText2), function (createMessageError2, createdMessage2, createMessageResponse2) { + queueService.createMessage(queueName, Buffer.from(messageText2), function (createMessageError2, createdMessage2, createMessageResponse2) { assert.equal(createMessageError, null); assert.notEqual(createdMessage2, null); assert.ok(createMessageResponse2.isSuccessful); @@ -639,14 +639,14 @@ describe('QueueServiceTests', function() { assert.equal(createResponse1.statusCode, HttpConstants.HttpResponseCodes.Created); // Create message - queueService.createMessage(queueName, new Buffer(messageText1), function (createMessageError, createdMessage, createMessageResponse) { + queueService.createMessage(queueName, Buffer.from(messageText1), function (createMessageError, createdMessage, createMessageResponse) { assert.equal(createMessageError, null); assert.notEqual(createdMessage, null); assert.ok(createMessageResponse.isSuccessful); assert.equal(createMessageResponse.statusCode, HttpConstants.HttpResponseCodes.Created); // Create another message - queueService.createMessage(queueName, new Buffer(messageText2), function (createMessageError2, createdMessage2, createMessageResponse2) { + queueService.createMessage(queueName, Buffer.from(messageText2), function (createMessageError2, createdMessage2, createMessageResponse2) { assert.equal(createMessageError, null); assert.notEqual(createdMessage2, null); assert.ok(createMessageResponse2.isSuccessful); diff --git a/test/services/table/tablebatch-tests.js b/test/services/table/tablebatch-tests.js index 71d6e028..9439e429 100644 --- a/test/services/table/tablebatch-tests.js +++ b/test/services/table/tablebatch-tests.js @@ -68,7 +68,7 @@ function generateEntities(count) { RowKey: eg.String('row' + (i + 1).toString()), StringProperty: eg.String('stringSample'), BooleanProperty: eg.Boolean(true), - BinaryProperty: eg.Binary(new Buffer('SampleStringInBuffer!')), + BinaryProperty: eg.Binary(Buffer.from('SampleStringInBuffer!')), Int32Property: eg.Int32(42), Int64Property: eg.Int64('5432873627392'), DoubleProperty: eg.Double(4.81516), diff --git a/test/services/table/tabledatatype-tests.js b/test/services/table/tabledatatype-tests.js index 5672a9f1..63a2d0d6 100644 --- a/test/services/table/tabledatatype-tests.js +++ b/test/services/table/tabledatatype-tests.js @@ -50,7 +50,7 @@ var doubleVal = 123.45; var boolVal = false; var dateVal = new Date(Date.UTC(2012, 10, 10, 3, 4, 5, 200)); var guidVal = 'debc44d5-04a9-42ea-ab2f-4e2cb49ff833'; -var binaryVal = new Buffer(3); +var binaryVal = Buffer.alloc(3); binaryVal[0] = 0x01; binaryVal[1] = 0x02; binaryVal[2] = 50; diff --git a/test/services/table/tablepayload-tests.js b/test/services/table/tablepayload-tests.js index 75a7b0f2..1155ae0f 100644 --- a/test/services/table/tablepayload-tests.js +++ b/test/services/table/tablepayload-tests.js @@ -75,7 +75,7 @@ var getNewEntityToTest = function () { RowKey: eg.String('row1'), StringProperty: eg.String('stringSample'), BooleanProperty: eg.Boolean(true, 'Edm.Boolean'), - BinaryProperty: eg.Binary(new Buffer('SampleStringInBuffer!')), + BinaryProperty: eg.Binary(Buffer.from('SampleStringInBuffer!')), Int32Property: eg.Int32(42), Int64Property: eg.Int64('5432873627392'), DoubleProperty: eg.Double(4.81516), @@ -316,7 +316,7 @@ function compareProperties (propFromService, prop, expectTypeOnService) { } } if (prop['$'] === 'Edm.Binary' && (!propFromService.hasOwnProperty('$') || propFromService['$'] === 'Edm.String')) { - assert.strictEqual(new Buffer(propFromService['_'], 'base64').toString(), prop['_'].toString()); + assert.strictEqual(Buffer.from(propFromService['_'], 'base64').toString(), prop['_'].toString()); } else if (prop['$'] === 'Edm.DateTime' && (!propFromService.hasOwnProperty('$') || propFromService['$'] === 'Edm.String')){ assert.strictEqual((new Date(propFromService['_'])).toString(), prop['_'].toString()); } else if (prop['$'] === 'Edm.Double') { @@ -526,7 +526,7 @@ function entityResolverTest (options, done) { PartitionKey: eg.String('partition1'), RowKey: eg.String('row1'), BooleanProperty: eg.Boolean(true), - BinaryProperty: eg.Binary(new Buffer('SampleStringInBuffer!')), + BinaryProperty: eg.Binary(Buffer.from('SampleStringInBuffer!')), Int32Property: eg.Int32(42) }; diff --git a/test/services/table/tableservice-tests.js b/test/services/table/tableservice-tests.js index 0fed6782..5488f7aa 100644 --- a/test/services/table/tableservice-tests.js +++ b/test/services/table/tableservice-tests.js @@ -133,7 +133,7 @@ describe('tableservice-tests', function () { it('SetDefaultPortProperly', function (done) { var storageAccount = 'account'; - var storageAccountKey = new Buffer('key').toString('base64'); + var storageAccountKey = Buffer.from('key').toString('base64'); var service = azure.createTableService(storageAccount, storageAccountKey, 'https://account.table.core.windows.net'); assert.equal(service.host.primaryHost, 'https://account.table.core.windows.net:443/'); diff --git a/typings/azure-storage/azure-storage.d.ts b/typings/azure-storage/azure-storage.d.ts index 7b7108e5..0b34fb1b 100644 --- a/typings/azure-storage/azure-storage.d.ts +++ b/typings/azure-storage/azure-storage.d.ts @@ -5902,7 +5902,7 @@ declare module azurestorage { * @param {string|buffer}value A 'buffer' containing the value to compare with the property. * @return {string} A string containing the formatted filter condition. * @example - * var query = TableQuery.binaryFilter('BinaryField', QueryComparisons.EQUAL, new Buffer('hello')); + * var query = TableQuery.binaryFilter('BinaryField', QueryComparisons.EQUAL, Buffer.from('hello')); */ binaryFilter(propertyName: string, operation: string, value: Buffer | string): string; From 60ae42ae9a6069dd7d72b861d5d446a7e2f4f939 Mon Sep 17 00:00:00 2001 From: anchepiece Date: Mon, 1 Oct 2018 21:38:03 -0400 Subject: [PATCH 09/18] Address uncaught TypeError in table service --- lib/services/table/tableservice.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/services/table/tableservice.js b/lib/services/table/tableservice.js index 82d566cb..132aa6b3 100644 --- a/lib/services/table/tableservice.js +++ b/lib/services/table/tableservice.js @@ -536,7 +536,7 @@ TableService.prototype.createTable = function (table, optionsOrCallback, callbac var processResponseCallback = function (responseObject, next) { responseObject.tableResponse = {}; responseObject.tableResponse.isSuccessful = responseObject.error ? false : true; - responseObject.tableResponse.statusCode = responseObject.response.statusCode; + responseObject.tableResponse.statusCode = responseObject.response === null || responseObject.response === undefined ? undefined : responseObject.response.statusCode; if (!responseObject.error) { responseObject.tableResponse.TableName = table; } From 0013a55987dd80bd2546efd9fbef4b2380498956 Mon Sep 17 00:00:00 2001 From: Julian Bonilla Date: Thu, 4 Oct 2018 22:37:35 -0400 Subject: [PATCH 10/18] Browser sample fixes browser/samples/sample-[blob,file,queue,table].html * Fix a few typos * Consistent style for JavaScript examples * Minor HTML cleanup and formatting --- browser/samples/sample-blob.html | 95 ++++++++++++++++--------------- browser/samples/sample-file.html | 86 ++++++++++++++-------------- browser/samples/sample-queue.html | 68 +++++++++++----------- browser/samples/sample-table.html | 64 ++++++++++----------- 4 files changed, 157 insertions(+), 156 deletions(-) diff --git a/browser/samples/sample-blob.html b/browser/samples/sample-blob.html index 48630e01..b52bb602 100644 --- a/browser/samples/sample-blob.html +++ b/browser/samples/sample-blob.html @@ -1,7 +1,7 @@ - + Azure Storage JavaScript Client Library Sample for Blob Operations @@ -15,7 +15,7 @@

Azure Storage JavaScript Client Library Sample for Blob Operations


Azure Blob storage is a service for storing large amounts of unstructured object data, such as text or binary data, that can be accessed from anywhere in the world via HTTP or HTTPS. You can use Blob storage to expose data publicly to the world, or to store application data privately.

-
+
Note: You may need set up a HTTP server to host this sample for IE11 and latest Chrome.
@@ -48,7 +48,7 @@

Step 2: Importing Azure Storage JavaScript Client Library

Step 3: Creating an Azure Storage Blob Service Object

- The BlobService object lets you work with containers and blobs. + The BlobService object lets you work with containers and blobs. Following code creates a BlobService object with storage account and SAS Token.

@@ -58,26 +58,26 @@ 

Step 3: Creating an Azure Storage Blob Service Object

You can load Azure Storage JavaScript Client Library in a CommonJS or AMD environment by JavaScript module loaders. If no module system is found, global variable AzureStorage.Blob will be set, which is the start point where we can create service objects for blob and access to the storage utilities.

-
+
- How to get full detailed API definitions? Currently, the JavaScript Client Library shares almost the same API definitions with Node.js SDK, besides Node.js runtime specific APIs. + How to get full detailed API definitions? Currently, the JavaScript Client Library shares almost the same API definitions with Node.js SDK, besides Node.js runtime specific APIs. Please check API details on Azure Storage API reference documents. The JavaScript global variable AzureStorage.Blob is just like the object require('azure-storage') returns in Node.js, but limits to Blob related interfaces. Go to BlobService to view possible methods provided by BlobService class. -
+
-
+
- Warning: Azure Storage JavaScript Client Library also supports creating BlobService based on Storage Account Key for authentication besides SAS Token. - However, for security concerns, we recommend use of a limited time SAS Token, generated by a backend web server using a Stored Access Policy. -
+ Warning: Azure Storage JavaScript Client Library also supports creating BlobService based on Storage Account Key for authentication besides SAS Token. + However, for security concerns, we recommend use of a limited time SAS Token, generated by a backend web server using a Stored Access Policy. +

Step 4: Container Operations

- A container provides a grouping of blobs. All blobs must be in a container. An account can contain an unlimited number of containers. A container can store an unlimited number of blobs. Note that the container name must be lowercase. + A container provides a grouping of blobs. All blobs must be in a container. An account can contain an unlimited number of containers. A container can store an unlimited number of blobs. Note that the container name must be lowercase. BlobService object provides plenty of interfaces for container operations.

- +

List Containers

BlobService provides listContainersSegmented and listContainersSegmentedWithPrefix for retrieving the containers list under a storage account.

@@ -118,15 +118,15 @@ 

Delete Container

Executable Example

- The sample will try to create an Azure Storage blob service object based on SAS Token authorization. + The sample will try to create an Azure Storage blob service object based on SAS Token authorization. Enter your Azure Storage account name and SAS Token here, and executable examples in following steps dependent on the settings here. Make sure you have set the CORS rules for the Azure Storage blob service, and the SAS Token is in valid period.

- +

-

In the following executable example, you can try to list all the containers under your storage account settings, and try to create or delete one container from your account.

+

In the following executable example, you can try to list all the containers under your storage account settings, and try to create or delete one container from your account.

  • Click button to view the container list under your Azure Storage account

  • @@ -180,7 +180,7 @@

    Upload Blob

    }); refreshProgress();
-

Checking the upload progress with speedSummary object.

+

Checking the upload progress with speedSummary object.

 speedSummary.on('progress', function () {
     var process = speedSummary.getCompletePercent();
@@ -190,8 +190,8 @@ 

Upload Blob

Warning: - By default, the speedSummary.getCompletePercent() only updates progress when a block is uploaded to server. There are 2 default settings may influence the upload progress display. - + By default, the speedSummary.getCompletePercent() only updates progress when a block is uploaded to server. There are 2 default settings that may influence the upload progress display. +
  • blobService.singleBlobPutThresholdInBytes is the maximum size (default 32MB), in bytes, of a blob before it must be separated into blocks.
  • Option {blockSize: SizeInBytes} of blobService.createBlockBlobFromStream() is the size (default 4MB) of every block in the storage layer.
  • @@ -200,12 +200,12 @@

    Upload Blob

    This means, by default, blobs smaller than 32MB will only get the progress update when the upload is over, and blobs larger than 32MB will update the process every 4MB. For slow connections or progress reporting for small blobs, you can customize both the two settings into samller values such as 1MB or 512KB. Thus the progress will update with the smaller step you set. However, very small block sizes will impact the storage performance especially for a large blob. -
+

Download Blob

- BlobService provides interfaces for downloading a blob into browser memory. + BlobService provides interfaces for downloading a blob into browser memory. Because of browser's sandbox limitation, we cannot save the downloaded data trunks into disk until we get all the data trunks of a blob into browser memory. The browser's memory size is also limited especially for downloading huge blobs, so it's recommended to download a blob in browser with SAS Token authorized link directly.

@@ -213,10 +213,10 @@

Download Blob

Shared access signatures (SAS) are a secure way to provide granular access to blobs and containers without providing your storage account name or keys. Shared access signatures are often used to provide limited access to your data, such as allowing a mobile app to access blobs. The following code example generates a new shared access policy that allows the shared access signatures holder to perform read operations on the myblob blob, and expires 100 minutes after the time it is created.

-
+
Note: You can choose to use the SAS Token in browser side, or generate a temporary SAS Token dynamically in your server side with Azure Storage C# or Node.js SDKs etc. according to your security requirements. -
+
 var downloadLink = blobService.getUrl('mycontainer', 'myblob', 'SAS_TOKEN');
@@ -234,18 +234,19 @@ 

Delete Blob

});

Executable Example

-

After clicked the "Select" button on the container list in last step, you are able to operate with the blobs under the selected container.

- +

After clicked the "Select" button on the container list in last step, you are able to operate with the blobs under the selected container.

+

+
    -
  • Click button to view the blobs under your selected container

  • -
  • - Click button to upload a local file to current container after selecting a file: +

  • Click button to view the blobs under your selected container

  • +
  • + Click button to upload a local file to current container after selecting a file:

  • Click "Delete" button to delete the blob

  • Click "Download" link to download a blob to local

- +
Uploaded Bytes:
@@ -257,12 +258,12 @@

Executable Example

Step 6: Creating your JavaScript Application based on Azure Storage JavaScript Client Library

-
    -
  • 1. Setting CORS rules for your selected Azure-Storage account blob service.
  • -
  • 2. Including functional file(s) needed, such as "azure-storage.blob.js" for blob operation.
  • -
  • 3. Using keyword "AzureStorage.Blob" to access to Azure storage JavaScript APIs for blobs.
  • -
  • 4. Referring to API documents for detailed API definitions.
  • -
+
    +
  1. Setting CORS rules for your selected Azure-Storage account blob service.
  2. +
  3. Including functional file(s) needed, such as "azure-storage.blob.js" for blob operation.
  4. +
  5. Using keyword "AzureStorage.Blob" to access to Azure storage JavaScript APIs for blobs.
  6. +
  7. Referring to API documents for detailed API definitions.
  8. +

You can view the source code of this sample for detailed reference.

@@ -273,7 +274,7 @@

Step 6: Creating your JavaScript Application based on Azure Stora var sas = document.getElementById('sas').value; var container = ''; var blobUri = ''; - + function checkParameters() { account = document.getElementById('account').value; sas = document.getElementById('sas').value; @@ -343,7 +344,7 @@

Step 6: Creating your JavaScript Application based on Azure Stora blobService.deleteContainerIfExists(name, function(error, result) { if (error) { - alert('Delete container failed, open brower console for more detailed info.'); + alert('Delete container failed, open browser console for more detailed info.'); console.log(error); } else { alert('Delete ' + name + ' successfully!'); @@ -365,7 +366,7 @@

Step 6: Creating your JavaScript Application based on Azure Stora blobService.createContainerIfNotExists(container, function(error, result){ if (error) { - alert('Create container failed, open brower console for more detailed info.'); + alert('Create container failed, open browser console for more detailed info.'); console.log(error); } else { alert('Create ' + container + ' successfully!'); @@ -431,7 +432,7 @@

Step 6: Creating your JavaScript Application based on Azure Stora blobService.deleteBlobIfExists(container, blob, function(error, result) { if (error) { - alert('Delete blob failed, open brower console for more detailed info.'); + alert('Delete blob failed, open browser console for more detailed info.'); console.log(error); } else { alert('Delete ' + blob + ' successfully!'); @@ -441,8 +442,8 @@

Step 6: Creating your JavaScript Application based on Azure Stora } function displayProcess(process) { - document.getElementById("progress").style.width = process + '%'; - document.getElementById("progress").innerHTML = process + '%'; + document.getElementById('progress').style.width = process + '%'; + document.getElementById('progress').innerHTML = process + '%'; } function uploadBlobByStream(checkMD5) { @@ -457,9 +458,9 @@

Step 6: Creating your JavaScript Application based on Azure Stora if (!blobService) return; - var btn = document.getElementById("upload-button"); + var btn = document.getElementById('upload-button'); btn.disabled = true; - btn.innerHTML = "Uploading"; + btn.innerHTML = 'Uploading'; // Make a smaller block size when uploading small blobs var blockSize = file.size > 1024 * 1024 * 32 ? 1024 * 1024 * 4 : 1024 * 512; @@ -473,11 +474,11 @@

Step 6: Creating your JavaScript Application based on Azure Stora var speedSummary = blobService.createBlockBlobFromBrowserFile(container, file.name, file, options, function(error, result, response) { finishedOrError = true; btn.disabled = false; - btn.innerHTML = "UploadBlob"; + btn.innerHTML = 'UploadBlob'; if (error) { - alert('Upload filed, open brower console for more detailed info.'); + alert('Upload failed, open browser console for more detailed info.'); console.log(error); - displayProcess(0); + displayProcess(0); } else { displayProcess(100); setTimeout(function() { // Prevent alert from stopping UI progress update @@ -493,5 +494,5 @@

Step 6: Creating your JavaScript Application based on Azure Stora }); } - - \ No newline at end of file + + diff --git a/browser/samples/sample-file.html b/browser/samples/sample-file.html index 00d12897..048701a9 100644 --- a/browser/samples/sample-file.html +++ b/browser/samples/sample-file.html @@ -1,7 +1,7 @@ - + Azure Storage JavaScript Client Library Sample for File Operations @@ -16,10 +16,10 @@

Azure Storage JavaScript Client Library Sample for File Operations

Azure File storage is a service for storing large amounts of unstructured object data, such as text or binary data, that can be accessed from anywhere in the world via HTTP or HTTPS. You can use file storage to expose data publicly to the world, or to store application data privately.

With Azure File storage, you can migrate legacy applications that rely on file shares to Azure quickly and without costly rewrites. Applications running in Azure virtual machines or cloud services or from on-premises clients can mount a file share in the cloud, just as a desktop application mounts a typical SMB share. Any number of application components can then mount and access the File storage share simultaneously. In this sample, you are able to create a file service with storage account and SAS Token. Based on the file service, you could create a file share, list files, upload files and delete files.

-
+
Note: You may need set up a HTTP server to host this sample for IE11 and latest Chrome. -
+

Contents:

@@ -49,7 +49,7 @@

Step 2: Importing Azure Storage JavaScript Files

Step 3: Creating an Azure Storage File Service Object

- The FileService object lets you work with files and directories. + The FileService object lets you work with files and directories. Following code creates a FileService object with storage account and SAS Token.

@@ -59,18 +59,18 @@ 

Step 3: Creating an Azure Storage File Service Object

You can load Azure Storage JavaScript Client Library in a CommonJS or AMD environment by JavaScript module loaders. If no module system is found, global variable AzureStorage.File will be set, which is the start point where we can create service objects for file and access to the storage utilities.

-
+
- How to get full detailed API definitions? Currently, the JavaScript Client Library shares almost the same API definitions with Node.js SDK, besides Node.js runtime specific APIs. + How to get full detailed API definitions? Currently, the JavaScript Client Library shares almost the same API definitions with Node.js SDK, besides Node.js runtime specific APIs. Please check API details on Azure Storage API reference documents. The JavaScript global variable AzureStorage.File is just like the object require('azure-storage') returns in Node.js, but limits to File related interfaces. Go to FileService to view possible methods provided by FileService class. -
+
-
+
- Warning: Azure Storage JavaScript Client Library also supports creating FileService based on Storage Account Key for authentication besides SAS Token. - However, for security concerns, we recommend use of a limited time SAS Token, generated by a backend web server using a Stored Access Policy. -
+ Warning: Azure Storage JavaScript Client Library also supports creating FileService based on Storage Account Key for authentication besides SAS Token. + However, for security concerns, we recommend use of a limited time SAS Token, generated by a backend web server using a Stored Access Policy. +

Step 4: File Share Operations

@@ -116,9 +116,9 @@

Delete File Share

Executable Example

The sample will try to create an Azure Storage file service object based on SAS Token authorization. Enter your Azure Storage account name and SAS Token here. Make sure you have set the CORS rules for the Azure Storage file service, and the SAS Token is in valid period.

- + -

Azure Storage file service provides plenty of interfaces for file operations. In following example, you can try to list all the file shares under your storage account, and try to create or delete one file share from your account.

+

Azure Storage file service provides plenty of interfaces for file operations. In following example, you can try to list all the file shares under your storage account, and try to create or delete one file share from your account.

  • Click button to view the file share list under your Azure Storage account

  • @@ -205,7 +205,7 @@

    Upload File

Download File

- FileService provides interfaces for downloading a file into browser memory directly. + FileService provides interfaces for downloading a file into browser memory directly. Because of browser's sandbox limitation, we cannot save the downloaded data trunks into disk until we get all the data trunks of a file into browser memory. The browser's memory size is also limited especially for downloading huge files, so it's recommended to download a file in browser with SAS Token authorized link directly.

@@ -213,10 +213,10 @@

Download File

Shared access signatures (SAS) are a secure way to provide granular access to files and directories without providing your storage account name or keys. Shared access signatures are often used to provide limited access to your data, such as allowing a mobile app to access files. The following code example generates a new shared access policy that allows the shared access signatures holder to perform read operations on the myfile file, and expires 100 minutes after the time it is created.

-
+
Note: You can choose to use the SAS Token in browser side, or generate a temporary SAS Token dynamically in your server side with Azure Storage C# or Node.js SDKs etc. according to your security requirements. -
+
 var downloadLink = fileService.getUrl('myshare', 'mydirectory', 'myfile', 'SAS_TOKEN');
@@ -247,9 +247,9 @@ 

Executable Example

  • Click "Delete" button to delete the directory or file

  • Click "Download" link to download a file to local

  • - + Current Path: -
    Uploaded Bytes:
    +
    Uploaded Bytes:
    0% @@ -258,12 +258,12 @@

    Executable Example

    Step 6: Creating your JavaScript Application based on Azure Storage JavaScript Client Library

    -
      -
    • 1. Setting CORS rules for your selected Azure-Storage account file service.
    • -
    • 2. Including functional file(s) needed, such as "azure-storage.file.js" for file operation.
    • -
    • 3. Using keyword "AzureStorage.File" to access to Azure storage JavaScript APIs for files.
    • -
    • 4. Referring to API documents for detailed API definitions.
    • -
    +
      +
    1. Setting CORS rules for your selected Azure-Storage account file service.
    2. +
    3. Including functional file(s) needed, such as "azure-storage.file.js" for file operation.
    4. +
    5. Using keyword "AzureStorage.File" to access to Azure storage JavaScript APIs for files.
    6. +
    7. Referring to API documents for detailed API definitions.
    8. +

    You can view the source code of this sample for detailed reference.

    @@ -276,7 +276,7 @@

    Step 6: Creating your JavaScript Application based on Azure Stora var currentPath = ''; var fileUri = ''; var currentPath = []; - + function checkParameters() { account = document.getElementById('account').value; sas = document.getElementById('sas').value; @@ -349,7 +349,7 @@

    Step 6: Creating your JavaScript Application based on Azure Stora fileService.deleteShareIfExists(name, function(error, result){ if (error) { - alert('Delete file share failed, open brower console for more detailed info.'); + alert('Delete file share failed, open browser console for more detailed info.'); console.log(error); } else { alert('Delete ' + name + ' successfully!'); @@ -368,10 +368,10 @@

    Step 6: Creating your JavaScript Application based on Azure Stora alert('Invalid share name!'); return; } - + fileService.createShareIfNotExists(share, function(error, result){ if (error) { - alert('Create file share failed, open brower console for more detailed info.'); + alert('Create file share failed, open browser console for more detailed info.'); console.log(error); } else { alert('Create ' + share + ' successfully!'); @@ -472,19 +472,19 @@

    Step 6: Creating your JavaScript Application based on Azure Stora if (!fileService) return; if (fileShare.length < 1) { - alert("Please select a file share!"); + alert('Please select a file share!'); return; } fileService.deleteDirectoryIfExists(fileShare, currentPath.join('\\\\') + '\\' + name, function(error, results) { if (error) { - alert("Delete directory failed, open brower console for more detailed info."); + alert('Delete directory failed, open browser console for more detailed info.'); console.log(error); } else { - alert("Delete " + name + " successfully!"); + alert('Delete ' + name + ' successfully!'); refreshDirectoryFileList(); } - }); + }); } function deleteFile(file) { @@ -494,35 +494,35 @@

    Step 6: Creating your JavaScript Application based on Azure Stora fileService.deleteFileIfExists(fileShare, currentPath.join('\\\\'), file, function(error, results) { if (error) { - alert("Delete file failed, open brower console for more detailed info."); + alert('Delete file failed, open browser console for more detailed info.'); console.log(error); } else { - alert("Delete " + file + " successfully!"); + alert('Delete ' + file + ' successfully!'); refreshDirectoryFileList(); } - }); + }); } function createDirectory() { var fileService = getFileService(); if (!fileService) return; - + var directoryName = document.getElementById('newdirectory').value; fileService.createDirectoryIfNotExists(fileShare, currentPath.join('\\\\') + '\\' + directoryName, function(error, results) { if (error) { - alert("Create directory failed, open brower console for more detailed info."); + alert('Create directory failed, open browser console for more detailed info.'); console.log(error); } else { - alert("Create " + directoryName + " successfully!"); + alert('Create ' + directoryName + ' successfully!'); refreshDirectoryFileList(); } }); } function displayProcess(process) { - document.getElementById("progress").style.width = process + '%'; - document.getElementById("progress").innerHTML = process + '%'; + document.getElementById('progress').style.width = process + '%'; + document.getElementById('progress').innerHTML = process + '%'; } function createFileFromStream(checkMD5) { @@ -553,7 +553,7 @@

    Step 6: Creating your JavaScript Application based on Azure Stora btn.disabled = false; btn.innerHTML = "Upload"; if (error) { - alert("Upload filed, open brower console for more detailed info."); + alert("Upload failed, open browser console for more detailed info."); console.log(error); displayProcess(0); } else { @@ -571,5 +571,5 @@

    Step 6: Creating your JavaScript Application based on Azure Stora }); } - - \ No newline at end of file + + diff --git a/browser/samples/sample-queue.html b/browser/samples/sample-queue.html index cf02c0b5..0dd40bee 100644 --- a/browser/samples/sample-queue.html +++ b/browser/samples/sample-queue.html @@ -1,7 +1,7 @@ - + Azure Storage JavaScript Client Library Sample for Queue Operations @@ -16,11 +16,11 @@

    Azure Storage JavaScript Client Library Sample for Queue Operations

    Azure Storage queue service provides cloud messaging between application components. In designing applications for scale, application components are often decoupled, so that they can scale independently. Queue storage delivers asynchronous messaging for communication between application components, whether they are running in the cloud, on the desktop, on an on-premises server, or on a mobile device. Queue storage also supports managing asynchronous tasks and building process work flows.

    - -
    + +
    Note: You may need set up a HTTP server to host this sample for IE11 and latest Chrome. -
    +

    Contents:

    @@ -50,7 +50,7 @@

    Step 2: Importing Azure Storage JavaScript Client Library

    Step 3: Creating an Azure Storage Queue Service Object

    - The QueueService object lets you work with queues and messages. + The QueueService object lets you work with queues and messages. Following code creates a QueueService object with storage account and SAS Token.

    @@ -60,18 +60,18 @@ 

    Step 3: Creating an Azure Storage Queue Service Object

    You can load Azure Storage JavaScript Client Library in a CommonJS or AMD environment by JavaScript module loaders. If no module system is found, global variable AzureStorage.Queue will be set, which is the start point where we can create service objects for queue and access to the storage utilities.

    -
    +
    - How to get full detailed API definitions? Currently, the JavaScript Client Library shares almost the same API definitions with Node.js SDK, besides Node.js runtime specific APIs. + How to get full detailed API definitions? Currently, the JavaScript Client Library shares almost the same API definitions with Node.js SDK, besides Node.js runtime specific APIs. Please check API details on Azure Storage API reference documents. The JavaScript global variable AzureStorage.Queue is just like the object require('azure-storage') returns in Node.js, but limits to Queue related interfaces. Go to QueueService to view possible methods provided by QueueService class. -
    +
    -
    +
    - Warning: Azure Storage JavaScript Client Library also supports creating QueueService based on Storage Account Key for authentication besides SAS Token. - However, for security concerns, we recommend use of a limited time SAS Token, generated by a backend web server using a Stored Access Policy. -
    + Warning: Azure Storage JavaScript Client Library also supports creating QueueService based on Storage Account Key for authentication besides SAS Token. + However, for security concerns, we recommend use of a limited time SAS Token, generated by a backend web server using a Stored Access Policy. +

    Step 4: Queue Operations

    @@ -119,9 +119,9 @@

    Delete Queue

    Executable Example

    The sample will try to create an Azure Storage queue service object based on SAS Token authorization. Enter your Azure Storage account name and SAS Token here. Make sure you have set the CORS rules for the Azure Storage queue service, and the SAS Token is in valid period.

    - + -

    Azure Storage queue service provides plenty of interfaces for queue operations. In following example, you can try to list all the queues under your storage account, and try to create or delete one queue from your account.

    +

    Azure Storage queue service provides plenty of interfaces for queue operations. In following example, you can try to list all the queues under your storage account, and try to create or delete one queue from your account.

    • Click button to view the queue list under your Azure Storage account

    • Click button to create a queue under your Azure Storage account:

      @@ -134,11 +134,11 @@

      Executable Example

      Step 5: Message Operations

      A storage Message, in any format, of up to 64 KB. The maximum time that a message can remain in the queue is 7 days.

      -
      +
      Note: Azure Storage JavaScript Client Library provides var encoder = new AzureStorage.Queue.QueueMessageEncoder.TextBase64QueueMessageEncoder() which is a Base64 encoder and docoder. If a message content string is encoded with encoder.encode(), remember to decode it with encoder.decode() after peek the message. -
      +

      Peek Messages

      @@ -213,20 +213,20 @@

      Executable Example

    • Click button to dequeue the top queue message in your selected queue:

    - +

    Step 6: Creating your JavaScript Application based on Azure Storage JavaScript Client Library

    -
      -
    • 1. Setting CORS rules for your selected Azure-Storage account queue service.
    • -
    • 2. Including functional file(s) needed, such as "azure-storage.queue.js" for queue operation.
    • -
    • 3. Using keyword "AzureStorage.Queue" to access to Azure storage JavaScript APIs for queues.
    • -
    • 4. Referring to API documents for detailed API definitions.
    • -
    +
      +
    1. Setting CORS rules for your selected Azure-Storage account queue service.
    2. +
    3. Including functional file(s) needed, such as "azure-storage.queue.js" for queue operation.
    4. +
    5. Using keyword "AzureStorage.Queue" to access to Azure storage JavaScript APIs for queues.
    6. +
    7. Referring to API documents for detailed API definitions.
    8. +

    You can view the source code of this sample for detailed reference.

    - + - - \ No newline at end of file + + diff --git a/browser/samples/sample-table.html b/browser/samples/sample-table.html index 7fadab4f..c2596fe3 100644 --- a/browser/samples/sample-table.html +++ b/browser/samples/sample-table.html @@ -1,7 +1,7 @@ - + Azure Storage JavaScript Client Library Sample for Table Operations @@ -17,10 +17,10 @@

    Azure Storage JavaScript Client Library Sample for Table Operations

    Azure Storage table is a service that stores structured NoSQL data in the cloud. Table storage is a key/attribute store with a schemaless design. Because Table storage is schemaless, it's easy to adapt your data as the needs of your application evolve. Access to data is fast and cost-effective for all kinds of applications. Table storage is typically significantly lower in cost than traditional SQL for similar volumes of data.

    -
    +
    Note: You may need set up a HTTP server to host this sample for IE11 and latest Chrome. -
    +

    Contents:

    @@ -50,7 +50,7 @@

    Step 2: Importing Azure Storage JavaScript Client Library

    Step 3: Creating an Azure Storage Table Service Object

    - The TableService object lets you work with table and entities. + The TableService object lets you work with table and entities. Following code creates a TableService object with storage account and SAS Token.

    @@ -60,18 +60,18 @@ 

    Step 3: Creating an Azure Storage Table Service Object

    You can load Azure Storage JavaScript Client Library in a CommonJS or AMD environment by JavaScript module loaders. If no module system is found, global variable AzureStorage.Table will be set, which is the start point where we can create service objects for table and access to the storage utilities.

    -
    +
    - How to get full detailed API definitions? Currently, the JavaScript Client Library shares almost the same API definitions with Node.js SDK, besides Node.js runtime specific APIs. + How to get full detailed API definitions? Currently, the JavaScript Client Library shares almost the same API definitions with Node.js SDK, besides Node.js runtime specific APIs. Please check API details on Azure Storage API reference documents. The JavaScript global variable AzureStorage.Table is just like the object require('azure-storage') returns in Node.js, but limits to Table related interfaces. Go to TableService to view possible methods provided by TableService class. -
    +
    -
    +
    - Warning: Azure Storage JavaScript Client Library also supports creating TableService based on Storage Account Key for authentication besides SAS Token. - However, for security concerns, we recommend use of a limited time SAS Token, generated by a backend web server using a Stored Access Policy. -
    + Warning: Azure Storage JavaScript Client Library also supports creating TableService based on Storage Account Key for authentication besides SAS Token. + However, for security concerns, we recommend use of a limited time SAS Token, generated by a backend web server using a Stored Access Policy. +

    Step 4: Table Operations

    @@ -119,9 +119,9 @@

    Delete Table

    Executable Example

    The sample will try to create an Azure Storage table service object based on SAS Token authorization. Enter your Azure Storage account name and SAS Token here. Make sure you have set the CORS rules for the Azure Storage table service, and the SAS Token is in valid period.

    - + -

    Azure Storage table service provides plenty of interfaces for table operations. In following example, you can try to list all the tables under your storage account, and try to create or delete one table from your account.

    +

    Azure Storage table service provides plenty of interfaces for table operations. In following example, you can try to list all the tables under your storage account, and try to create or delete one table from your account.

    • Click button to view the table list under your Azure Storage account

    • Click button to create a table under your Azure Storage account

      @@ -183,7 +183,7 @@

      Delete Entity

      // Delete table entity successfully } }); -
    +

    Executable Example

    After clicked the "Select" button on the table list, you are able to operate with the table entities under the selected table.

    @@ -191,9 +191,9 @@

    Executable Example

  • Click button to refresh the entity list in your selected table

  • Click button to create an entity in your selected table. If existing entity with the sampe PartitionKey and RowKey, old entity will be merged.

    - + - +

  • @@ -202,16 +202,16 @@

    Executable Example

    Step 6: Creating your JavaScript Application based on Azure Storage JavaScript Client Library

    -
      -
    • 1. Setting CORS rules for your selected Azure-Storage account table service.
    • -
    • 2. Including functional file(s) needed, such as "azure-storage.table.js" for table operation.
    • -
    • 3. Using keyword "AzureStorage.Table" to access to Azure storage JavaScript APIs for tables.
    • -
    • 4. Referring to API documents for detailed API definitions.
    • -
    +
      +
    1. Setting CORS rules for your selected Azure-Storage account table service.
    2. +
    3. Including functional file(s) needed, such as "azure-storage.table.js" for table operation.
    4. +
    5. Using keyword "AzureStorage.Table" to access to Azure storage JavaScript APIs for tables.
    6. +
    7. Referring to API documents for detailed API definitions.
    8. +

    You can view the source code of this sample for detailed reference.

    - + - - \ No newline at end of file + + From e9620f7057b0e81d9ba9695b912bdecbf3e47ba4 Mon Sep 17 00:00:00 2001 From: jiacfan Date: Sat, 29 Sep 2018 16:45:32 +0800 Subject: [PATCH 11/18] Upgrade xmlbuilder to 9.0.7. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 089e4415..7eebdf8b 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,7 @@ "uuid": "^3.0.0", "validator": "~9.4.1", "xml2js": "0.2.8", - "xmlbuilder": "0.4.3" + "xmlbuilder": "9.0.7" }, "devDependencies": { "batchflow": "0.4.0", From 4be9714a11d5231f0c48cebf92aa16f412eda9e7 Mon Sep 17 00:00:00 2001 From: jiacfan Date: Sat, 29 Sep 2018 16:47:07 +0800 Subject: [PATCH 12/18] Upgrade extend to 3.0.2. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 7eebdf8b..138c2531 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "license": "Apache-2.0", "dependencies": { "browserify-mime": "~1.2.9", - "extend": "~1.2.1", + "extend": "3.0.2", "json-edm-parser": "0.1.2", "md5.js": "1.3.4", "readable-stream": "~2.0.0", From 4fd4a2feac88f0f2040efc62e8803630ca43fa3f Mon Sep 17 00:00:00 2001 From: jiacfan Date: Sat, 29 Sep 2018 17:20:14 +0800 Subject: [PATCH 13/18] Support empty text in API createFileFromText. --- lib/services/file/fileservice.core.js | 12 +++++----- .../file/fileservice-uploaddownload-tests.js | 22 +++++++++++++++++++ 2 files changed, 27 insertions(+), 7 deletions(-) diff --git a/lib/services/file/fileservice.core.js b/lib/services/file/fileservice.core.js index 13140927..13dbca2f 100644 --- a/lib/services/file/fileservice.core.js +++ b/lib/services/file/fileservice.core.js @@ -2784,14 +2784,12 @@ FileService.prototype.createFileFromText = function (share, directory, file, tex v.string(share, 'share'); v.stringAllowEmpty(directory, 'directory'); v.string(file, 'file'); - v.exists(text, 'text'); v.shareNameIsValid(share); v.callback(callback); }); var options = extend(true, {}, userOptions); - - var length = Buffer.isBuffer(text) ? text.length : Buffer.byteLength(text); + var length = azureutil.objectIsNull(text) ? 0 : ((Buffer.isBuffer(text) ? text.length : Buffer.byteLength(text))); if (length > FileConstants.MAX_UPDATE_FILE_SIZE) { throw new Error(SR.INVALID_FILE_LENGTH); } @@ -2801,9 +2799,9 @@ FileService.prototype.createFileFromText = function (share, directory, file, tex } var self = this; - this.createFile(share, directory, file, length, options, function(error) { - if(error) { - callback(error); + this.createFile(share, directory, file, length, options, function(error, fileResult, response) { + if(error || length === 0) { + callback(error, fileResult, response); } else { self._createRanges(share, directory, file, text, null, 0, length - 1, options, callback); @@ -3200,7 +3198,7 @@ FileService.prototype.abortCopyFile = function (share, directory, file, copyId, * `response` will contain information related to this operation. */ FileService.prototype._createRanges = function (share, directory, file, text, readStream, rangeStart, rangeEnd, options, callback) { -var request = this._updateFilesImpl(share, directory, file, rangeStart, rangeEnd, FileConstants.RangeWriteOptions.UPDATE, options); + var request = this._updateFilesImpl(share, directory, file, rangeStart, rangeEnd, FileConstants.RangeWriteOptions.UPDATE, options); // At this point, we have already validated that the range is less than 4MB. Therefore, we just need to calculate the contentMD5 if required. if(!azureutil.objectIsNull(text) && azureutil.objectIsNull(options.transactionalContentMD5) && options.useTransactionalMD5 === true) { diff --git a/test/services/file/fileservice-uploaddownload-tests.js b/test/services/file/fileservice-uploaddownload-tests.js index e0672153..786e8d0f 100644 --- a/test/services/file/fileservice-uploaddownload-tests.js +++ b/test/services/file/fileservice-uploaddownload-tests.js @@ -839,6 +839,28 @@ describe('FileUploadDownload', function () { }); describe('createFileFromText', function () { + it('should work with empty text', function(done){ + var fileText = ''; + var fileName='emptyfile'; + fileService.createFileFromText(shareName, directoryName, fileName, fileText, function (uploadError, file, uploadResponse) { + assert.equal(uploadError, null); + assert.ok(file); + assert.ok(uploadResponse.isSuccessful); + assert.equal(file.share, shareName); + assert.equal(file.directory, directoryName); + assert.equal(file.name, fileName); + + fileService.getFileToText(shareName, directoryName, fileName, function (downloadErr, text, file, downloadResponse) { + assert.equal(downloadErr, null); + assert.ok(downloadResponse.isSuccessful); + assert.ok(file); + assert.equal(text, fileText); + + done(); + }); + }); + }); + it('should work with basic text', function (done) { var fileText = 'Hello World'; fileService.createFileFromText(shareName, directoryName, fileName, fileText, function (uploadError, file, uploadResponse) { From 23d961f5f62cb27c6088e90c058498feb9059b9c Mon Sep 17 00:00:00 2001 From: jiacfan Date: Mon, 8 Oct 2018 14:59:49 +0800 Subject: [PATCH 14/18] Change code to use xmlbuilder ^9.0.7 and extend ^3.0.2. --- lib/common/models/aclresult.js | 3 +-- lib/common/models/servicepropertiesresult.js | 3 +-- lib/common/util/patch-xmlbuilder.js | 5 +++-- lib/services/blob/models/blocklistresult.js | 3 +-- lib/services/queue/models/queuemessageresult.js | 3 +-- package.json | 4 ++-- 6 files changed, 9 insertions(+), 12 deletions(-) diff --git a/lib/common/models/aclresult.js b/lib/common/models/aclresult.js index abe4906d..5e4fb7ce 100644 --- a/lib/common/models/aclresult.js +++ b/lib/common/models/aclresult.js @@ -32,8 +32,7 @@ exports = module.exports; * @return {string} The XML container acl permissions. */ exports.serialize = function (signedIdentifiersJs) { - var doc = xmlbuilder.create(); - doc = doc.begin(AclConstants.SIGNED_IDENTIFIERS_ELEMENT, { version: '1.0', encoding: 'utf-8' }); + var doc = xmlbuilder.create(AclConstants.SIGNED_IDENTIFIERS_ELEMENT, { version: '1.0', encoding: 'utf-8' }); var keys = Object.keys(signedIdentifiersJs); if (keys.length > 0) { diff --git a/lib/common/models/servicepropertiesresult.js b/lib/common/models/servicepropertiesresult.js index 70e1a8fd..49996528 100644 --- a/lib/common/models/servicepropertiesresult.js +++ b/lib/common/models/servicepropertiesresult.js @@ -250,8 +250,7 @@ function serializeCorsRules(doc, rules) { } exports.serialize = function (servicePropertiesJs) { - var doc = xmlbuilder.create(); - doc = doc.begin(ServicePropertiesConstants.STORAGE_SERVICE_PROPERTIES_ELEMENT, { version: '1.0', encoding: 'utf-8' }); + var doc = xmlbuilder.create(ServicePropertiesConstants.STORAGE_SERVICE_PROPERTIES_ELEMENT, { version: '1.0', encoding: 'utf-8' }); if (servicePropertiesJs.Logging) { doc = doc.ele(ServicePropertiesConstants.LOGGING_ELEMENT); diff --git a/lib/common/util/patch-xmlbuilder.js b/lib/common/util/patch-xmlbuilder.js index 06f6e129..22655da2 100644 --- a/lib/common/util/patch-xmlbuilder.js +++ b/lib/common/util/patch-xmlbuilder.js @@ -16,16 +16,17 @@ 'use strict'; -var XMLBuilder = require('xmlbuilder/lib/XMLBuilder'); +var XMLStringifier = require('xmlbuilder/lib/XMLStringifier'); // Patch xmlbuilder to allow Unicode surrogate pair code // points in XML bodies -XMLBuilder.prototype.assertLegalChar = function(str) { +XMLStringifier.prototype.assertLegalChar = function(str) { var chars, chr; chars = /[\u0000-\u0008\u000B-\u000C\u000E-\u001F\uFFFE-\uFFFF]/; chr = str.match(chars); if (chr) { throw new Error('Invalid character (' + chr + ') in string: ' + str); } + return str; }; \ No newline at end of file diff --git a/lib/services/blob/models/blocklistresult.js b/lib/services/blob/models/blocklistresult.js index d5ea61a3..c0f8e52d 100644 --- a/lib/services/blob/models/blocklistresult.js +++ b/lib/services/blob/models/blocklistresult.js @@ -28,8 +28,7 @@ var Constants = azureCommon.Constants; * @return {string} The XML block list. */ exports.serialize = function (blockListJs) { - var blockListDoc = xmlbuilder.create(); - blockListDoc = blockListDoc.begin(Constants.BlobConstants.BLOCK_LIST_ELEMENT, { version: '1.0', encoding: 'utf-8' }); + var blockListDoc = xmlbuilder.create(Constants.BlobConstants.BLOCK_LIST_ELEMENT, { version: '1.0', encoding: 'utf-8' }); if (_.isArray(blockListJs.LatestBlocks)) { blockListJs.LatestBlocks.forEach(function (block) { diff --git a/lib/services/queue/models/queuemessageresult.js b/lib/services/queue/models/queuemessageresult.js index 0586a85c..0582aed2 100644 --- a/lib/services/queue/models/queuemessageresult.js +++ b/lib/services/queue/models/queuemessageresult.js @@ -63,8 +63,7 @@ function QueueMessageResult(queue, messageId, popReceipt) { * @return {string} The XML queue message. */ QueueMessageResult.serialize = function (messageJs, encoder) { - var doc = xmlbuilder.create(); - doc = doc.begin(Constants.QueueConstants.QUEUE_MESSAGE_ELEMENT, { version: '1.0', encoding: 'utf-8' }); + var doc = xmlbuilder.create(Constants.QueueConstants.QUEUE_MESSAGE_ELEMENT, { version: '1.0', encoding: 'utf-8' }); if (messageJs) { var message; diff --git a/package.json b/package.json index 138c2531..239d20f9 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "license": "Apache-2.0", "dependencies": { "browserify-mime": "~1.2.9", - "extend": "3.0.2", + "extend": "^3.0.2", "json-edm-parser": "0.1.2", "md5.js": "1.3.4", "readable-stream": "~2.0.0", @@ -30,7 +30,7 @@ "uuid": "^3.0.0", "validator": "~9.4.1", "xml2js": "0.2.8", - "xmlbuilder": "9.0.7" + "xmlbuilder": "^9.0.7" }, "devDependencies": { "batchflow": "0.4.0", From 1027077e3b28d95fea84dc2ff7c15fb0dce2c3d4 Mon Sep 17 00:00:00 2001 From: jiacfan Date: Tue, 9 Oct 2018 10:55:41 +0800 Subject: [PATCH 15/18] Use Buffer.alloc in HmacSha256Sign. --- lib/common/signing/hmacsha256sign.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/common/signing/hmacsha256sign.js b/lib/common/signing/hmacsha256sign.js index e1f7f099..89314e19 100644 --- a/lib/common/signing/hmacsha256sign.js +++ b/lib/common/signing/hmacsha256sign.js @@ -24,7 +24,7 @@ var crypto = require('crypto'); */ function HmacSha256Sign(accessKey) { this._accessKey = accessKey; - this._decodedAccessKey = new Buffer(this._accessKey, 'base64'); + this._decodedAccessKey = Buffer.from(this._accessKey, 'base64'); } /** From 34bf2459c25af3545acd2a4ed533427d0458241f Mon Sep 17 00:00:00 2001 From: jiacfan Date: Tue, 9 Oct 2018 11:08:55 +0800 Subject: [PATCH 16/18] Update recordings for mock test. --- .../fileservice-uploaddownload-tests.nock.js | 4914 +++++------------ 1 file changed, 1307 insertions(+), 3607 deletions(-) diff --git a/test/recordings/fileservice-uploaddownload-tests.nock.js b/test/recordings/fileservice-uploaddownload-tests.nock.js index 03d70b7c..fa860520 100644 --- a/test/recordings/fileservice-uploaddownload-tests.nock.js +++ b/test/recordings/fileservice-uploaddownload-tests.nock.js @@ -1,4674 +1,2374 @@ // This file has been autogenerated. exports.setEnvironment = function() { - process.env['AZURE_STORAGE_CONNECTION_STRING'] = 'DefaultEndpointsProtocol=https;AccountName=xplat;AccountKey=null'; + process.env['AZURE_STORAGE_CONNECTION_STRING'] = 'DefaultEndpointsProtocol=https;AccountName=jiacstgsoutheastasia01;AccountKey=null;EndpointSuffix=core.windows.net'; + process.env['AZURE_STORAGE_CONNECTION_STRING_PREMIUM_ACCOUNT'] = 'DefaultEndpointsProtocol=https;AccountName=xiaonlipresoutheastasia;AccountKey=null;EndpointSuffix=core.windows.net'; + process.env['AZURE_STORAGE_CONNECTION_STRING_BLOB_ACCOUNT'] = 'DefaultEndpointsProtocol=https;AccountName=xiaonlistageblob3;AccountKey=null;EndpointSuffix=core.windows.net'; + process.env['AZURE_STORAGE_CONNECTION_STRING_SSE_ENABLED_ACCOUNT'] = 'DefaultEndpointsProtocol=https;AccountName=xiaonlinodeeastasia2;AccountKey=null;EndpointSuffix=core.windows.net'; } exports.scopes = [[function (nock) { var result = -nock('http://xplat.file.core.windows.net:443') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') .head('/upload-test-share-testdata1?restype=share') - .reply(200, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Fri, 15 Jul 2016 07:33:20 GMT', - etag: '"0x8D3AC824B6FA583"', + .reply(404, "", { 'transfer-encoding': 'chunked', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'c38b66d4-001a-002e-7702-6716c0000000', - 'x-ms-version': '2016-05-31', - 'x-ms-share-quota': '5120', - date: 'Thu, 05 Jan 2017 03:22:11 GMT', - connection: 'close' }); + 'x-ms-request-id': 'c7fee853-801a-0100-2b7b-5fddb8000000', + 'x-ms-version': '2018-03-28', + 'x-ms-error-code': 'ShareNotFound', + date: 'Tue, 09 Oct 2018 02:57:23 GMT' }); return result; }, function (nock) { var result = -nock('https://xplat.file.core.windows.net:443') - .head('/upload-test-share-testdata1?restype=share') - .reply(200, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Fri, 15 Jul 2016 07:33:20 GMT', - etag: '"0x8D3AC824B6FA583"', +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') + .put('/upload-test-share-testdata1?restype=share') + .reply(201, "", { 'transfer-encoding': 'chunked', + 'last-modified': 'Tue, 09 Oct 2018 02:57:23 GMT', + etag: '"0x8D62D92F01C6C15"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'c38b66d4-001a-002e-7702-6716c0000000', - 'x-ms-version': '2016-05-31', - 'x-ms-share-quota': '5120', - date: 'Thu, 05 Jan 2017 03:22:11 GMT', - connection: 'close' }); + 'x-ms-request-id': 'c7fee856-801a-0100-2c7b-5fddb8000000', + 'x-ms-version': '2018-03-28', + date: 'Tue, 09 Oct 2018 02:57:23 GMT' }); return result; }, function (nock) { var result = -nock('http://xplat.file.core.windows.net:443') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') .head('/upload-test-share-testdata1/dir-testdata2?restype=directory') - .reply(200, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Fri, 15 Jul 2016 07:33:21 GMT', - etag: '"0x8D3AC824C07AC25"', + .reply(404, "", { 'transfer-encoding': 'chunked', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'ebc82289-001a-0037-6302-673aa8000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:12 GMT', - connection: 'close' }); + 'x-ms-request-id': 'c7fee858-801a-0100-2d7b-5fddb8000000', + 'x-ms-version': '2018-03-28', + 'x-ms-error-code': 'ResourceNotFound', + date: 'Tue, 09 Oct 2018 02:57:24 GMT' }); return result; }, function (nock) { var result = -nock('https://xplat.file.core.windows.net:443') - .head('/upload-test-share-testdata1/dir-testdata2?restype=directory') - .reply(200, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Fri, 15 Jul 2016 07:33:21 GMT', - etag: '"0x8D3AC824C07AC25"', +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') + .put('/upload-test-share-testdata1/dir-testdata2?restype=directory') + .reply(201, "", { 'transfer-encoding': 'chunked', + 'last-modified': 'Tue, 09 Oct 2018 02:57:25 GMT', + etag: '"0x8D62D92F131901B"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'ebc82289-001a-0037-6302-673aa8000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:12 GMT', - connection: 'close' }); + 'x-ms-request-id': 'c7fee859-801a-0100-2e7b-5fddb8000000', + 'x-ms-version': '2018-03-28', + 'x-ms-request-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:25 GMT' }); return result; }], [function (nock) { var result = -nock('http://xplat.file.core.windows.net:443') - .filteringRequestBody(function (path) { return '*';}) -.put('/upload-test-share-testdata1/dir-testdata2/file-testdata3?comp=range', '*') - .reply(404, "ResourceNotFoundThe specified resource does not exist.\nRequestId:b6773e2f-001a-0040-7902-67bfe9000000\nTime:2017-01-05T03:22:12.5510095Z", { 'content-length': '223', - 'content-type': 'application/xml', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'b6773e2f-001a-0040-7902-67bfe9000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:12 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('https://xplat.file.core.windows.net:443') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') .filteringRequestBody(function (path) { return '*';}) .put('/upload-test-share-testdata1/dir-testdata2/file-testdata3?comp=range', '*') - .reply(404, "ResourceNotFoundThe specified resource does not exist.\nRequestId:b6773e2f-001a-0040-7902-67bfe9000000\nTime:2017-01-05T03:22:12.5510095Z", { 'content-length': '223', + .reply(404, "ResourceNotFoundThe specified resource does not exist.\nRequestId:c7fee85c-801a-0100-2f7b-5fddb8000000\nTime:2018-10-09T02:57:26.0286096Z", { 'content-length': '223', 'content-type': 'application/xml', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'b6773e2f-001a-0040-7902-67bfe9000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:12 GMT', - connection: 'close' }); + 'x-ms-request-id': 'c7fee85c-801a-0100-2f7b-5fddb8000000', + 'x-ms-version': '2018-03-28', + 'x-ms-error-code': 'ResourceNotFound', + date: 'Tue, 09 Oct 2018 02:57:25 GMT' }); return result; }], [function (nock) { var result = -nock('http://xplat.file.core.windows.net:443') - .head('/upload-test-share-testdata1/dir-testdata2/file-testdata4') - .reply(404, "", { 'transfer-encoding': 'chunked', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'c58e88f4-001a-0049-5d02-67a567000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:13 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('https://xplat.file.core.windows.net:443') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') .head('/upload-test-share-testdata1/dir-testdata2/file-testdata4') .reply(404, "", { 'transfer-encoding': 'chunked', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'c58e88f4-001a-0049-5d02-67a567000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:13 GMT', - connection: 'close' }); + 'x-ms-request-id': 'c7fee85d-801a-0100-307b-5fddb8000000', + 'x-ms-version': '2018-03-28', + 'x-ms-error-code': 'ResourceNotFound', + date: 'Tue, 09 Oct 2018 02:57:26 GMT' }); return result; }], [function (nock) { var result = -nock('http://xplat.file.core.windows.net:443') - .put('/upload-test-share-testdata1/dir-testdata2/file-testdata5') - .reply(201, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Thu, 05 Jan 2017 03:22:13 GMT', - etag: '"0x8D4351A0B159A28"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '509f93d1-001a-004d-5102-6750e5000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:13 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('https://xplat.file.core.windows.net:443') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') .put('/upload-test-share-testdata1/dir-testdata2/file-testdata5') .reply(201, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Thu, 05 Jan 2017 03:22:13 GMT', - etag: '"0x8D4351A0B159A28"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '509f93d1-001a-004d-5102-6750e5000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:13 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('http://xplat.file.core.windows.net:443') - .filteringRequestBody(function (path) { return '*';}) -.put('/upload-test-share-testdata1/dir-testdata2/file-testdata5?comp=range', '*') - .reply(201, "", { 'transfer-encoding': 'chunked', - 'content-md5': 'ZajifYh5KDgxtmS9i38K1A==', - 'last-modified': 'Thu, 05 Jan 2017 03:22:14 GMT', - etag: '"0x8D4351A0B5CB626"', + 'last-modified': 'Tue, 09 Oct 2018 02:57:26 GMT', + etag: '"0x8D62D92F1A15C9B"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'e44fcebf-001a-0023-1502-67f9cc000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:13 GMT', - connection: 'close' }); + 'x-ms-request-id': 'c7fee85e-801a-0100-317b-5fddb8000000', + 'x-ms-version': '2018-03-28', + 'x-ms-request-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:26 GMT' }); return result; }, function (nock) { var result = -nock('https://xplat.file.core.windows.net:443') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') .filteringRequestBody(function (path) { return '*';}) .put('/upload-test-share-testdata1/dir-testdata2/file-testdata5?comp=range', '*') .reply(201, "", { 'transfer-encoding': 'chunked', 'content-md5': 'ZajifYh5KDgxtmS9i38K1A==', - 'last-modified': 'Thu, 05 Jan 2017 03:22:14 GMT', - etag: '"0x8D4351A0B5CB626"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'e44fcebf-001a-0023-1502-67f9cc000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:13 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('http://xplat.file.core.windows.net:443') - .get('/upload-test-share-testdata1/dir-testdata2/file-testdata5') - .reply(206, "ll", { 'content-length': '2', - 'content-type': 'application/octet-stream', - 'content-range': 'bytes 2-3/13', - 'last-modified': 'Thu, 05 Jan 2017 03:22:14 GMT', - 'accept-ranges': 'bytes', - etag: '"0x8D4351A0B5CB626"', + 'last-modified': 'Tue, 09 Oct 2018 02:57:26 GMT', + etag: '"0x8D62D92F1AFB7E0"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'bf006e7d-001a-0035-1a02-673852000000', - 'x-ms-version': '2016-05-31', - 'x-ms-type': 'File', - date: 'Thu, 05 Jan 2017 03:22:14 GMT', - connection: 'close' }); + 'x-ms-request-id': 'c7fee85f-801a-0100-327b-5fddb8000000', + 'x-ms-version': '2018-03-28', + 'x-ms-request-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:26 GMT' }); return result; }, function (nock) { var result = -nock('https://xplat.file.core.windows.net:443') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') .get('/upload-test-share-testdata1/dir-testdata2/file-testdata5') .reply(206, "ll", { 'content-length': '2', 'content-type': 'application/octet-stream', 'content-range': 'bytes 2-3/13', - 'last-modified': 'Thu, 05 Jan 2017 03:22:14 GMT', + 'last-modified': 'Tue, 09 Oct 2018 02:57:26 GMT', 'accept-ranges': 'bytes', - etag: '"0x8D4351A0B5CB626"', + etag: '"0x8D62D92F1AFB7E0"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'bf006e7d-001a-0035-1a02-673852000000', - 'x-ms-version': '2016-05-31', + 'x-ms-request-id': 'c7fee860-801a-0100-337b-5fddb8000000', + 'x-ms-version': '2018-03-28', 'x-ms-type': 'File', - date: 'Thu, 05 Jan 2017 03:22:14 GMT', - connection: 'close' }); + 'x-ms-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:26 GMT' }); return result; }], [function (nock) { var result = -nock('http://xplat.file.core.windows.net:443') - .put('/upload-test-share-testdata1/dir-testdata2/file-testdata6') - .reply(201, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Thu, 05 Jan 2017 03:22:15 GMT', - etag: '"0x8D4351A0BE521DD"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'c1e03441-001a-0002-2102-6794fd000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:13 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('https://xplat.file.core.windows.net:443') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') .put('/upload-test-share-testdata1/dir-testdata2/file-testdata6') .reply(201, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Thu, 05 Jan 2017 03:22:15 GMT', - etag: '"0x8D4351A0BE521DD"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'c1e03441-001a-0002-2102-6794fd000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:13 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('http://xplat.file.core.windows.net:443') - .filteringRequestBody(function (path) { return '*';}) -.put('/upload-test-share-testdata1/dir-testdata2/file-testdata6?comp=range', '*') - .reply(201, "", { 'transfer-encoding': 'chunked', - 'content-md5': 'ZajifYh5KDgxtmS9i38K1A==', - 'last-modified': 'Thu, 05 Jan 2017 03:22:15 GMT', - etag: '"0x8D4351A0C26234F"', + 'last-modified': 'Tue, 09 Oct 2018 02:57:26 GMT', + etag: '"0x8D62D92F1C62B6A"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'e48c8a59-001a-0000-5e02-679607000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:14 GMT', - connection: 'close' }); + 'x-ms-request-id': 'c7fee861-801a-0100-347b-5fddb8000000', + 'x-ms-version': '2018-03-28', + 'x-ms-request-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:26 GMT' }); return result; }, function (nock) { var result = -nock('https://xplat.file.core.windows.net:443') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') .filteringRequestBody(function (path) { return '*';}) .put('/upload-test-share-testdata1/dir-testdata2/file-testdata6?comp=range', '*') .reply(201, "", { 'transfer-encoding': 'chunked', 'content-md5': 'ZajifYh5KDgxtmS9i38K1A==', - 'last-modified': 'Thu, 05 Jan 2017 03:22:15 GMT', - etag: '"0x8D4351A0C26234F"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'e48c8a59-001a-0000-5e02-679607000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:14 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('http://xplat.file.core.windows.net:443') - .get('/upload-test-share-testdata1/dir-testdata2/file-testdata6') - .reply(206, "llo, World!", { 'content-length': '11', - 'content-type': 'application/octet-stream', - 'content-range': 'bytes 2-12/13', - 'last-modified': 'Thu, 05 Jan 2017 03:22:15 GMT', - 'accept-ranges': 'bytes', - etag: '"0x8D4351A0C26234F"', + 'last-modified': 'Tue, 09 Oct 2018 02:57:26 GMT', + etag: '"0x8D62D92F1D2B187"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '62dfffc4-001a-001d-7102-674fed000000', - 'x-ms-version': '2016-05-31', - 'x-ms-type': 'File', - date: 'Thu, 05 Jan 2017 03:22:15 GMT', - connection: 'close' }); + 'x-ms-request-id': 'c7fee862-801a-0100-357b-5fddb8000000', + 'x-ms-version': '2018-03-28', + 'x-ms-request-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:26 GMT' }); return result; }, function (nock) { var result = -nock('https://xplat.file.core.windows.net:443') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') .get('/upload-test-share-testdata1/dir-testdata2/file-testdata6') .reply(206, "llo, World!", { 'content-length': '11', 'content-type': 'application/octet-stream', 'content-range': 'bytes 2-12/13', - 'last-modified': 'Thu, 05 Jan 2017 03:22:15 GMT', + 'last-modified': 'Tue, 09 Oct 2018 02:57:26 GMT', 'accept-ranges': 'bytes', - etag: '"0x8D4351A0C26234F"', + etag: '"0x8D62D92F1D2B187"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '62dfffc4-001a-001d-7102-674fed000000', - 'x-ms-version': '2016-05-31', + 'x-ms-request-id': 'c7fee863-801a-0100-367b-5fddb8000000', + 'x-ms-version': '2018-03-28', 'x-ms-type': 'File', - date: 'Thu, 05 Jan 2017 03:22:15 GMT', - connection: 'close' }); + 'x-ms-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:26 GMT' }); return result; }], [function (nock) { var result = -nock('http://xplat.file.core.windows.net:443') - .put('/upload-test-share-testdata1/dir-testdata2/file-testdata7') - .reply(201, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Thu, 05 Jan 2017 03:22:16 GMT', - etag: '"0x8D4351A0CAFC778"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'bcbc35af-001a-0025-7302-670eb4000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:15 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('https://xplat.file.core.windows.net:443') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') .put('/upload-test-share-testdata1/dir-testdata2/file-testdata7') .reply(201, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Thu, 05 Jan 2017 03:22:16 GMT', - etag: '"0x8D4351A0CAFC778"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'bcbc35af-001a-0025-7302-670eb4000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:15 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('http://xplat.file.core.windows.net:443') - .filteringRequestBody(function (path) { return '*';}) -.put('/upload-test-share-testdata1/dir-testdata2/file-testdata7?comp=range', '*') - .reply(201, "", { 'transfer-encoding': 'chunked', - 'content-md5': 'E3UgB9BbXQ45WdncTaUTwg==', - 'last-modified': 'Thu, 05 Jan 2017 03:22:17 GMT', - etag: '"0x8D4351A0D1875C3"', + 'last-modified': 'Tue, 09 Oct 2018 02:57:26 GMT', + etag: '"0x8D62D92F1E94C2D"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '6cfd84cb-001a-002f-2002-67173d000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:16 GMT', - connection: 'close' }); + 'x-ms-request-id': 'c7fee864-801a-0100-377b-5fddb8000000', + 'x-ms-version': '2018-03-28', + 'x-ms-request-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:26 GMT' }); return result; }, function (nock) { var result = -nock('https://xplat.file.core.windows.net:443') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') .filteringRequestBody(function (path) { return '*';}) .put('/upload-test-share-testdata1/dir-testdata2/file-testdata7?comp=range', '*') .reply(201, "", { 'transfer-encoding': 'chunked', 'content-md5': 'E3UgB9BbXQ45WdncTaUTwg==', - 'last-modified': 'Thu, 05 Jan 2017 03:22:17 GMT', - etag: '"0x8D4351A0D1875C3"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '6cfd84cb-001a-002f-2002-67173d000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:16 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('http://xplat.file.core.windows.net:443') - .get('/upload-test-share-testdata1/dir-testdata2/file-testdata7') - .reply(200, "\u0000\u0000\u0000\u0000\u0000createRangesFromStreamText", { 'content-length': '31', - 'content-type': 'application/octet-stream', - 'last-modified': 'Thu, 05 Jan 2017 03:22:17 GMT', - 'accept-ranges': 'bytes', - etag: '"0x8D4351A0D1875C3"', + 'last-modified': 'Tue, 09 Oct 2018 02:57:26 GMT', + etag: '"0x8D62D92F1F5F96B"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '8584bbba-001a-0041-6402-67be14000000', - 'x-ms-version': '2016-05-31', - 'x-ms-type': 'File', - date: 'Thu, 05 Jan 2017 03:22:16 GMT', - connection: 'close' }); + 'x-ms-request-id': 'c7fee865-801a-0100-387b-5fddb8000000', + 'x-ms-version': '2018-03-28', + 'x-ms-request-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:26 GMT' }); return result; }, function (nock) { var result = -nock('https://xplat.file.core.windows.net:443') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') .get('/upload-test-share-testdata1/dir-testdata2/file-testdata7') .reply(200, "\u0000\u0000\u0000\u0000\u0000createRangesFromStreamText", { 'content-length': '31', 'content-type': 'application/octet-stream', - 'last-modified': 'Thu, 05 Jan 2017 03:22:17 GMT', + 'last-modified': 'Tue, 09 Oct 2018 02:57:26 GMT', 'accept-ranges': 'bytes', - etag: '"0x8D4351A0D1875C3"', + etag: '"0x8D62D92F1F5F96B"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '8584bbba-001a-0041-6402-67be14000000', - 'x-ms-version': '2016-05-31', + 'x-ms-request-id': 'c7fee866-801a-0100-397b-5fddb8000000', + 'x-ms-version': '2018-03-28', 'x-ms-type': 'File', - date: 'Thu, 05 Jan 2017 03:22:16 GMT', - connection: 'close' }); + 'x-ms-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:26 GMT' }); return result; }], [function (nock) { var result = -nock('http://xplat.file.core.windows.net:443') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') .put('/upload-test-share-testdata1/dir-testdata2/file-testdata8') .reply(201, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Thu, 05 Jan 2017 03:22:18 GMT', - etag: '"0x8D4351A0D9EE583"', + 'last-modified': 'Tue, 09 Oct 2018 02:57:26 GMT', + etag: '"0x8D62D92F20DCCD2"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'c47e9e92-001a-0003-1902-679500000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:17 GMT', - connection: 'close' }); + 'x-ms-request-id': 'c7fee873-801a-0100-447b-5fddb8000000', + 'x-ms-version': '2018-03-28', + 'x-ms-request-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:26 GMT' }); return result; }, function (nock) { var result = -nock('https://xplat.file.core.windows.net:443') - .put('/upload-test-share-testdata1/dir-testdata2/file-testdata8') - .reply(201, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Thu, 05 Jan 2017 03:22:18 GMT', - etag: '"0x8D4351A0D9EE583"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'c47e9e92-001a-0003-1902-679500000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:17 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('http://xplat.file.core.windows.net:443') - .filteringRequestBody(function (path) { return '*';}) -.put('/upload-test-share-testdata1/dir-testdata2/file-testdata8?comp=range', '*') - .reply(201, "", { 'transfer-encoding': 'chunked', - 'content-md5': 'E3UgB9BbXQ45WdncTaUTwg==', - 'last-modified': 'Thu, 05 Jan 2017 03:22:18 GMT', - etag: '"0x8D4351A0DE08337"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '51b25fff-001a-001f-6602-674d17000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:18 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('https://xplat.file.core.windows.net:443') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') .filteringRequestBody(function (path) { return '*';}) .put('/upload-test-share-testdata1/dir-testdata2/file-testdata8?comp=range', '*') .reply(201, "", { 'transfer-encoding': 'chunked', 'content-md5': 'E3UgB9BbXQ45WdncTaUTwg==', - 'last-modified': 'Thu, 05 Jan 2017 03:22:18 GMT', - etag: '"0x8D4351A0DE08337"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '51b25fff-001a-001f-6602-674d17000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:18 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('http://xplat.file.core.windows.net:443') - .get('/upload-test-share-testdata1/dir-testdata2/file-testdata8') - .reply(200, "createRangesFromStreamText", { 'content-length': '26', - 'content-type': 'application/octet-stream', - 'last-modified': 'Thu, 05 Jan 2017 03:22:18 GMT', - 'accept-ranges': 'bytes', - etag: '"0x8D4351A0DE08337"', + 'last-modified': 'Tue, 09 Oct 2018 02:57:26 GMT', + etag: '"0x8D62D92F21CC493"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'fac24144-001a-0015-7002-67549e000000', - 'x-ms-version': '2016-05-31', - 'x-ms-type': 'File', - date: 'Thu, 05 Jan 2017 03:22:18 GMT', - connection: 'close' }); + 'x-ms-request-id': 'c7fee874-801a-0100-457b-5fddb8000000', + 'x-ms-version': '2018-03-28', + 'x-ms-request-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:26 GMT' }); return result; }, function (nock) { var result = -nock('https://xplat.file.core.windows.net:443') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') .get('/upload-test-share-testdata1/dir-testdata2/file-testdata8') .reply(200, "createRangesFromStreamText", { 'content-length': '26', 'content-type': 'application/octet-stream', - 'last-modified': 'Thu, 05 Jan 2017 03:22:18 GMT', + 'last-modified': 'Tue, 09 Oct 2018 02:57:26 GMT', 'accept-ranges': 'bytes', - etag: '"0x8D4351A0DE08337"', + etag: '"0x8D62D92F21CC493"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'fac24144-001a-0015-7002-67549e000000', - 'x-ms-version': '2016-05-31', + 'x-ms-request-id': 'c7fee875-801a-0100-467b-5fddb8000000', + 'x-ms-version': '2018-03-28', 'x-ms-type': 'File', - date: 'Thu, 05 Jan 2017 03:22:18 GMT', - connection: 'close' }); + 'x-ms-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:27 GMT' }); return result; }], [function (nock) { var result = -nock('http://xplat.file.core.windows.net:443') - .put('/upload-test-share-testdata1/dir-testdata2/file-testdata9') - .reply(201, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Thu, 05 Jan 2017 03:22:19 GMT', - etag: '"0x8D4351A0E6B86F2"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'd13339b8-001a-0009-5a02-678c89000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:18 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('https://xplat.file.core.windows.net:443') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') .put('/upload-test-share-testdata1/dir-testdata2/file-testdata9') .reply(201, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Thu, 05 Jan 2017 03:22:19 GMT', - etag: '"0x8D4351A0E6B86F2"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'd13339b8-001a-0009-5a02-678c89000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:18 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('http://xplat.file.core.windows.net:443') - .filteringRequestBody(function (path) { return '*';}) -.put('/upload-test-share-testdata1/dir-testdata2/file-testdata9?comp=range', '*') - .reply(201, "", { 'transfer-encoding': 'chunked', - 'content-md5': 'E3UgB9BbXQ45WdncTaUTwg==', - 'last-modified': 'Thu, 05 Jan 2017 03:22:19 GMT', - etag: '"0x8D4351A0EAED25F"', + 'last-modified': 'Tue, 09 Oct 2018 02:57:27 GMT', + etag: '"0x8D62D92F2369442"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '5d1c6c18-001a-0026-5c02-670db3000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:19 GMT', - connection: 'close' }); + 'x-ms-request-id': 'c7fee876-801a-0100-477b-5fddb8000000', + 'x-ms-version': '2018-03-28', + 'x-ms-request-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:27 GMT' }); return result; }, function (nock) { var result = -nock('https://xplat.file.core.windows.net:443') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') .filteringRequestBody(function (path) { return '*';}) .put('/upload-test-share-testdata1/dir-testdata2/file-testdata9?comp=range', '*') .reply(201, "", { 'transfer-encoding': 'chunked', 'content-md5': 'E3UgB9BbXQ45WdncTaUTwg==', - 'last-modified': 'Thu, 05 Jan 2017 03:22:19 GMT', - etag: '"0x8D4351A0EAED25F"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '5d1c6c18-001a-0026-5c02-670db3000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:19 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('http://xplat.file.core.windows.net:443') - .get('/upload-test-share-testdata1/dir-testdata2/file-testdata9') - .reply(200, "createRangesFromStreamText", { 'content-length': '26', - 'content-type': 'application/octet-stream', - 'last-modified': 'Thu, 05 Jan 2017 03:22:19 GMT', - 'accept-ranges': 'bytes', - etag: '"0x8D4351A0EAED25F"', + 'last-modified': 'Tue, 09 Oct 2018 02:57:27 GMT', + etag: '"0x8D62D92F242CC2D"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '57fa34fc-001a-0043-5102-67bcee000000', - 'x-ms-version': '2016-05-31', - 'x-ms-type': 'File', - date: 'Thu, 05 Jan 2017 03:22:19 GMT', - connection: 'close' }); + 'x-ms-request-id': 'c7fee877-801a-0100-487b-5fddb8000000', + 'x-ms-version': '2018-03-28', + 'x-ms-request-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:27 GMT' }); return result; }, function (nock) { var result = -nock('https://xplat.file.core.windows.net:443') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') .get('/upload-test-share-testdata1/dir-testdata2/file-testdata9') .reply(200, "createRangesFromStreamText", { 'content-length': '26', 'content-type': 'application/octet-stream', - 'last-modified': 'Thu, 05 Jan 2017 03:22:19 GMT', + 'last-modified': 'Tue, 09 Oct 2018 02:57:27 GMT', 'accept-ranges': 'bytes', - etag: '"0x8D4351A0EAED25F"', + etag: '"0x8D62D92F242CC2D"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '57fa34fc-001a-0043-5102-67bcee000000', - 'x-ms-version': '2016-05-31', + 'x-ms-request-id': 'c7fee878-801a-0100-497b-5fddb8000000', + 'x-ms-version': '2018-03-28', 'x-ms-type': 'File', - date: 'Thu, 05 Jan 2017 03:22:19 GMT', - connection: 'close' }); + 'x-ms-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:27 GMT' }); return result; }], [function (nock) { var result = -nock('http://xplat.file.core.windows.net:443') - .put('/upload-test-share-testdata1/dir-testdata2/file-testdata10') - .reply(201, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Thu, 05 Jan 2017 03:22:20 GMT', - etag: '"0x8D4351A0F34F412"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '3d2e2a5d-001a-0024-3b02-670f49000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:19 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('https://xplat.file.core.windows.net:443') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') .put('/upload-test-share-testdata1/dir-testdata2/file-testdata10') .reply(201, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Thu, 05 Jan 2017 03:22:20 GMT', - etag: '"0x8D4351A0F34F412"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '3d2e2a5d-001a-0024-3b02-670f49000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:19 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('http://xplat.file.core.windows.net:443') - .filteringRequestBody(function (path) { return '*';}) -.put('/upload-test-share-testdata1/dir-testdata2/file-testdata10?comp=range', '*') - .reply(201, "", { 'transfer-encoding': 'chunked', - 'content-md5': 'lHWlkiaUOjrUIuGBaZifZg==', - 'last-modified': 'Thu, 05 Jan 2017 03:22:21 GMT', - etag: '"0x8D4351A0F78668C"', + 'last-modified': 'Tue, 09 Oct 2018 02:57:27 GMT', + etag: '"0x8D62D92F25A516A"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '802e8416-001a-0019-1102-67ba6f000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:20 GMT', - connection: 'close' }); + 'x-ms-request-id': 'c7fee879-801a-0100-4a7b-5fddb8000000', + 'x-ms-version': '2018-03-28', + 'x-ms-request-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:27 GMT' }); return result; }, function (nock) { var result = -nock('https://xplat.file.core.windows.net:443') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') .filteringRequestBody(function (path) { return '*';}) .put('/upload-test-share-testdata1/dir-testdata2/file-testdata10?comp=range', '*') .reply(201, "", { 'transfer-encoding': 'chunked', 'content-md5': 'lHWlkiaUOjrUIuGBaZifZg==', - 'last-modified': 'Thu, 05 Jan 2017 03:22:21 GMT', - etag: '"0x8D4351A0F78668C"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '802e8416-001a-0019-1102-67ba6f000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:20 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('http://xplat.file.core.windows.net:443') - .put('/upload-test-share-testdata1/dir-testdata2/file-testdata10?comp=range') - .reply(201, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Thu, 05 Jan 2017 03:22:21 GMT', - etag: '"0x8D4351A0FB9B646"', + 'last-modified': 'Tue, 09 Oct 2018 02:57:27 GMT', + etag: '"0x8D62D92F2663B23"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'ecce7ba0-001a-0022-6e02-67f831000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:21 GMT', - connection: 'close' }); + 'x-ms-request-id': 'c7fee87a-801a-0100-4b7b-5fddb8000000', + 'x-ms-version': '2018-03-28', + 'x-ms-request-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:27 GMT' }); return result; }, function (nock) { var result = -nock('https://xplat.file.core.windows.net:443') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') .put('/upload-test-share-testdata1/dir-testdata2/file-testdata10?comp=range') .reply(201, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Thu, 05 Jan 2017 03:22:21 GMT', - etag: '"0x8D4351A0FB9B646"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'ecce7ba0-001a-0022-6e02-67f831000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:21 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('http://xplat.file.core.windows.net:443') - .get('/upload-test-share-testdata1/dir-testdata2/file-testdata10?comp=rangelist') - .reply(200, "", { 'transfer-encoding': 'chunked', - 'content-type': 'application/xml', - 'last-modified': 'Thu, 05 Jan 2017 03:22:21 GMT', - etag: '"0x8D4351A0FB9B646"', + 'last-modified': 'Tue, 09 Oct 2018 02:57:27 GMT', + etag: '"0x8D62D92F273D2EF"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'd12d07ec-001a-003f-0e02-6721db000000', - 'x-ms-version': '2016-05-31', - 'x-ms-content-length': '1073741824', - date: 'Thu, 05 Jan 2017 03:22:21 GMT', - connection: 'close' }); + 'x-ms-request-id': 'c7fee87c-801a-0100-4c7b-5fddb8000000', + 'x-ms-version': '2018-03-28', + date: 'Tue, 09 Oct 2018 02:57:27 GMT' }); return result; }, function (nock) { var result = -nock('https://xplat.file.core.windows.net:443') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') .get('/upload-test-share-testdata1/dir-testdata2/file-testdata10?comp=rangelist') .reply(200, "", { 'transfer-encoding': 'chunked', 'content-type': 'application/xml', - 'last-modified': 'Thu, 05 Jan 2017 03:22:21 GMT', - etag: '"0x8D4351A0FB9B646"', + 'last-modified': 'Tue, 09 Oct 2018 02:57:27 GMT', + etag: '"0x8D62D92F273D2EF"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'd12d07ec-001a-003f-0e02-6721db000000', - 'x-ms-version': '2016-05-31', + 'x-ms-request-id': 'c7fee87d-801a-0100-4d7b-5fddb8000000', + 'x-ms-version': '2018-03-28', 'x-ms-content-length': '1073741824', - date: 'Thu, 05 Jan 2017 03:22:21 GMT', - connection: 'close' }); + date: 'Tue, 09 Oct 2018 02:57:27 GMT' }); return result; }], [function (nock) { var result = -nock('http://xplat.file.core.windows.net:443') - .put('/upload-test-share-testdata1/dir-testdata2/file-testdata11') - .reply(201, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Thu, 05 Jan 2017 03:22:22 GMT', - etag: '"0x8D4351A10455627"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '3ea71ae3-001a-000c-7102-6778f6000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:21 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('https://xplat.file.core.windows.net:443') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') .put('/upload-test-share-testdata1/dir-testdata2/file-testdata11') .reply(201, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Thu, 05 Jan 2017 03:22:22 GMT', - etag: '"0x8D4351A10455627"', + 'last-modified': 'Tue, 09 Oct 2018 02:57:27 GMT', + etag: '"0x8D62D92F29DAC0E"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '3ea71ae3-001a-000c-7102-6778f6000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:21 GMT', - connection: 'close' }); + 'x-ms-request-id': 'c7fee87e-801a-0100-4e7b-5fddb8000000', + 'x-ms-version': '2018-03-28', + 'x-ms-request-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:27 GMT' }); return result; }, function (nock) { var result = -nock('http://xplat.file.core.windows.net:443') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') .filteringRequestBody(function (path) { return '*';}) .put('/upload-test-share-testdata1/dir-testdata2/file-testdata11?comp=range', '*') .reply(201, "", { 'transfer-encoding': 'chunked', 'content-md5': 'm7eRGzEnx19aZ1QqvjWN2Q==', - 'last-modified': 'Thu, 05 Jan 2017 03:22:22 GMT', - etag: '"0x8D4351A1088536D"', + 'last-modified': 'Tue, 09 Oct 2018 02:57:27 GMT', + etag: '"0x8D62D92F2AC5597"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '841de779-001a-003d-5202-672321000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:21 GMT', - connection: 'close' }); + 'x-ms-request-id': 'c7fee87f-801a-0100-4f7b-5fddb8000000', + 'x-ms-version': '2018-03-28', + 'x-ms-request-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:27 GMT' }); return result; }, function (nock) { var result = -nock('https://xplat.file.core.windows.net:443') - .filteringRequestBody(function (path) { return '*';}) -.put('/upload-test-share-testdata1/dir-testdata2/file-testdata11?comp=range', '*') - .reply(201, "", { 'transfer-encoding': 'chunked', - 'content-md5': 'm7eRGzEnx19aZ1QqvjWN2Q==', - 'last-modified': 'Thu, 05 Jan 2017 03:22:22 GMT', - etag: '"0x8D4351A1088536D"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '841de779-001a-003d-5202-672321000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:21 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('http://xplat.file.core.windows.net:443') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') .put('/upload-test-share-testdata1/dir-testdata2/file-testdata11?comp=range') .reply(201, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Thu, 05 Jan 2017 03:22:23 GMT', - etag: '"0x8D4351A10CBED06"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'fbdc5fa9-001a-0027-1f02-670c4e000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:22 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('https://xplat.file.core.windows.net:443') - .put('/upload-test-share-testdata1/dir-testdata2/file-testdata11?comp=range') - .reply(201, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Thu, 05 Jan 2017 03:22:23 GMT', - etag: '"0x8D4351A10CBED06"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'fbdc5fa9-001a-0027-1f02-670c4e000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:22 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('http://xplat.file.core.windows.net:443') - .get('/upload-test-share-testdata1/dir-testdata2/file-testdata11?comp=rangelist') - .reply(200, "0511", { 'transfer-encoding': 'chunked', - 'content-type': 'application/xml', - 'last-modified': 'Thu, 05 Jan 2017 03:22:23 GMT', - etag: '"0x8D4351A10CBED06"', + 'last-modified': 'Tue, 09 Oct 2018 02:57:28 GMT', + etag: '"0x8D62D92F2B77BCE"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '4f06832e-001a-0044-0b02-674a6b000000', - 'x-ms-version': '2016-05-31', - 'x-ms-content-length': '1073741824', - date: 'Thu, 05 Jan 2017 03:22:23 GMT', - connection: 'close' }); + 'x-ms-request-id': 'c7fee881-801a-0100-507b-5fddb8000000', + 'x-ms-version': '2018-03-28', + date: 'Tue, 09 Oct 2018 02:57:27 GMT' }); return result; }, function (nock) { var result = -nock('https://xplat.file.core.windows.net:443') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') .get('/upload-test-share-testdata1/dir-testdata2/file-testdata11?comp=rangelist') .reply(200, "0511", { 'transfer-encoding': 'chunked', 'content-type': 'application/xml', - 'last-modified': 'Thu, 05 Jan 2017 03:22:23 GMT', - etag: '"0x8D4351A10CBED06"', + 'last-modified': 'Tue, 09 Oct 2018 02:57:28 GMT', + etag: '"0x8D62D92F2B77BCE"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '4f06832e-001a-0044-0b02-674a6b000000', - 'x-ms-version': '2016-05-31', + 'x-ms-request-id': 'c7fee882-801a-0100-517b-5fddb8000000', + 'x-ms-version': '2018-03-28', 'x-ms-content-length': '1073741824', - date: 'Thu, 05 Jan 2017 03:22:23 GMT', - connection: 'close' }); + date: 'Tue, 09 Oct 2018 02:57:28 GMT' }); return result; }], [function (nock) { var result = -nock('http://xplat.file.core.windows.net:443') - .put('/upload-test-share-testdata1/dir-testdata2/file-testdata12') - .reply(201, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Thu, 05 Jan 2017 03:22:24 GMT', - etag: '"0x8D4351A1156F0B3"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '0bed9dda-001a-0039-5902-67d6a3000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:23 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('https://xplat.file.core.windows.net:443') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') .put('/upload-test-share-testdata1/dir-testdata2/file-testdata12') .reply(201, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Thu, 05 Jan 2017 03:22:24 GMT', - etag: '"0x8D4351A1156F0B3"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '0bed9dda-001a-0039-5902-67d6a3000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:23 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('http://xplat.file.core.windows.net:443') - .filteringRequestBody(function (path) { return '*';}) -.put('/upload-test-share-testdata1/dir-testdata2/file-testdata12?comp=range', '*') - .reply(201, "", { 'transfer-encoding': 'chunked', - 'content-md5': 'lHWlkiaUOjrUIuGBaZifZg==', - 'last-modified': 'Thu, 05 Jan 2017 03:22:24 GMT', - etag: '"0x8D4351A1196E0B7"', + 'last-modified': 'Tue, 09 Oct 2018 02:57:28 GMT', + etag: '"0x8D62D92F2CFEBA0"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '07acf1c5-001a-0042-3702-67bd13000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:23 GMT', - connection: 'close' }); + 'x-ms-request-id': 'c7fee883-801a-0100-527b-5fddb8000000', + 'x-ms-version': '2018-03-28', + 'x-ms-request-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:28 GMT' }); return result; }, function (nock) { var result = -nock('https://xplat.file.core.windows.net:443') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') .filteringRequestBody(function (path) { return '*';}) .put('/upload-test-share-testdata1/dir-testdata2/file-testdata12?comp=range', '*') .reply(201, "", { 'transfer-encoding': 'chunked', 'content-md5': 'lHWlkiaUOjrUIuGBaZifZg==', - 'last-modified': 'Thu, 05 Jan 2017 03:22:24 GMT', - etag: '"0x8D4351A1196E0B7"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '07acf1c5-001a-0042-3702-67bd13000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:23 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('http://xplat.file.core.windows.net:443') - .get('/upload-test-share-testdata1/dir-testdata2/file-testdata12?comp=rangelist') - .reply(200, "0511", { 'transfer-encoding': 'chunked', - 'content-type': 'application/xml', - 'last-modified': 'Thu, 05 Jan 2017 03:22:24 GMT', - etag: '"0x8D4351A1196E0B7"', + 'last-modified': 'Tue, 09 Oct 2018 02:57:28 GMT', + etag: '"0x8D62D92F2DC238F"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '8efbdca1-001a-004b-7202-67a79d000000', - 'x-ms-version': '2016-05-31', - 'x-ms-content-length': '1073741824', - date: 'Thu, 05 Jan 2017 03:22:24 GMT', - connection: 'close' }); + 'x-ms-request-id': 'c7fee884-801a-0100-537b-5fddb8000000', + 'x-ms-version': '2018-03-28', + 'x-ms-request-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:28 GMT' }); return result; }, function (nock) { var result = -nock('https://xplat.file.core.windows.net:443') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') .get('/upload-test-share-testdata1/dir-testdata2/file-testdata12?comp=rangelist') .reply(200, "0511", { 'transfer-encoding': 'chunked', 'content-type': 'application/xml', - 'last-modified': 'Thu, 05 Jan 2017 03:22:24 GMT', - etag: '"0x8D4351A1196E0B7"', + 'last-modified': 'Tue, 09 Oct 2018 02:57:28 GMT', + etag: '"0x8D62D92F2DC238F"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '8efbdca1-001a-004b-7202-67a79d000000', - 'x-ms-version': '2016-05-31', + 'x-ms-request-id': 'c7fee885-801a-0100-547b-5fddb8000000', + 'x-ms-version': '2018-03-28', 'x-ms-content-length': '1073741824', - date: 'Thu, 05 Jan 2017 03:22:24 GMT', - connection: 'close' }); + date: 'Tue, 09 Oct 2018 02:57:28 GMT' }); return result; }], [function (nock) { var result = -nock('http://xplat.file.core.windows.net:443') - .put('/upload-test-share-testdata1/dir-testdata2/file-testdata13') - .reply(201, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Thu, 05 Jan 2017 03:22:25 GMT', - etag: '"0x8D4351A121F7380"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '254ce22b-001a-002a-6802-67e342000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:24 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('https://xplat.file.core.windows.net:443') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') .put('/upload-test-share-testdata1/dir-testdata2/file-testdata13') .reply(201, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Thu, 05 Jan 2017 03:22:25 GMT', - etag: '"0x8D4351A121F7380"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '254ce22b-001a-002a-6802-67e342000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:24 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('http://xplat.file.core.windows.net:443') - .get('/upload-test-share-testdata1/dir-testdata2/file-testdata13?comp=rangelist') - .reply(200, "", { 'transfer-encoding': 'chunked', - 'content-type': 'application/xml', - 'last-modified': 'Thu, 05 Jan 2017 03:22:25 GMT', - etag: '"0x8D4351A121F7380"', + 'last-modified': 'Tue, 09 Oct 2018 02:57:28 GMT', + etag: '"0x8D62D92F2F2E547"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '93224cf7-001a-0033-2902-67cf2a000000', - 'x-ms-version': '2016-05-31', - 'x-ms-content-length': '1073741824', - date: 'Thu, 05 Jan 2017 03:22:25 GMT', - connection: 'close' }); + 'x-ms-request-id': 'c7fee886-801a-0100-557b-5fddb8000000', + 'x-ms-version': '2018-03-28', + 'x-ms-request-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:28 GMT' }); return result; }, function (nock) { var result = -nock('https://xplat.file.core.windows.net:443') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') .get('/upload-test-share-testdata1/dir-testdata2/file-testdata13?comp=rangelist') .reply(200, "", { 'transfer-encoding': 'chunked', 'content-type': 'application/xml', - 'last-modified': 'Thu, 05 Jan 2017 03:22:25 GMT', - etag: '"0x8D4351A121F7380"', + 'last-modified': 'Tue, 09 Oct 2018 02:57:28 GMT', + etag: '"0x8D62D92F2F2E547"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '93224cf7-001a-0033-2902-67cf2a000000', - 'x-ms-version': '2016-05-31', + 'x-ms-request-id': 'c7fee887-801a-0100-567b-5fddb8000000', + 'x-ms-version': '2018-03-28', 'x-ms-content-length': '1073741824', - date: 'Thu, 05 Jan 2017 03:22:25 GMT', - connection: 'close' }); + date: 'Tue, 09 Oct 2018 02:57:28 GMT' }); return result; }], [function (nock) { var result = -nock('http://xplat.file.core.windows.net:443') - .put('/upload-test-share-testdata1/dir-testdata2/file-testdata14') - .reply(201, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Thu, 05 Jan 2017 03:22:26 GMT', - etag: '"0x8D4351A12ADD29B"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '0d4d8fd5-001a-0014-2802-675563000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:26 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('https://xplat.file.core.windows.net:443') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') .put('/upload-test-share-testdata1/dir-testdata2/file-testdata14') .reply(201, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Thu, 05 Jan 2017 03:22:26 GMT', - etag: '"0x8D4351A12ADD29B"', + 'last-modified': 'Tue, 09 Oct 2018 02:57:28 GMT', + etag: '"0x8D62D92F30A1C5C"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '0d4d8fd5-001a-0014-2802-675563000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:26 GMT', - connection: 'close' }); + 'x-ms-request-id': 'c7fee888-801a-0100-577b-5fddb8000000', + 'x-ms-version': '2018-03-28', + 'x-ms-request-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:28 GMT' }); return result; }, function (nock) { var result = -nock('http://xplat.file.core.windows.net:443') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') .filteringRequestBody(function (path) { return '*';}) .put('/upload-test-share-testdata1/dir-testdata2/file-testdata14?comp=range', '*') .reply(201, "", { 'transfer-encoding': 'chunked', 'content-md5': 'lHWlkiaUOjrUIuGBaZifZg==', - 'last-modified': 'Thu, 05 Jan 2017 03:22:26 GMT', - etag: '"0x8D4351A12EF4954"', + 'last-modified': 'Tue, 09 Oct 2018 02:57:28 GMT', + etag: '"0x8D62D92F315B7E6"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '74d281a6-001a-0045-5002-674b96000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:26 GMT', - connection: 'close' }); + 'x-ms-request-id': 'c7fee889-801a-0100-587b-5fddb8000000', + 'x-ms-version': '2018-03-28', + 'x-ms-request-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:28 GMT' }); return result; }, function (nock) { var result = -nock('https://xplat.file.core.windows.net:443') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') .filteringRequestBody(function (path) { return '*';}) .put('/upload-test-share-testdata1/dir-testdata2/file-testdata14?comp=range', '*') .reply(201, "", { 'transfer-encoding': 'chunked', 'content-md5': 'lHWlkiaUOjrUIuGBaZifZg==', - 'last-modified': 'Thu, 05 Jan 2017 03:22:26 GMT', - etag: '"0x8D4351A12EF4954"', + 'last-modified': 'Tue, 09 Oct 2018 02:57:28 GMT', + etag: '"0x8D62D92F322B344"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '74d281a6-001a-0045-5002-674b96000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:26 GMT', - connection: 'close' }); + 'x-ms-request-id': 'c7fee88a-801a-0100-597b-5fddb8000000', + 'x-ms-version': '2018-03-28', + 'x-ms-request-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:28 GMT' }); return result; }, function (nock) { var result = -nock('http://xplat.file.core.windows.net:443') - .filteringRequestBody(function (path) { return '*';}) -.put('/upload-test-share-testdata1/dir-testdata2/file-testdata14?comp=range', '*') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') + .get('/upload-test-share-testdata1/dir-testdata2/file-testdata14?comp=rangelist') + .reply(200, "051110485761049087", { 'transfer-encoding': 'chunked', + 'content-type': 'application/xml', + 'last-modified': 'Tue, 09 Oct 2018 02:57:28 GMT', + etag: '"0x8D62D92F322B344"', + server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', + 'x-ms-request-id': 'c7fee88b-801a-0100-5a7b-5fddb8000000', + 'x-ms-version': '2018-03-28', + 'x-ms-content-length': '1073741824', + date: 'Tue, 09 Oct 2018 02:57:28 GMT' }); + return result; }], +[function (nock) { +var result = +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') + .put('/upload-test-share-testdata1/dir-testdata2/file-testdata15') .reply(201, "", { 'transfer-encoding': 'chunked', - 'content-md5': 'lHWlkiaUOjrUIuGBaZifZg==', - 'last-modified': 'Thu, 05 Jan 2017 03:22:27 GMT', - etag: '"0x8D4351A133098C9"', + 'last-modified': 'Tue, 09 Oct 2018 02:57:28 GMT', + etag: '"0x8D62D92F3399C26"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'b618bb95-001a-003a-4c02-67d5a4000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:26 GMT', - connection: 'close' }); + 'x-ms-request-id': 'c7fee88c-801a-0100-5b7b-5fddb8000000', + 'x-ms-version': '2018-03-28', + 'x-ms-request-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:28 GMT' }); return result; }, function (nock) { var result = -nock('https://xplat.file.core.windows.net:443') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') .filteringRequestBody(function (path) { return '*';}) -.put('/upload-test-share-testdata1/dir-testdata2/file-testdata14?comp=range', '*') +.put('/upload-test-share-testdata1/dir-testdata2/file-testdata15?comp=range', '*') .reply(201, "", { 'transfer-encoding': 'chunked', - 'content-md5': 'lHWlkiaUOjrUIuGBaZifZg==', - 'last-modified': 'Thu, 05 Jan 2017 03:22:27 GMT', - etag: '"0x8D4351A133098C9"', + 'content-md5': 'hvsmnRkNLIX24EaM7KQqIA==', + 'last-modified': 'Tue, 09 Oct 2018 02:57:28 GMT', + etag: '"0x8D62D92F347A938"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'b618bb95-001a-003a-4c02-67d5a4000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:26 GMT', - connection: 'close' }); + 'x-ms-request-id': 'c7fee88d-801a-0100-5c7b-5fddb8000000', + 'x-ms-version': '2018-03-28', + 'x-ms-request-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:28 GMT' }); return result; }, function (nock) { var result = -nock('http://xplat.file.core.windows.net:443') - .get('/upload-test-share-testdata1/dir-testdata2/file-testdata14?comp=rangelist') - .reply(200, "051110485761049087", { 'transfer-encoding': 'chunked', - 'content-type': 'application/xml', - 'last-modified': 'Thu, 05 Jan 2017 03:22:27 GMT', - etag: '"0x8D4351A133098C9"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '5527bae6-001a-0038-0802-67d75e000000', - 'x-ms-version': '2016-05-31', - 'x-ms-content-length': '1073741824', - date: 'Thu, 05 Jan 2017 03:22:26 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('https://xplat.file.core.windows.net:443') - .get('/upload-test-share-testdata1/dir-testdata2/file-testdata14?comp=rangelist') - .reply(200, "051110485761049087", { 'transfer-encoding': 'chunked', - 'content-type': 'application/xml', - 'last-modified': 'Thu, 05 Jan 2017 03:22:27 GMT', - etag: '"0x8D4351A133098C9"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '5527bae6-001a-0038-0802-67d75e000000', - 'x-ms-version': '2016-05-31', - 'x-ms-content-length': '1073741824', - date: 'Thu, 05 Jan 2017 03:22:26 GMT', - connection: 'close' }); - return result; }], -[function (nock) { -var result = -nock('http://xplat.file.core.windows.net:443') - .put('/upload-test-share-testdata1/dir-testdata2/file-testdata15') - .reply(201, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Thu, 05 Jan 2017 03:22:28 GMT', - etag: '"0x8D4351A13BAB235"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'db11f934-001a-0005-5102-676278000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:26 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('https://xplat.file.core.windows.net:443') - .put('/upload-test-share-testdata1/dir-testdata2/file-testdata15') - .reply(201, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Thu, 05 Jan 2017 03:22:28 GMT', - etag: '"0x8D4351A13BAB235"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'db11f934-001a-0005-5102-676278000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:26 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('http://xplat.file.core.windows.net:443') - .filteringRequestBody(function (path) { return '*';}) -.put('/upload-test-share-testdata1/dir-testdata2/file-testdata15?comp=range', '*') - .reply(201, "", { 'transfer-encoding': 'chunked', - 'content-md5': 'hvsmnRkNLIX24EaM7KQqIA==', - 'last-modified': 'Thu, 05 Jan 2017 03:22:28 GMT', - etag: '"0x8D4351A13FEC0F2"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '302b239a-001a-000e-5d02-677a0c000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:27 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('https://xplat.file.core.windows.net:443') - .filteringRequestBody(function (path) { return '*';}) -.put('/upload-test-share-testdata1/dir-testdata2/file-testdata15?comp=range', '*') - .reply(201, "", { 'transfer-encoding': 'chunked', - 'content-md5': 'hvsmnRkNLIX24EaM7KQqIA==', - 'last-modified': 'Thu, 05 Jan 2017 03:22:28 GMT', - etag: '"0x8D4351A13FEC0F2"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '302b239a-001a-000e-5d02-677a0c000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:27 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('http://xplat.file.core.windows.net:443') - .put('/upload-test-share-testdata1/dir-testdata2/file-testdata15?comp=properties') - .reply(200, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Thu, 05 Jan 2017 03:22:29 GMT', - etag: '"0x8D4351A1441E54D"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'bd2dfff1-001a-0017-1402-675664000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:28 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('https://xplat.file.core.windows.net:443') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') .put('/upload-test-share-testdata1/dir-testdata2/file-testdata15?comp=properties') .reply(200, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Thu, 05 Jan 2017 03:22:29 GMT', - etag: '"0x8D4351A1441E54D"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'bd2dfff1-001a-0017-1402-675664000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:28 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('http://xplat.file.core.windows.net:443') - .head('/upload-test-share-testdata1/dir-testdata2/file-testdata15') - .reply(200, "", { 'content-length': '12', - 'last-modified': 'Thu, 05 Jan 2017 03:22:29 GMT', - etag: '"0x8D4351A1441E54D"', + 'last-modified': 'Tue, 09 Oct 2018 02:57:29 GMT', + etag: '"0x8D62D92F35B841A"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'cb1df34c-001a-0034-3002-6739af000000', - 'x-ms-version': '2016-05-31', - 'x-ms-type': 'File', - date: 'Thu, 05 Jan 2017 03:22:28 GMT', - connection: 'close' }); + 'x-ms-request-id': 'c7fee88e-801a-0100-5d7b-5fddb8000000', + 'x-ms-version': '2018-03-28', + 'x-ms-request-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:29 GMT' }); return result; }, function (nock) { var result = -nock('https://xplat.file.core.windows.net:443') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') .head('/upload-test-share-testdata1/dir-testdata2/file-testdata15') .reply(200, "", { 'content-length': '12', - 'last-modified': 'Thu, 05 Jan 2017 03:22:29 GMT', - etag: '"0x8D4351A1441E54D"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'cb1df34c-001a-0034-3002-6739af000000', - 'x-ms-version': '2016-05-31', - 'x-ms-type': 'File', - date: 'Thu, 05 Jan 2017 03:22:28 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('http://xplat.file.core.windows.net:443') - .get('/upload-test-share-testdata1/dir-testdata2/file-testdata15') - .reply(200, "Hello world!", { 'content-length': '12', - 'last-modified': 'Thu, 05 Jan 2017 03:22:29 GMT', - 'accept-ranges': 'bytes', - etag: '"0x8D4351A1441E54D"', + 'last-modified': 'Tue, 09 Oct 2018 02:57:29 GMT', + etag: '"0x8D62D92F35B841A"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '10db24f0-001a-0029-6302-67e045000000', - 'x-ms-version': '2016-05-31', + 'x-ms-request-id': 'c7fee88f-801a-0100-5e7b-5fddb8000000', + 'x-ms-version': '2018-03-28', 'x-ms-type': 'File', - date: 'Thu, 05 Jan 2017 03:22:29 GMT', - connection: 'close' }); + 'x-ms-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:29 GMT' }); return result; }, function (nock) { var result = -nock('https://xplat.file.core.windows.net:443') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') .get('/upload-test-share-testdata1/dir-testdata2/file-testdata15') .reply(200, "Hello world!", { 'content-length': '12', - 'last-modified': 'Thu, 05 Jan 2017 03:22:29 GMT', + 'last-modified': 'Tue, 09 Oct 2018 02:57:29 GMT', 'accept-ranges': 'bytes', - etag: '"0x8D4351A1441E54D"', + etag: '"0x8D62D92F35B841A"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '10db24f0-001a-0029-6302-67e045000000', - 'x-ms-version': '2016-05-31', + 'x-ms-request-id': 'c7fee890-801a-0100-5f7b-5fddb8000000', + 'x-ms-version': '2018-03-28', 'x-ms-type': 'File', - date: 'Thu, 05 Jan 2017 03:22:29 GMT', - connection: 'close' }); + 'x-ms-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:29 GMT' }); return result; }], [function (nock) { var result = -nock('http://xplat.file.core.windows.net:443') - .put('/upload-test-share-testdata1/dir-testdata2/file-testdata16') - .reply(201, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Thu, 05 Jan 2017 03:22:30 GMT', - etag: '"0x8D4351A150EADC9"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '421fa724-001a-000a-5002-678f8e000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:29 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('https://xplat.file.core.windows.net:443') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') .put('/upload-test-share-testdata1/dir-testdata2/file-testdata16') .reply(201, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Thu, 05 Jan 2017 03:22:30 GMT', - etag: '"0x8D4351A150EADC9"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '421fa724-001a-000a-5002-678f8e000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:29 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('http://xplat.file.core.windows.net:443') - .filteringRequestBody(function (path) { return '*';}) -.put('/upload-test-share-testdata1/dir-testdata2/file-testdata16?comp=range', '*') - .reply(201, "", { 'transfer-encoding': 'chunked', - 'content-md5': 'hvsmnRkNLIX24EaM7KQqIA==', - 'last-modified': 'Thu, 05 Jan 2017 03:22:30 GMT', - etag: '"0x8D4351A15557BBF"', + 'last-modified': 'Tue, 09 Oct 2018 02:57:29 GMT', + etag: '"0x8D62D92F37E7DBD"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '2027f996-001a-003b-7402-67d459000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:29 GMT', - connection: 'close' }); + 'x-ms-request-id': 'c7fee891-801a-0100-607b-5fddb8000000', + 'x-ms-version': '2018-03-28', + 'x-ms-request-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:29 GMT' }); return result; }, function (nock) { var result = -nock('https://xplat.file.core.windows.net:443') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') .filteringRequestBody(function (path) { return '*';}) .put('/upload-test-share-testdata1/dir-testdata2/file-testdata16?comp=range', '*') .reply(201, "", { 'transfer-encoding': 'chunked', 'content-md5': 'hvsmnRkNLIX24EaM7KQqIA==', - 'last-modified': 'Thu, 05 Jan 2017 03:22:30 GMT', - etag: '"0x8D4351A15557BBF"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '2027f996-001a-003b-7402-67d459000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:29 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('http://xplat.file.core.windows.net:443') - .put('/upload-test-share-testdata1/dir-testdata2/file-testdata16?comp=properties') - .reply(200, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Thu, 05 Jan 2017 03:22:31 GMT', - etag: '"0x8D4351A15967D43"', + 'last-modified': 'Tue, 09 Oct 2018 02:57:29 GMT', + etag: '"0x8D62D92F38B7929"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'd36c360b-001a-001c-6c02-674e10000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:30 GMT', - connection: 'close' }); + 'x-ms-request-id': 'c7fee892-801a-0100-617b-5fddb8000000', + 'x-ms-version': '2018-03-28', + 'x-ms-request-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:29 GMT' }); return result; }, function (nock) { var result = -nock('https://xplat.file.core.windows.net:443') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') .put('/upload-test-share-testdata1/dir-testdata2/file-testdata16?comp=properties') .reply(200, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Thu, 05 Jan 2017 03:22:31 GMT', - etag: '"0x8D4351A15967D43"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'd36c360b-001a-001c-6c02-674e10000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:30 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('http://xplat.file.core.windows.net:443') - .head('/upload-test-share-testdata1/dir-testdata2/file-testdata16') - .reply(200, "", { 'content-length': '12', - 'last-modified': 'Thu, 05 Jan 2017 03:22:31 GMT', - etag: '"0x8D4351A15967D43"', + 'last-modified': 'Tue, 09 Oct 2018 02:57:29 GMT', + etag: '"0x8D62D92F398E9DA"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '333bdff4-001a-0010-4f02-67a0e1000000', - 'x-ms-version': '2016-05-31', - 'x-ms-type': 'File', - date: 'Thu, 05 Jan 2017 03:22:31 GMT', - connection: 'close' }); + 'x-ms-request-id': 'c7fee893-801a-0100-627b-5fddb8000000', + 'x-ms-version': '2018-03-28', + 'x-ms-request-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:29 GMT' }); return result; }, function (nock) { var result = -nock('https://xplat.file.core.windows.net:443') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') .head('/upload-test-share-testdata1/dir-testdata2/file-testdata16') .reply(200, "", { 'content-length': '12', - 'last-modified': 'Thu, 05 Jan 2017 03:22:31 GMT', - etag: '"0x8D4351A15967D43"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '333bdff4-001a-0010-4f02-67a0e1000000', - 'x-ms-version': '2016-05-31', - 'x-ms-type': 'File', - date: 'Thu, 05 Jan 2017 03:22:31 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('http://xplat.file.core.windows.net:443') - .get('/upload-test-share-testdata1/dir-testdata2/file-testdata16') - .reply(200, "Hello world!", { 'content-length': '12', - 'last-modified': 'Thu, 05 Jan 2017 03:22:31 GMT', - 'accept-ranges': 'bytes', - etag: '"0x8D4351A15967D43"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'd0c09bb6-001a-0006-7202-67617f000000', - 'x-ms-version': '2016-05-31', - 'x-ms-type': 'File', - date: 'Thu, 05 Jan 2017 03:22:31 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('https://xplat.file.core.windows.net:443') - .get('/upload-test-share-testdata1/dir-testdata2/file-testdata16') - .reply(200, "Hello world!", { 'content-length': '12', - 'last-modified': 'Thu, 05 Jan 2017 03:22:31 GMT', - 'accept-ranges': 'bytes', - etag: '"0x8D4351A15967D43"', + 'last-modified': 'Tue, 09 Oct 2018 02:57:29 GMT', + etag: '"0x8D62D92F398E9DA"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'd0c09bb6-001a-0006-7202-67617f000000', - 'x-ms-version': '2016-05-31', + 'x-ms-request-id': 'c7fee894-801a-0100-637b-5fddb8000000', + 'x-ms-version': '2018-03-28', 'x-ms-type': 'File', - date: 'Thu, 05 Jan 2017 03:22:31 GMT', - connection: 'close' }); + 'x-ms-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:29 GMT' }); return result; }, function (nock) { var result = -nock('http://xplat.file.core.windows.net:443') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') .get('/upload-test-share-testdata1/dir-testdata2/file-testdata16') .reply(200, "Hello world!", { 'content-length': '12', - 'last-modified': 'Thu, 05 Jan 2017 03:22:31 GMT', + 'last-modified': 'Tue, 09 Oct 2018 02:57:29 GMT', 'accept-ranges': 'bytes', - etag: '"0x8D4351A15967D43"', + etag: '"0x8D62D92F398E9DA"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'd1a251ff-001a-004a-6a02-67a660000000', - 'x-ms-version': '2016-05-31', + 'x-ms-request-id': 'c7fee895-801a-0100-647b-5fddb8000000', + 'x-ms-version': '2018-03-28', 'x-ms-type': 'File', - date: 'Thu, 05 Jan 2017 03:22:31 GMT', - connection: 'close' }); + 'x-ms-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:29 GMT' }); return result; }, function (nock) { var result = -nock('https://xplat.file.core.windows.net:443') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') .get('/upload-test-share-testdata1/dir-testdata2/file-testdata16') .reply(200, "Hello world!", { 'content-length': '12', - 'last-modified': 'Thu, 05 Jan 2017 03:22:31 GMT', + 'last-modified': 'Tue, 09 Oct 2018 02:57:29 GMT', 'accept-ranges': 'bytes', - etag: '"0x8D4351A15967D43"', + etag: '"0x8D62D92F398E9DA"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'd1a251ff-001a-004a-6a02-67a660000000', - 'x-ms-version': '2016-05-31', + 'x-ms-request-id': 'c7fee8a1-801a-0100-6e7b-5fddb8000000', + 'x-ms-version': '2018-03-28', 'x-ms-type': 'File', - date: 'Thu, 05 Jan 2017 03:22:31 GMT', - connection: 'close' }); + 'x-ms-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:29 GMT' }); return result; }], [function (nock) { var result = -nock('http://xplat.file.core.windows.net:443') - .put('/upload-test-share-testdata1/dir-testdata2/file-testdata17') - .reply(201, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Thu, 05 Jan 2017 03:22:33 GMT', - etag: '"0x8D4351A16A9294F"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '31c81769-001a-0004-8002-676385000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:32 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('https://xplat.file.core.windows.net:443') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') .put('/upload-test-share-testdata1/dir-testdata2/file-testdata17') .reply(201, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Thu, 05 Jan 2017 03:22:33 GMT', - etag: '"0x8D4351A16A9294F"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '31c81769-001a-0004-8002-676385000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:32 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('http://xplat.file.core.windows.net:443') - .filteringRequestBody(function (path) { return '*';}) -.put('/upload-test-share-testdata1/dir-testdata2/file-testdata17?comp=range', '*') - .reply(201, "", { 'transfer-encoding': 'chunked', - 'content-md5': 'hvsmnRkNLIX24EaM7KQqIA==', - 'last-modified': 'Thu, 05 Jan 2017 03:22:33 GMT', - etag: '"0x8D4351A16ED5F21"', + 'last-modified': 'Tue, 09 Oct 2018 02:57:29 GMT', + etag: '"0x8D62D92F3C5F814"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '1e47d6ec-001a-0048-5d02-67a49a000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:32 GMT', - connection: 'close' }); + 'x-ms-request-id': 'c7fee8a4-801a-0100-717b-5fddb8000000', + 'x-ms-version': '2018-03-28', + 'x-ms-request-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:29 GMT' }); return result; }, function (nock) { var result = -nock('https://xplat.file.core.windows.net:443') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') .filteringRequestBody(function (path) { return '*';}) .put('/upload-test-share-testdata1/dir-testdata2/file-testdata17?comp=range', '*') .reply(201, "", { 'transfer-encoding': 'chunked', 'content-md5': 'hvsmnRkNLIX24EaM7KQqIA==', - 'last-modified': 'Thu, 05 Jan 2017 03:22:33 GMT', - etag: '"0x8D4351A16ED5F21"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '1e47d6ec-001a-0048-5d02-67a49a000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:32 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('http://xplat.file.core.windows.net:443') - .put('/upload-test-share-testdata1/dir-testdata2/file-testdata17?comp=properties') - .reply(200, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Thu, 05 Jan 2017 03:22:34 GMT', - etag: '"0x8D4351A17303579"', + 'last-modified': 'Tue, 09 Oct 2018 02:57:29 GMT', + etag: '"0x8D62D92F3D2A548"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '1c99cb50-001a-003e-6602-672026000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:33 GMT', - connection: 'close' }); + 'x-ms-request-id': 'c7fee8a5-801a-0100-727b-5fddb8000000', + 'x-ms-version': '2018-03-28', + 'x-ms-request-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:29 GMT' }); return result; }, function (nock) { var result = -nock('https://xplat.file.core.windows.net:443') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') .put('/upload-test-share-testdata1/dir-testdata2/file-testdata17?comp=properties') .reply(200, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Thu, 05 Jan 2017 03:22:34 GMT', - etag: '"0x8D4351A17303579"', + 'last-modified': 'Tue, 09 Oct 2018 02:57:29 GMT', + etag: '"0x8D62D92F3DDF2A0"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '1c99cb50-001a-003e-6602-672026000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:33 GMT', - connection: 'close' }); + 'x-ms-request-id': 'c7fee8a6-801a-0100-737b-5fddb8000000', + 'x-ms-version': '2018-03-28', + 'x-ms-request-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:29 GMT' }); return result; }, function (nock) { var result = -nock('http://xplat.file.core.windows.net:443') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') .head('/upload-test-share-testdata1/dir-testdata2/file-testdata17') .reply(200, "", { 'content-length': '12', 'content-md5': 'hvsmnRkNLIX24EaM7KQqIA==', - 'last-modified': 'Thu, 05 Jan 2017 03:22:34 GMT', - etag: '"0x8D4351A17303579"', + 'last-modified': 'Tue, 09 Oct 2018 02:57:29 GMT', + etag: '"0x8D62D92F3DDF2A0"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '48c89c1f-001a-0046-3502-674891000000', - 'x-ms-version': '2016-05-31', + 'x-ms-request-id': 'c7fee8a7-801a-0100-747b-5fddb8000000', + 'x-ms-version': '2018-03-28', 'x-ms-type': 'File', - date: 'Thu, 05 Jan 2017 03:22:33 GMT', - connection: 'close' }); + 'x-ms-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:29 GMT' }); return result; }, function (nock) { var result = -nock('https://xplat.file.core.windows.net:443') - .head('/upload-test-share-testdata1/dir-testdata2/file-testdata17') - .reply(200, "", { 'content-length': '12', - 'content-md5': 'hvsmnRkNLIX24EaM7KQqIA==', - 'last-modified': 'Thu, 05 Jan 2017 03:22:34 GMT', - etag: '"0x8D4351A17303579"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '48c89c1f-001a-0046-3502-674891000000', - 'x-ms-version': '2016-05-31', - 'x-ms-type': 'File', - date: 'Thu, 05 Jan 2017 03:22:33 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('http://xplat.file.core.windows.net:443') - .get('/upload-test-share-testdata1/dir-testdata2/file-testdata17') - .reply(200, "Hello world!", { 'content-length': '12', - 'content-md5': 'hvsmnRkNLIX24EaM7KQqIA==', - 'last-modified': 'Thu, 05 Jan 2017 03:22:34 GMT', - 'accept-ranges': 'bytes', - etag: '"0x8D4351A17303579"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '6c806bc1-001a-003c-6202-6722dc000000', - 'x-ms-version': '2016-05-31', - 'x-ms-type': 'File', - date: 'Thu, 05 Jan 2017 03:22:34 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('https://xplat.file.core.windows.net:443') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') .get('/upload-test-share-testdata1/dir-testdata2/file-testdata17') .reply(200, "Hello world!", { 'content-length': '12', 'content-md5': 'hvsmnRkNLIX24EaM7KQqIA==', - 'last-modified': 'Thu, 05 Jan 2017 03:22:34 GMT', + 'last-modified': 'Tue, 09 Oct 2018 02:57:29 GMT', 'accept-ranges': 'bytes', - etag: '"0x8D4351A17303579"', + etag: '"0x8D62D92F3DDF2A0"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '6c806bc1-001a-003c-6202-6722dc000000', - 'x-ms-version': '2016-05-31', + 'x-ms-request-id': 'c7fee8a8-801a-0100-757b-5fddb8000000', + 'x-ms-version': '2018-03-28', 'x-ms-type': 'File', - date: 'Thu, 05 Jan 2017 03:22:34 GMT', - connection: 'close' }); + 'x-ms-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:29 GMT' }); return result; }], [function (nock) { var result = -nock('http://xplat.file.core.windows.net:443') - .put('/upload-test-share-testdata1/dir-testdata2/file-testdata18') - .reply(201, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Thu, 05 Jan 2017 03:22:35 GMT', - etag: '"0x8D4351A17FCD6CD"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'e7de3f5b-001a-0030-5702-67cc2d000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:34 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('https://xplat.file.core.windows.net:443') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') .put('/upload-test-share-testdata1/dir-testdata2/file-testdata18') .reply(201, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Thu, 05 Jan 2017 03:22:35 GMT', - etag: '"0x8D4351A17FCD6CD"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'e7de3f5b-001a-0030-5702-67cc2d000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:34 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('http://xplat.file.core.windows.net:443') - .put('/upload-test-share-testdata1/dir-testdata2/file-testdata18?comp=properties') - .reply(200, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Thu, 05 Jan 2017 03:22:35 GMT', - etag: '"0x8D4351A1840BE73"', + 'last-modified': 'Tue, 09 Oct 2018 02:57:30 GMT', + etag: '"0x8D62D92F4016191"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'ebc822a4-001a-0037-6902-673aa8000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:35 GMT', - connection: 'close' }); + 'x-ms-request-id': 'c7fee8a9-801a-0100-767b-5fddb8000000', + 'x-ms-version': '2018-03-28', + 'x-ms-request-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:30 GMT' }); return result; }, function (nock) { var result = -nock('https://xplat.file.core.windows.net:443') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') .put('/upload-test-share-testdata1/dir-testdata2/file-testdata18?comp=properties') .reply(200, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Thu, 05 Jan 2017 03:22:35 GMT', - etag: '"0x8D4351A1840BE73"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'ebc822a4-001a-0037-6902-673aa8000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:35 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('http://xplat.file.core.windows.net:443') - .head('/upload-test-share-testdata1/dir-testdata2/file-testdata18') - .reply(200, "", { 'content-length': '4194816', - 'last-modified': 'Thu, 05 Jan 2017 03:22:35 GMT', - etag: '"0x8D4351A1840BE73"', + 'last-modified': 'Tue, 09 Oct 2018 02:57:30 GMT', + etag: '"0x8D62D92F410A772"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'b6773e48-001a-0040-7f02-67bfe9000000', - 'x-ms-version': '2016-05-31', - 'x-ms-type': 'File', - date: 'Thu, 05 Jan 2017 03:22:35 GMT', - connection: 'close' }); + 'x-ms-request-id': 'c7fee8aa-801a-0100-777b-5fddb8000000', + 'x-ms-version': '2018-03-28', + 'x-ms-request-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:30 GMT' }); return result; }, function (nock) { var result = -nock('https://xplat.file.core.windows.net:443') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') .head('/upload-test-share-testdata1/dir-testdata2/file-testdata18') .reply(200, "", { 'content-length': '4194816', - 'last-modified': 'Thu, 05 Jan 2017 03:22:35 GMT', - etag: '"0x8D4351A1840BE73"', + 'last-modified': 'Tue, 09 Oct 2018 02:57:30 GMT', + etag: '"0x8D62D92F410A772"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'b6773e48-001a-0040-7f02-67bfe9000000', - 'x-ms-version': '2016-05-31', + 'x-ms-request-id': 'c7fee8ab-801a-0100-787b-5fddb8000000', + 'x-ms-version': '2018-03-28', 'x-ms-type': 'File', - date: 'Thu, 05 Jan 2017 03:22:35 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('http://xplat.file.core.windows.net:443') - .get('/upload-test-share-testdata1/dir-testdata2/file-testdata18?comp=rangelist') - .reply(200, "", { 'transfer-encoding': 'chunked', - 'content-type': 'application/xml', - 'last-modified': 'Thu, 05 Jan 2017 03:22:35 GMT', - etag: '"0x8D4351A1840BE73"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'c58e890c-001a-0049-6202-67a567000000', - 'x-ms-version': '2016-05-31', - 'x-ms-content-length': '4194816', - date: 'Thu, 05 Jan 2017 03:22:36 GMT', - connection: 'close' }); + 'x-ms-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:30 GMT' }); return result; }, function (nock) { var result = -nock('https://xplat.file.core.windows.net:443') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') .get('/upload-test-share-testdata1/dir-testdata2/file-testdata18?comp=rangelist') .reply(200, "", { 'transfer-encoding': 'chunked', 'content-type': 'application/xml', - 'last-modified': 'Thu, 05 Jan 2017 03:22:35 GMT', - etag: '"0x8D4351A1840BE73"', + 'last-modified': 'Tue, 09 Oct 2018 02:57:30 GMT', + etag: '"0x8D62D92F410A772"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'c58e890c-001a-0049-6202-67a567000000', - 'x-ms-version': '2016-05-31', + 'x-ms-request-id': 'c7fee8ac-801a-0100-797b-5fddb8000000', + 'x-ms-version': '2018-03-28', 'x-ms-content-length': '4194816', - date: 'Thu, 05 Jan 2017 03:22:36 GMT', - connection: 'close' }); + date: 'Tue, 09 Oct 2018 02:57:30 GMT' }); return result; }], [function (nock) { var result = -nock('http://xplat.file.core.windows.net:443') - .put('/upload-test-share-testdata1/dir-testdata2/file-testdata19') - .reply(201, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Thu, 05 Jan 2017 03:22:37 GMT', - etag: '"0x8D4351A190E7174"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'da75f0cd-001a-0016-7802-675799000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:36 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('https://xplat.file.core.windows.net:443') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') .put('/upload-test-share-testdata1/dir-testdata2/file-testdata19') .reply(201, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Thu, 05 Jan 2017 03:22:37 GMT', - etag: '"0x8D4351A190E7174"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'da75f0cd-001a-0016-7802-675799000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:36 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('http://xplat.file.core.windows.net:443') - .filteringRequestBody(function (path) { return '*';}) -.put('/upload-test-share-testdata1/dir-testdata2/file-testdata19?comp=range', '*') - .reply(201, "", { 'transfer-encoding': 'chunked', - 'content-md5': 'hvsmnRkNLIX24EaM7KQqIA==', - 'last-modified': 'Thu, 05 Jan 2017 03:22:37 GMT', - etag: '"0x8D4351A195195B4"', + 'last-modified': 'Tue, 09 Oct 2018 02:57:30 GMT', + etag: '"0x8D62D92F433C83F"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '4d0a8ec5-001a-000b-0502-678e73000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:36 GMT', - connection: 'close' }); + 'x-ms-request-id': 'c7fee8ae-801a-0100-7a7b-5fddb8000000', + 'x-ms-version': '2018-03-28', + 'x-ms-request-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:30 GMT' }); return result; }, function (nock) { var result = -nock('https://xplat.file.core.windows.net:443') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') .filteringRequestBody(function (path) { return '*';}) .put('/upload-test-share-testdata1/dir-testdata2/file-testdata19?comp=range', '*') .reply(201, "", { 'transfer-encoding': 'chunked', 'content-md5': 'hvsmnRkNLIX24EaM7KQqIA==', - 'last-modified': 'Thu, 05 Jan 2017 03:22:37 GMT', - etag: '"0x8D4351A195195B4"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '4d0a8ec5-001a-000b-0502-678e73000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:36 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('http://xplat.file.core.windows.net:443') - .put('/upload-test-share-testdata1/dir-testdata2/file-testdata19?comp=properties') - .reply(200, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Thu, 05 Jan 2017 03:22:38 GMT', - etag: '"0x8D4351A1991D40D"', + 'last-modified': 'Tue, 09 Oct 2018 02:57:30 GMT', + etag: '"0x8D62D92F442BFED"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '3a3704f2-001a-0031-0a02-67cdd0000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:37 GMT', - connection: 'close' }); + 'x-ms-request-id': 'c7fee8af-801a-0100-7b7b-5fddb8000000', + 'x-ms-version': '2018-03-28', + 'x-ms-request-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:30 GMT' }); return result; }, function (nock) { var result = -nock('https://xplat.file.core.windows.net:443') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') .put('/upload-test-share-testdata1/dir-testdata2/file-testdata19?comp=properties') .reply(200, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Thu, 05 Jan 2017 03:22:38 GMT', - etag: '"0x8D4351A1991D40D"', + 'last-modified': 'Tue, 09 Oct 2018 02:57:30 GMT', + etag: '"0x8D62D92F44EA9AF"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '3a3704f2-001a-0031-0a02-67cdd0000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:37 GMT', - connection: 'close' }); + 'x-ms-request-id': 'c7fee8b0-801a-0100-7c7b-5fddb8000000', + 'x-ms-version': '2018-03-28', + 'x-ms-request-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:30 GMT' }); return result; }, function (nock) { var result = -nock('http://xplat.file.core.windows.net:443') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') .head('/upload-test-share-testdata1/dir-testdata2/file-testdata19') .reply(200, "", { 'content-length': '12', - 'last-modified': 'Thu, 05 Jan 2017 03:22:38 GMT', - etag: '"0x8D4351A1991D40D"', + 'last-modified': 'Tue, 09 Oct 2018 02:57:30 GMT', + etag: '"0x8D62D92F44EA9AF"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '4b857f40-001a-0012-1602-67a21b000000', - 'x-ms-version': '2016-05-31', + 'x-ms-request-id': 'c7fee8b1-801a-0100-7d7b-5fddb8000000', + 'x-ms-version': '2018-03-28', 'x-ms-type': 'File', - date: 'Thu, 05 Jan 2017 03:22:38 GMT', - connection: 'close' }); + 'x-ms-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:30 GMT' }); return result; }, function (nock) { var result = -nock('https://xplat.file.core.windows.net:443') - .head('/upload-test-share-testdata1/dir-testdata2/file-testdata19') - .reply(200, "", { 'content-length': '12', - 'last-modified': 'Thu, 05 Jan 2017 03:22:38 GMT', - etag: '"0x8D4351A1991D40D"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '4b857f40-001a-0012-1602-67a21b000000', - 'x-ms-version': '2016-05-31', - 'x-ms-type': 'File', - date: 'Thu, 05 Jan 2017 03:22:38 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('http://xplat.file.core.windows.net:443') - .get('/upload-test-share-testdata1/dir-testdata2/file-testdata19') - .reply(200, "Hello world!", { 'content-length': '12', - 'last-modified': 'Thu, 05 Jan 2017 03:22:38 GMT', - 'accept-ranges': 'bytes', - etag: '"0x8D4351A1991D40D"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '1e672ea8-001a-001b-0802-67b895000000', - 'x-ms-version': '2016-05-31', - 'x-ms-type': 'File', - date: 'Thu, 05 Jan 2017 03:22:38 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('https://xplat.file.core.windows.net:443') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') .get('/upload-test-share-testdata1/dir-testdata2/file-testdata19') .reply(200, "Hello world!", { 'content-length': '12', - 'last-modified': 'Thu, 05 Jan 2017 03:22:38 GMT', + 'last-modified': 'Tue, 09 Oct 2018 02:57:30 GMT', 'accept-ranges': 'bytes', - etag: '"0x8D4351A1991D40D"', + etag: '"0x8D62D92F44EA9AF"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '1e672ea8-001a-001b-0802-67b895000000', - 'x-ms-version': '2016-05-31', + 'x-ms-request-id': 'c7fee8b2-801a-0100-7e7b-5fddb8000000', + 'x-ms-version': '2018-03-28', 'x-ms-type': 'File', - date: 'Thu, 05 Jan 2017 03:22:38 GMT', - connection: 'close' }); + 'x-ms-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:30 GMT' }); return result; }], [function (nock) { var result = -nock('http://xplat.file.core.windows.net:443') - .put('/upload-test-share-testdata1/dir-testdata2/file-testdata20') - .reply(201, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Thu, 05 Jan 2017 03:22:39 GMT', - etag: '"0x8D4351A1A59E173"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'd3adc813-001a-004c-2902-675118000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:39 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('https://xplat.file.core.windows.net:443') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') .put('/upload-test-share-testdata1/dir-testdata2/file-testdata20') .reply(201, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Thu, 05 Jan 2017 03:22:39 GMT', - etag: '"0x8D4351A1A59E173"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'd3adc813-001a-004c-2902-675118000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:39 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('http://xplat.file.core.windows.net:443') - .filteringRequestBody(function (path) { return '*';}) -.put('/upload-test-share-testdata1/dir-testdata2/file-testdata20?comp=range', '*') - .reply(201, "", { 'transfer-encoding': 'chunked', - 'content-md5': 'hvsmnRkNLIX24EaM7KQqIA==', - 'last-modified': 'Thu, 05 Jan 2017 03:22:39 GMT', - etag: '"0x8D4351A1A9E1738"', + 'last-modified': 'Tue, 09 Oct 2018 02:57:30 GMT', + etag: '"0x8D62D92F4706A87"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '62550b61-001a-002d-1f02-6715c7000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:39 GMT', - connection: 'close' }); + 'x-ms-request-id': 'c7fee8b3-801a-0100-7f7b-5fddb8000000', + 'x-ms-version': '2018-03-28', + 'x-ms-request-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:30 GMT' }); return result; }, function (nock) { var result = -nock('https://xplat.file.core.windows.net:443') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') .filteringRequestBody(function (path) { return '*';}) .put('/upload-test-share-testdata1/dir-testdata2/file-testdata20?comp=range', '*') .reply(201, "", { 'transfer-encoding': 'chunked', 'content-md5': 'hvsmnRkNLIX24EaM7KQqIA==', - 'last-modified': 'Thu, 05 Jan 2017 03:22:39 GMT', - etag: '"0x8D4351A1A9E1738"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '62550b61-001a-002d-1f02-6715c7000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:39 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('http://xplat.file.core.windows.net:443') - .put('/upload-test-share-testdata1/dir-testdata2/file-testdata20?comp=properties') - .reply(200, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Thu, 05 Jan 2017 03:22:40 GMT', - etag: '"0x8D4351A1ADF66D7"', + 'last-modified': 'Tue, 09 Oct 2018 02:57:30 GMT', + etag: '"0x8D62D92F47E0254"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '7f883538-001a-0036-4702-673b55000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:39 GMT', - connection: 'close' }); + 'x-ms-request-id': 'c7fee8b4-801a-0100-807b-5fddb8000000', + 'x-ms-version': '2018-03-28', + 'x-ms-request-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:30 GMT' }); return result; }, function (nock) { var result = -nock('https://xplat.file.core.windows.net:443') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') .put('/upload-test-share-testdata1/dir-testdata2/file-testdata20?comp=properties') .reply(200, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Thu, 05 Jan 2017 03:22:40 GMT', - etag: '"0x8D4351A1ADF66D7"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '7f883538-001a-0036-4702-673b55000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:39 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('http://xplat.file.core.windows.net:443') - .head('/upload-test-share-testdata1/dir-testdata2/file-testdata20') - .reply(200, "", { 'content-length': '12', - 'last-modified': 'Thu, 05 Jan 2017 03:22:40 GMT', - etag: '"0x8D4351A1ADF66D7"', + 'last-modified': 'Tue, 09 Oct 2018 02:57:31 GMT', + etag: '"0x8D62D92F4890170"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '2101b5c0-001a-002b-4f02-67e2bf000000', - 'x-ms-version': '2016-05-31', - 'x-ms-type': 'File', - date: 'Thu, 05 Jan 2017 03:22:40 GMT', - connection: 'close' }); + 'x-ms-request-id': 'c7fee8b5-801a-0100-017b-5fddb8000000', + 'x-ms-version': '2018-03-28', + 'x-ms-request-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:30 GMT' }); return result; }, function (nock) { var result = -nock('https://xplat.file.core.windows.net:443') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') .head('/upload-test-share-testdata1/dir-testdata2/file-testdata20') .reply(200, "", { 'content-length': '12', - 'last-modified': 'Thu, 05 Jan 2017 03:22:40 GMT', - etag: '"0x8D4351A1ADF66D7"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '2101b5c0-001a-002b-4f02-67e2bf000000', - 'x-ms-version': '2016-05-31', - 'x-ms-type': 'File', - date: 'Thu, 05 Jan 2017 03:22:40 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('http://xplat.file.core.windows.net:443') - .get('/upload-test-share-testdata1/dir-testdata2/file-testdata20') - .reply(200, "Hello world!", { 'content-length': '12', - 'last-modified': 'Thu, 05 Jan 2017 03:22:40 GMT', - 'accept-ranges': 'bytes', - etag: '"0x8D4351A1ADF66D7"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '17b42e8a-001a-0020-1002-67facb000000', - 'x-ms-version': '2016-05-31', - 'x-ms-type': 'File', - date: 'Thu, 05 Jan 2017 03:22:40 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('https://xplat.file.core.windows.net:443') - .get('/upload-test-share-testdata1/dir-testdata2/file-testdata20') - .reply(200, "Hello world!", { 'content-length': '12', - 'last-modified': 'Thu, 05 Jan 2017 03:22:40 GMT', - 'accept-ranges': 'bytes', - etag: '"0x8D4351A1ADF66D7"', + 'last-modified': 'Tue, 09 Oct 2018 02:57:31 GMT', + etag: '"0x8D62D92F4890170"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '17b42e8a-001a-0020-1002-67facb000000', - 'x-ms-version': '2016-05-31', + 'x-ms-request-id': 'c7fee8b6-801a-0100-027b-5fddb8000000', + 'x-ms-version': '2018-03-28', 'x-ms-type': 'File', - date: 'Thu, 05 Jan 2017 03:22:40 GMT', - connection: 'close' }); + 'x-ms-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:31 GMT' }); return result; }, function (nock) { var result = -nock('http://xplat.file.core.windows.net:443') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') .get('/upload-test-share-testdata1/dir-testdata2/file-testdata20') .reply(200, "Hello world!", { 'content-length': '12', - 'last-modified': 'Thu, 05 Jan 2017 03:22:40 GMT', + 'last-modified': 'Tue, 09 Oct 2018 02:57:31 GMT', 'accept-ranges': 'bytes', - etag: '"0x8D4351A1ADF66D7"', + etag: '"0x8D62D92F4890170"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '70878aa8-001a-0001-0c02-6797fa000000', - 'x-ms-version': '2016-05-31', + 'x-ms-request-id': 'c7fee8b7-801a-0100-037b-5fddb8000000', + 'x-ms-version': '2018-03-28', 'x-ms-type': 'File', - date: 'Thu, 05 Jan 2017 03:22:41 GMT', - connection: 'close' }); + 'x-ms-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:31 GMT' }); return result; }, function (nock) { var result = -nock('https://xplat.file.core.windows.net:443') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') .get('/upload-test-share-testdata1/dir-testdata2/file-testdata20') .reply(200, "Hello world!", { 'content-length': '12', - 'last-modified': 'Thu, 05 Jan 2017 03:22:40 GMT', + 'last-modified': 'Tue, 09 Oct 2018 02:57:31 GMT', 'accept-ranges': 'bytes', - etag: '"0x8D4351A1ADF66D7"', + etag: '"0x8D62D92F4890170"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '70878aa8-001a-0001-0c02-6797fa000000', - 'x-ms-version': '2016-05-31', + 'x-ms-request-id': 'c7fee8b8-801a-0100-047b-5fddb8000000', + 'x-ms-version': '2018-03-28', 'x-ms-type': 'File', - date: 'Thu, 05 Jan 2017 03:22:41 GMT', - connection: 'close' }); + 'x-ms-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:31 GMT' }); return result; }], [function (nock) { var result = -nock('http://xplat.file.core.windows.net:443') - .put('/upload-test-share-testdata1/dir-testdata2/file-testdata21') - .reply(201, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Thu, 05 Jan 2017 03:22:41 GMT', - etag: '"0x8D4351A1BE5B6A8"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '1f9f7964-001a-0032-0302-67ced7000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:41 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('https://xplat.file.core.windows.net:443') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') .put('/upload-test-share-testdata1/dir-testdata2/file-testdata21') .reply(201, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Thu, 05 Jan 2017 03:22:41 GMT', - etag: '"0x8D4351A1BE5B6A8"', + 'last-modified': 'Tue, 09 Oct 2018 02:57:31 GMT', + etag: '"0x8D62D92F4B76F8B"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '1f9f7964-001a-0032-0302-67ced7000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:41 GMT', - connection: 'close' }); + 'x-ms-request-id': 'c7fee8b9-801a-0100-057b-5fddb8000000', + 'x-ms-version': '2018-03-28', + 'x-ms-request-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:31 GMT' }); return result; }, function (nock) { var result = -nock('http://xplat.file.core.windows.net:443') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') .filteringRequestBody(function (path) { return '*';}) .put('/upload-test-share-testdata1/dir-testdata2/file-testdata21?comp=range', '*') .reply(201, "", { 'transfer-encoding': 'chunked', 'content-md5': 'hvsmnRkNLIX24EaM7KQqIA==', - 'last-modified': 'Thu, 05 Jan 2017 03:22:42 GMT', - etag: '"0x8D4351A1C2AFDF1"', + 'last-modified': 'Tue, 09 Oct 2018 02:57:31 GMT', + etag: '"0x8D62D92F4C443E4"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '50682bd2-001a-0013-1502-67a3e6000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:41 GMT', - connection: 'close' }); + 'x-ms-request-id': 'c7fee8ba-801a-0100-067b-5fddb8000000', + 'x-ms-version': '2018-03-28', + 'x-ms-request-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:31 GMT' }); return result; }, function (nock) { var result = -nock('https://xplat.file.core.windows.net:443') - .filteringRequestBody(function (path) { return '*';}) -.put('/upload-test-share-testdata1/dir-testdata2/file-testdata21?comp=range', '*') - .reply(201, "", { 'transfer-encoding': 'chunked', - 'content-md5': 'hvsmnRkNLIX24EaM7KQqIA==', - 'last-modified': 'Thu, 05 Jan 2017 03:22:42 GMT', - etag: '"0x8D4351A1C2AFDF1"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '50682bd2-001a-0013-1502-67a3e6000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:41 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('http://xplat.file.core.windows.net:443') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') .put('/upload-test-share-testdata1/dir-testdata2/file-testdata21?comp=properties') .reply(200, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Thu, 05 Jan 2017 03:22:42 GMT', - etag: '"0x8D4351A1C6CE9C4"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '482030a8-001a-0008-7302-678d74000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:42 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('https://xplat.file.core.windows.net:443') - .put('/upload-test-share-testdata1/dir-testdata2/file-testdata21?comp=properties') - .reply(200, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Thu, 05 Jan 2017 03:22:42 GMT', - etag: '"0x8D4351A1C6CE9C4"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '482030a8-001a-0008-7302-678d74000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:42 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('http://xplat.file.core.windows.net:443') - .head('/upload-test-share-testdata1/dir-testdata2/file-testdata21') - .reply(200, "", { 'content-length': '12', - 'content-md5': 'hvsmnRkNLIX24EaM7KQqIA==', - 'last-modified': 'Thu, 05 Jan 2017 03:22:42 GMT', - etag: '"0x8D4351A1C6CE9C4"', + 'last-modified': 'Tue, 09 Oct 2018 02:57:31 GMT', + etag: '"0x8D62D92F4D02D8F"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '509f93ef-001a-004d-5802-6750e5000000', - 'x-ms-version': '2016-05-31', - 'x-ms-type': 'File', - date: 'Thu, 05 Jan 2017 03:22:43 GMT', - connection: 'close' }); + 'x-ms-request-id': 'c7fee8bb-801a-0100-077b-5fddb8000000', + 'x-ms-version': '2018-03-28', + 'x-ms-request-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:31 GMT' }); return result; }, function (nock) { var result = -nock('https://xplat.file.core.windows.net:443') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') .head('/upload-test-share-testdata1/dir-testdata2/file-testdata21') .reply(200, "", { 'content-length': '12', 'content-md5': 'hvsmnRkNLIX24EaM7KQqIA==', - 'last-modified': 'Thu, 05 Jan 2017 03:22:42 GMT', - etag: '"0x8D4351A1C6CE9C4"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '509f93ef-001a-004d-5802-6750e5000000', - 'x-ms-version': '2016-05-31', - 'x-ms-type': 'File', - date: 'Thu, 05 Jan 2017 03:22:43 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('http://xplat.file.core.windows.net:443') - .get('/upload-test-share-testdata1/dir-testdata2/file-testdata21') - .reply(200, "Hello world!", { 'content-length': '12', - 'content-md5': 'hvsmnRkNLIX24EaM7KQqIA==', - 'last-modified': 'Thu, 05 Jan 2017 03:22:42 GMT', - 'accept-ranges': 'bytes', - etag: '"0x8D4351A1C6CE9C4"', + 'last-modified': 'Tue, 09 Oct 2018 02:57:31 GMT', + etag: '"0x8D62D92F4D02D8F"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '7bf3cfc0-001a-001a-4c02-67b968000000', - 'x-ms-version': '2016-05-31', + 'x-ms-request-id': 'c7fee8bc-801a-0100-087b-5fddb8000000', + 'x-ms-version': '2018-03-28', 'x-ms-type': 'File', - date: 'Thu, 05 Jan 2017 03:22:42 GMT', - connection: 'close' }); + 'x-ms-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:31 GMT' }); return result; }, function (nock) { var result = -nock('https://xplat.file.core.windows.net:443') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') .get('/upload-test-share-testdata1/dir-testdata2/file-testdata21') .reply(200, "Hello world!", { 'content-length': '12', 'content-md5': 'hvsmnRkNLIX24EaM7KQqIA==', - 'last-modified': 'Thu, 05 Jan 2017 03:22:42 GMT', + 'last-modified': 'Tue, 09 Oct 2018 02:57:31 GMT', 'accept-ranges': 'bytes', - etag: '"0x8D4351A1C6CE9C4"', + etag: '"0x8D62D92F4D02D8F"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '7bf3cfc0-001a-001a-4c02-67b968000000', - 'x-ms-version': '2016-05-31', + 'x-ms-request-id': 'c7fee8bd-801a-0100-097b-5fddb8000000', + 'x-ms-version': '2018-03-28', 'x-ms-type': 'File', - date: 'Thu, 05 Jan 2017 03:22:42 GMT', - connection: 'close' }); + 'x-ms-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:31 GMT' }); return result; }], [function (nock) { var result = -nock('http://xplat.file.core.windows.net:443') - .put('/upload-test-share-testdata1/dir-testdata2/file-testdata22') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') + .put('/upload-test-share-testdata1/dir-testdata2/emptyfile') .reply(201, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Thu, 05 Jan 2017 03:22:44 GMT', - etag: '"0x8D4351A1D325F39"', + 'last-modified': 'Tue, 09 Oct 2018 02:57:31 GMT', + etag: '"0x8D62D92F4F1C759"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'e44fcede-001a-0023-1c02-67f9cc000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:43 GMT', - connection: 'close' }); + 'x-ms-request-id': 'c7fee8be-801a-0100-0a7b-5fddb8000000', + 'x-ms-version': '2018-03-28', + 'x-ms-request-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:31 GMT' }); return result; }, function (nock) { var result = -nock('https://xplat.file.core.windows.net:443') - .put('/upload-test-share-testdata1/dir-testdata2/file-testdata22') - .reply(201, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Thu, 05 Jan 2017 03:22:44 GMT', - etag: '"0x8D4351A1D325F39"', +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') + .get('/upload-test-share-testdata1/dir-testdata2/emptyfile') + .reply(200, "", { 'content-length': '0', + 'content-type': 'application/octet-stream', + 'last-modified': 'Tue, 09 Oct 2018 02:57:31 GMT', + 'accept-ranges': 'bytes', + etag: '"0x8D62D92F4F1C759"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'e44fcede-001a-0023-1c02-67f9cc000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:43 GMT', - connection: 'close' }); - return result; }, -function (nock) { + 'x-ms-request-id': 'c7fee8bf-801a-0100-0b7b-5fddb8000000', + 'x-ms-version': '2018-03-28', + 'x-ms-type': 'File', + 'x-ms-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:31 GMT' }); + return result; }], +[function (nock) { var result = -nock('http://xplat.file.core.windows.net:443') - .filteringRequestBody(function (path) { return '*';}) -.put('/upload-test-share-testdata1/dir-testdata2/file-testdata22?comp=range', '*') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') + .put('/upload-test-share-testdata1/dir-testdata2/file-testdata23') .reply(201, "", { 'transfer-encoding': 'chunked', - 'content-md5': 'sQqNsWTgdUEFt6mb5y4/5Q==', - 'last-modified': 'Thu, 05 Jan 2017 03:22:44 GMT', - etag: '"0x8D4351A1D795437"', + 'last-modified': 'Tue, 09 Oct 2018 02:57:31 GMT', + etag: '"0x8D62D92F50A1018"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '1c1f064d-001a-002c-1502-67143a000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:43 GMT', - connection: 'close' }); + 'x-ms-request-id': 'c7fee8c2-801a-0100-0e7b-5fddb8000000', + 'x-ms-version': '2018-03-28', + 'x-ms-request-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:31 GMT' }); return result; }, function (nock) { var result = -nock('https://xplat.file.core.windows.net:443') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') .filteringRequestBody(function (path) { return '*';}) -.put('/upload-test-share-testdata1/dir-testdata2/file-testdata22?comp=range', '*') +.put('/upload-test-share-testdata1/dir-testdata2/file-testdata23?comp=range', '*') .reply(201, "", { 'transfer-encoding': 'chunked', 'content-md5': 'sQqNsWTgdUEFt6mb5y4/5Q==', - 'last-modified': 'Thu, 05 Jan 2017 03:22:44 GMT', - etag: '"0x8D4351A1D795437"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '1c1f064d-001a-002c-1502-67143a000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:43 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('http://xplat.file.core.windows.net:443') - .get('/upload-test-share-testdata1/dir-testdata2/file-testdata22') - .reply(200, "Hello World", { 'content-length': '11', - 'content-type': 'application/octet-stream', - 'last-modified': 'Thu, 05 Jan 2017 03:22:44 GMT', - 'accept-ranges': 'bytes', - etag: '"0x8D4351A1D795437"', + 'last-modified': 'Tue, 09 Oct 2018 02:57:31 GMT', + etag: '"0x8D62D92F5169631"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'bf006e9e-001a-0035-2102-673852000000', - 'x-ms-version': '2016-05-31', - 'x-ms-type': 'File', - date: 'Thu, 05 Jan 2017 03:22:44 GMT', - connection: 'close' }); + 'x-ms-request-id': 'c7fee8c3-801a-0100-0f7b-5fddb8000000', + 'x-ms-version': '2018-03-28', + 'x-ms-request-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:31 GMT' }); return result; }, function (nock) { var result = -nock('https://xplat.file.core.windows.net:443') - .get('/upload-test-share-testdata1/dir-testdata2/file-testdata22') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') + .get('/upload-test-share-testdata1/dir-testdata2/file-testdata23') .reply(200, "Hello World", { 'content-length': '11', 'content-type': 'application/octet-stream', - 'last-modified': 'Thu, 05 Jan 2017 03:22:44 GMT', + 'last-modified': 'Tue, 09 Oct 2018 02:57:31 GMT', 'accept-ranges': 'bytes', - etag: '"0x8D4351A1D795437"', + etag: '"0x8D62D92F5169631"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'bf006e9e-001a-0035-2102-673852000000', - 'x-ms-version': '2016-05-31', + 'x-ms-request-id': 'c7fee8c4-801a-0100-107b-5fddb8000000', + 'x-ms-version': '2018-03-28', 'x-ms-type': 'File', - date: 'Thu, 05 Jan 2017 03:22:44 GMT', - connection: 'close' }); + 'x-ms-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:31 GMT' }); return result; }], [function (nock) { var result = -nock('http://xplat.file.core.windows.net:443') - .put('/upload-test-share-testdata1/dir-testdata2/def%40%23abefdef%26%20%26abcde%2B%3D-') - .reply(201, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Thu, 05 Jan 2017 03:22:45 GMT', - etag: '"0x8D4351A1DFB3005"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'c1e0345f-001a-0002-2702-6794fd000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:45 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('https://xplat.file.core.windows.net:443') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') .put('/upload-test-share-testdata1/dir-testdata2/def%40%23abefdef%26%20%26abcde%2B%3D-') .reply(201, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Thu, 05 Jan 2017 03:22:45 GMT', - etag: '"0x8D4351A1DFB3005"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'c1e0345f-001a-0002-2702-6794fd000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:45 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('http://xplat.file.core.windows.net:443') - .filteringRequestBody(function (path) { return '*';}) -.put('/upload-test-share-testdata1/dir-testdata2/def%40%23abefdef%26%20%26abcde%2B%3D-?comp=range', '*') - .reply(201, "", { 'transfer-encoding': 'chunked', - 'content-md5': 'el72csKikewywwY0G++EaQ==', - 'last-modified': 'Thu, 05 Jan 2017 03:22:45 GMT', - etag: '"0x8D4351A1E4161AB"', + 'last-modified': 'Tue, 09 Oct 2018 02:57:32 GMT', + etag: '"0x8D62D92F52D09C9"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '8cabffd6-001a-0047-1902-67496c000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:44 GMT', - connection: 'close' }); + 'x-ms-request-id': 'c7fee8c6-801a-0100-117b-5fddb8000000', + 'x-ms-version': '2018-03-28', + 'x-ms-request-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:32 GMT' }); return result; }, function (nock) { var result = -nock('https://xplat.file.core.windows.net:443') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') .filteringRequestBody(function (path) { return '*';}) .put('/upload-test-share-testdata1/dir-testdata2/def%40%23abefdef%26%20%26abcde%2B%3D-?comp=range', '*') .reply(201, "", { 'transfer-encoding': 'chunked', 'content-md5': 'el72csKikewywwY0G++EaQ==', - 'last-modified': 'Thu, 05 Jan 2017 03:22:45 GMT', - etag: '"0x8D4351A1E4161AB"', + 'last-modified': 'Tue, 09 Oct 2018 02:57:32 GMT', + etag: '"0x8D62D92F53AEFBF"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '8cabffd6-001a-0047-1902-67496c000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:44 GMT', - connection: 'close' }); + 'x-ms-request-id': 'c7fee8c7-801a-0100-127b-5fddb8000000', + 'x-ms-version': '2018-03-28', + 'x-ms-request-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:32 GMT' }); return result; }, function (nock) { var result = -nock('http://xplat.file.core.windows.net:443') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') .get('/upload-test-share-testdata1/dir-testdata2/def%40%23abefdef%26%20%26abcde%2B%3D-') .reply(200, "def@#/abef?def/& &/abcde+=-", { 'content-length': '27', 'content-type': 'application/octet-stream', - 'last-modified': 'Thu, 05 Jan 2017 03:22:45 GMT', + 'last-modified': 'Tue, 09 Oct 2018 02:57:32 GMT', 'accept-ranges': 'bytes', - etag: '"0x8D4351A1E4161AB"', + etag: '"0x8D62D92F53AEFBF"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'e48c8a82-001a-0000-6402-679607000000', - 'x-ms-version': '2016-05-31', + 'x-ms-request-id': 'c7fee8c8-801a-0100-137b-5fddb8000000', + 'x-ms-version': '2018-03-28', 'x-ms-type': 'File', - date: 'Thu, 05 Jan 2017 03:22:45 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('https://xplat.file.core.windows.net:443') - .get('/upload-test-share-testdata1/dir-testdata2/def%40%23abefdef%26%20%26abcde%2B%3D-') - .reply(200, "def@#/abef?def/& &/abcde+=-", { 'content-length': '27', - 'content-type': 'application/octet-stream', - 'last-modified': 'Thu, 05 Jan 2017 03:22:45 GMT', - 'accept-ranges': 'bytes', - etag: '"0x8D4351A1E4161AB"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'e48c8a82-001a-0000-6402-679607000000', - 'x-ms-version': '2016-05-31', - 'x-ms-type': 'File', - date: 'Thu, 05 Jan 2017 03:22:45 GMT', - connection: 'close' }); + 'x-ms-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:32 GMT' }); return result; }], [function (nock) { var result = -nock('http://xplat.file.core.windows.net:443') - .put('/upload-test-share-testdata1/dir-testdata2/%E2%92%88%E2%91%A0%E2%85%AB%E3%84%A8%E3%84%A9') - .reply(201, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Thu, 05 Jan 2017 03:22:46 GMT', - etag: '"0x8D4351A1EC5AEB7"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '62dfffe3-001a-001d-7602-674fed000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:46 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('https://xplat.file.core.windows.net:443') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') .put('/upload-test-share-testdata1/dir-testdata2/%E2%92%88%E2%91%A0%E2%85%AB%E3%84%A8%E3%84%A9') .reply(201, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Thu, 05 Jan 2017 03:22:46 GMT', - etag: '"0x8D4351A1EC5AEB7"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '62dfffe3-001a-001d-7602-674fed000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:46 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('http://xplat.file.core.windows.net:443') - .filteringRequestBody(function (path) { return '*';}) -.put('/upload-test-share-testdata1/dir-testdata2/%E2%92%88%E2%91%A0%E2%85%AB%E3%84%A8%E3%84%A9?comp=range', '*') - .reply(201, "", { 'transfer-encoding': 'chunked', - 'content-md5': 'JV47ao252oiHjJL9esZSog==', - 'last-modified': 'Thu, 05 Jan 2017 03:22:47 GMT', - etag: '"0x8D4351A1F0C7CA4"', + 'last-modified': 'Tue, 09 Oct 2018 02:57:32 GMT', + etag: '"0x8D62D92F57FD16E"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'bcbc35cc-001a-0025-7802-670eb4000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:46 GMT', - connection: 'close' }); + 'x-ms-request-id': 'c7fee8c9-801a-0100-147b-5fddb8000000', + 'x-ms-version': '2018-03-28', + 'x-ms-request-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:32 GMT' }); return result; }, function (nock) { var result = -nock('https://xplat.file.core.windows.net:443') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') .filteringRequestBody(function (path) { return '*';}) .put('/upload-test-share-testdata1/dir-testdata2/%E2%92%88%E2%91%A0%E2%85%AB%E3%84%A8%E3%84%A9?comp=range', '*') .reply(201, "", { 'transfer-encoding': 'chunked', 'content-md5': 'JV47ao252oiHjJL9esZSog==', - 'last-modified': 'Thu, 05 Jan 2017 03:22:47 GMT', - etag: '"0x8D4351A1F0C7CA4"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'bcbc35cc-001a-0025-7802-670eb4000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:46 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('http://xplat.file.core.windows.net:443') - .get('/upload-test-share-testdata1/dir-testdata2/%E2%92%88%E2%91%A0%E2%85%AB%E3%84%A8%E3%84%A9') - .reply(200, "⒈①Ⅻㄨㄩ", { 'content-length': '15', - 'content-type': 'application/octet-stream', - 'last-modified': 'Thu, 05 Jan 2017 03:22:47 GMT', - 'accept-ranges': 'bytes', - etag: '"0x8D4351A1F0C7CA4"', + 'last-modified': 'Tue, 09 Oct 2018 02:57:32 GMT', + etag: '"0x8D62D92F58D421A"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '6cfd84e9-001a-002f-2502-67173d000000', - 'x-ms-version': '2016-05-31', - 'x-ms-type': 'File', - date: 'Thu, 05 Jan 2017 03:22:47 GMT', - connection: 'close' }); + 'x-ms-request-id': 'c7fee8cb-801a-0100-157b-5fddb8000000', + 'x-ms-version': '2018-03-28', + 'x-ms-request-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:32 GMT' }); return result; }, function (nock) { var result = -nock('https://xplat.file.core.windows.net:443') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') .get('/upload-test-share-testdata1/dir-testdata2/%E2%92%88%E2%91%A0%E2%85%AB%E3%84%A8%E3%84%A9') .reply(200, "⒈①Ⅻㄨㄩ", { 'content-length': '15', 'content-type': 'application/octet-stream', - 'last-modified': 'Thu, 05 Jan 2017 03:22:47 GMT', + 'last-modified': 'Tue, 09 Oct 2018 02:57:32 GMT', 'accept-ranges': 'bytes', - etag: '"0x8D4351A1F0C7CA4"', + etag: '"0x8D62D92F58D421A"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '6cfd84e9-001a-002f-2502-67173d000000', - 'x-ms-version': '2016-05-31', + 'x-ms-request-id': 'c7fee8cc-801a-0100-167b-5fddb8000000', + 'x-ms-version': '2018-03-28', 'x-ms-type': 'File', - date: 'Thu, 05 Jan 2017 03:22:47 GMT', - connection: 'close' }); + 'x-ms-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:32 GMT' }); return result; }], [function (nock) { var result = -nock('http://xplat.file.core.windows.net:443') - .put('/upload-test-share-testdata1/dir-testdata2/file-testdata25') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') + .put('/upload-test-share-testdata1/dir-testdata2/file-testdata26') .reply(201, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Thu, 05 Jan 2017 03:22:48 GMT', - etag: '"0x8D4351A1F93AFAE"', + 'last-modified': 'Tue, 09 Oct 2018 02:57:32 GMT', + etag: '"0x8D62D92F5A711F7"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '8584bbd6-001a-0041-6802-67be14000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:47 GMT', - connection: 'close' }); + 'x-ms-request-id': 'c7fee8cd-801a-0100-177b-5fddb8000000', + 'x-ms-version': '2018-03-28', + 'x-ms-request-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:32 GMT' }); return result; }, function (nock) { var result = -nock('https://xplat.file.core.windows.net:443') - .put('/upload-test-share-testdata1/dir-testdata2/file-testdata25') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') + .filteringRequestBody(function (path) { return '*';}) +.put('/upload-test-share-testdata1/dir-testdata2/file-testdata26?comp=range', '*') .reply(201, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Thu, 05 Jan 2017 03:22:48 GMT', - etag: '"0x8D4351A1F93AFAE"', + 'content-md5': 'sQqNsWTgdUEFt6mb5y4/5Q==', + 'last-modified': 'Tue, 09 Oct 2018 02:57:33 GMT', + etag: '"0x8D62D92F5B322AA"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '8584bbd6-001a-0041-6802-67be14000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:47 GMT', - connection: 'close' }); + 'x-ms-request-id': 'c7fee8cf-801a-0100-187b-5fddb8000000', + 'x-ms-version': '2018-03-28', + 'x-ms-request-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:32 GMT' }); return result; }, function (nock) { var result = -nock('http://xplat.file.core.windows.net:443') - .filteringRequestBody(function (path) { return '*';}) -.put('/upload-test-share-testdata1/dir-testdata2/file-testdata25?comp=range', '*') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') + .get('/upload-test-share-testdata1/dir-testdata2/file-testdata26') + .reply(200, "Hello World", { 'content-length': '11', + 'content-type': 'application/octet-stream', + 'last-modified': 'Tue, 09 Oct 2018 02:57:33 GMT', + 'accept-ranges': 'bytes', + etag: '"0x8D62D92F5B322AA"', + server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', + 'x-ms-request-id': 'c7fee8d0-801a-0100-197b-5fddb8000000', + 'x-ms-version': '2018-03-28', + 'x-ms-type': 'File', + 'x-ms-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:33 GMT' }); + return result; }], +[function (nock) { +var result = +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') + .put('/upload-test-share-testdata1/dir-testdata2/file-1%20a') .reply(201, "", { 'transfer-encoding': 'chunked', - 'content-md5': 'sQqNsWTgdUEFt6mb5y4/5Q==', - 'last-modified': 'Thu, 05 Jan 2017 03:22:48 GMT', - etag: '"0x8D4351A1FD91E05"', + 'last-modified': 'Tue, 09 Oct 2018 02:57:33 GMT', + etag: '"0x8D62D92F5CD67AC"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'be13f72c-001a-000d-2602-67790b000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:48 GMT', - connection: 'close' }); + 'x-ms-request-id': 'c7fee8d1-801a-0100-1a7b-5fddb8000000', + 'x-ms-version': '2018-03-28', + 'x-ms-request-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:33 GMT' }); return result; }, function (nock) { var result = -nock('https://xplat.file.core.windows.net:443') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') .filteringRequestBody(function (path) { return '*';}) -.put('/upload-test-share-testdata1/dir-testdata2/file-testdata25?comp=range', '*') +.put('/upload-test-share-testdata1/dir-testdata2/file-1%20a?comp=range', '*') .reply(201, "", { 'transfer-encoding': 'chunked', 'content-md5': 'sQqNsWTgdUEFt6mb5y4/5Q==', - 'last-modified': 'Thu, 05 Jan 2017 03:22:48 GMT', - etag: '"0x8D4351A1FD91E05"', + 'last-modified': 'Tue, 09 Oct 2018 02:57:33 GMT', + etag: '"0x8D62D92F5D99FA5"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'be13f72c-001a-000d-2602-67790b000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:48 GMT', - connection: 'close' }); + 'x-ms-request-id': 'c7fee8d2-801a-0100-1b7b-5fddb8000000', + 'x-ms-version': '2018-03-28', + 'x-ms-request-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:33 GMT' }); return result; }, function (nock) { var result = -nock('http://xplat.file.core.windows.net:443') - .get('/upload-test-share-testdata1/dir-testdata2/file-testdata25') - .reply(200, "Hello World", { 'content-length': '11', +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') + .head('/upload-test-share-testdata1/dir-testdata2/file-1%20a') + .reply(200, "", { 'content-length': '11', 'content-type': 'application/octet-stream', - 'last-modified': 'Thu, 05 Jan 2017 03:22:48 GMT', - 'accept-ranges': 'bytes', - etag: '"0x8D4351A1FD91E05"', + 'content-md5': 'sQqNsWTgdUEFt6mb5y4/5Q==', + 'last-modified': 'Tue, 09 Oct 2018 02:57:33 GMT', + etag: '"0x8D62D92F5D99FA5"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'c47e9eb8-001a-0003-1e02-679500000000', - 'x-ms-version': '2016-05-31', + 'x-ms-request-id': 'c7fee8d3-801a-0100-1c7b-5fddb8000000', + 'x-ms-version': '2018-03-28', 'x-ms-type': 'File', - date: 'Thu, 05 Jan 2017 03:22:48 GMT', - connection: 'close' }); + 'x-ms-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:33 GMT' }); return result; }, function (nock) { var result = -nock('https://xplat.file.core.windows.net:443') - .get('/upload-test-share-testdata1/dir-testdata2/file-testdata25') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') + .get('/upload-test-share-testdata1/dir-testdata2/file-1%20a') .reply(200, "Hello World", { 'content-length': '11', 'content-type': 'application/octet-stream', - 'last-modified': 'Thu, 05 Jan 2017 03:22:48 GMT', + 'content-md5': 'sQqNsWTgdUEFt6mb5y4/5Q==', + 'last-modified': 'Tue, 09 Oct 2018 02:57:33 GMT', 'accept-ranges': 'bytes', - etag: '"0x8D4351A1FD91E05"', + etag: '"0x8D62D92F5D99FA5"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'c47e9eb8-001a-0003-1e02-679500000000', - 'x-ms-version': '2016-05-31', + 'x-ms-request-id': 'c7fee8d4-801a-0100-1d7b-5fddb8000000', + 'x-ms-version': '2018-03-28', 'x-ms-type': 'File', - date: 'Thu, 05 Jan 2017 03:22:48 GMT', - connection: 'close' }); + 'x-ms-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:33 GMT' }); return result; }], [function (nock) { var result = -nock('http://xplat.file.core.windows.net:443') - .put('/upload-test-share-testdata1/dir-testdata2/file-1%20a') - .reply(201, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Thu, 05 Jan 2017 03:22:49 GMT', - etag: '"0x8D4351A2061D7B7"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '51b2601c-001a-001f-6c02-674d17000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:49 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('https://xplat.file.core.windows.net:443') - .put('/upload-test-share-testdata1/dir-testdata2/file-1%20a') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') + .put('/upload-test-share-testdata1/dir-testdata2/file-testdata28') .reply(201, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Thu, 05 Jan 2017 03:22:49 GMT', - etag: '"0x8D4351A2061D7B7"', + 'last-modified': 'Tue, 09 Oct 2018 02:57:33 GMT', + etag: '"0x8D62D92F5FFF56C"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '51b2601c-001a-001f-6c02-674d17000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:49 GMT', - connection: 'close' }); + 'x-ms-request-id': 'c7fee8d5-801a-0100-1e7b-5fddb8000000', + 'x-ms-version': '2018-03-28', + 'x-ms-request-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:33 GMT' }); return result; }, function (nock) { var result = -nock('http://xplat.file.core.windows.net:443') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') .filteringRequestBody(function (path) { return '*';}) -.put('/upload-test-share-testdata1/dir-testdata2/file-1%20a?comp=range', '*') +.put('/upload-test-share-testdata1/dir-testdata2/file-testdata28?comp=range', '*') .reply(201, "", { 'transfer-encoding': 'chunked', - 'content-md5': 'sQqNsWTgdUEFt6mb5y4/5Q==', - 'last-modified': 'Thu, 05 Jan 2017 03:22:49 GMT', - etag: '"0x8D4351A20A5E678"', + 'content-md5': '7Qdih1MuhjZehB6Sv8UNjA==', + 'last-modified': 'Tue, 09 Oct 2018 02:57:33 GMT', + etag: '"0x8D62D92F60DDB70"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'fac24166-001a-0015-7702-67549e000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:49 GMT', - connection: 'close' }); + 'x-ms-request-id': 'c7fee8d6-801a-0100-1f7b-5fddb8000000', + 'x-ms-version': '2018-03-28', + 'x-ms-request-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:33 GMT' }); return result; }, function (nock) { var result = -nock('https://xplat.file.core.windows.net:443') - .filteringRequestBody(function (path) { return '*';}) -.put('/upload-test-share-testdata1/dir-testdata2/file-1%20a?comp=range', '*') - .reply(201, "", { 'transfer-encoding': 'chunked', - 'content-md5': 'sQqNsWTgdUEFt6mb5y4/5Q==', - 'last-modified': 'Thu, 05 Jan 2017 03:22:49 GMT', - etag: '"0x8D4351A20A5E678"', +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') + .put('/upload-test-share-testdata1/dir-testdata2/file-testdata28?comp=properties') + .reply(200, "", { 'transfer-encoding': 'chunked', + 'last-modified': 'Tue, 09 Oct 2018 02:57:33 GMT', + etag: '"0x8D62D92F618DA9E"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'fac24166-001a-0015-7702-67549e000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:49 GMT', - connection: 'close' }); + 'x-ms-request-id': 'c7fee8d7-801a-0100-207b-5fddb8000000', + 'x-ms-version': '2018-03-28', + 'x-ms-request-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:33 GMT' }); return result; }, function (nock) { var result = -nock('http://xplat.file.core.windows.net:443') - .head('/upload-test-share-testdata1/dir-testdata2/file-1%20a') - .reply(200, "", { 'content-length': '11', - 'content-type': 'application/octet-stream', - 'content-md5': 'sQqNsWTgdUEFt6mb5y4/5Q==', - 'last-modified': 'Thu, 05 Jan 2017 03:22:49 GMT', - etag: '"0x8D4351A20A5E678"', +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') + .head('/upload-test-share-testdata1/dir-testdata2/file-testdata28') + .reply(200, "", { 'content-length': '12', + 'last-modified': 'Tue, 09 Oct 2018 02:57:33 GMT', + etag: '"0x8D62D92F618DA9E"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'd13339d9-001a-0009-6202-678c89000000', - 'x-ms-version': '2016-05-31', + 'x-ms-request-id': 'c7fee8d8-801a-0100-217b-5fddb8000000', + 'x-ms-version': '2018-03-28', 'x-ms-type': 'File', - date: 'Thu, 05 Jan 2017 03:22:49 GMT', - connection: 'close' }); + 'x-ms-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:33 GMT' }); return result; }, function (nock) { var result = -nock('https://xplat.file.core.windows.net:443') - .head('/upload-test-share-testdata1/dir-testdata2/file-1%20a') - .reply(200, "", { 'content-length': '11', - 'content-type': 'application/octet-stream', - 'content-md5': 'sQqNsWTgdUEFt6mb5y4/5Q==', - 'last-modified': 'Thu, 05 Jan 2017 03:22:49 GMT', - etag: '"0x8D4351A20A5E678"', +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') + .get('/upload-test-share-testdata1/dir-testdata2/file-testdata28') + .reply(200, "Hello World!", { 'content-length': '12', + 'last-modified': 'Tue, 09 Oct 2018 02:57:33 GMT', + 'accept-ranges': 'bytes', + etag: '"0x8D62D92F618DA9E"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'd13339d9-001a-0009-6202-678c89000000', - 'x-ms-version': '2016-05-31', + 'x-ms-request-id': 'c7fee8d9-801a-0100-227b-5fddb8000000', + 'x-ms-version': '2018-03-28', 'x-ms-type': 'File', - date: 'Thu, 05 Jan 2017 03:22:49 GMT', - connection: 'close' }); + 'x-ms-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:33 GMT' }); return result; }, function (nock) { var result = -nock('http://xplat.file.core.windows.net:443') - .get('/upload-test-share-testdata1/dir-testdata2/file-1%20a') - .reply(200, "Hello World", { 'content-length': '11', - 'content-type': 'application/octet-stream', - 'content-md5': 'sQqNsWTgdUEFt6mb5y4/5Q==', - 'last-modified': 'Thu, 05 Jan 2017 03:22:49 GMT', - 'accept-ranges': 'bytes', - etag: '"0x8D4351A20A5E678"', +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') + .head('/upload-test-share-testdata1/dir-testdata2/file-testdata28') + .reply(200, "", { 'content-length': '12', + 'last-modified': 'Tue, 09 Oct 2018 02:57:33 GMT', + etag: '"0x8D62D92F618DA9E"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '5d1c6c38-001a-0026-6302-670db3000000', - 'x-ms-version': '2016-05-31', + 'x-ms-request-id': 'c7fee8da-801a-0100-237b-5fddb8000000', + 'x-ms-version': '2018-03-28', 'x-ms-type': 'File', - date: 'Thu, 05 Jan 2017 03:22:50 GMT', - connection: 'close' }); + 'x-ms-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:33 GMT' }); return result; }, function (nock) { var result = -nock('https://xplat.file.core.windows.net:443') - .get('/upload-test-share-testdata1/dir-testdata2/file-1%20a') - .reply(200, "Hello World", { 'content-length': '11', - 'content-type': 'application/octet-stream', - 'content-md5': 'sQqNsWTgdUEFt6mb5y4/5Q==', - 'last-modified': 'Thu, 05 Jan 2017 03:22:49 GMT', - 'accept-ranges': 'bytes', - etag: '"0x8D4351A20A5E678"', +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') + .delete('/upload-test-share-testdata1/dir-testdata2/file-testdata28') + .reply(202, "", { 'transfer-encoding': 'chunked', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '5d1c6c38-001a-0026-6302-670db3000000', - 'x-ms-version': '2016-05-31', - 'x-ms-type': 'File', - date: 'Thu, 05 Jan 2017 03:22:50 GMT', - connection: 'close' }); + 'x-ms-request-id': 'c7fee8db-801a-0100-247b-5fddb8000000', + 'x-ms-version': '2018-03-28', + date: 'Tue, 09 Oct 2018 02:57:33 GMT' }); return result; }], [function (nock) { var result = -nock('http://xplat.file.core.windows.net:443') - .put('/upload-test-share-testdata1/dir-testdata2/file-testdata27') - .reply(201, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Thu, 05 Jan 2017 03:22:51 GMT', - etag: '"0x8D4351A2172880F"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '57fa3527-001a-0043-5902-67bcee000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:50 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('https://xplat.file.core.windows.net:443') - .put('/upload-test-share-testdata1/dir-testdata2/file-testdata27') - .reply(201, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Thu, 05 Jan 2017 03:22:51 GMT', - etag: '"0x8D4351A2172880F"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '57fa3527-001a-0043-5902-67bcee000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:50 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('http://xplat.file.core.windows.net:443') - .filteringRequestBody(function (path) { return '*';}) -.put('/upload-test-share-testdata1/dir-testdata2/file-testdata27?comp=range', '*') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') + .put('/upload-test-share-testdata1/dir-testdata2/file-testdata29') .reply(201, "", { 'transfer-encoding': 'chunked', - 'content-md5': '7Qdih1MuhjZehB6Sv8UNjA==', - 'last-modified': 'Thu, 05 Jan 2017 03:22:51 GMT', - etag: '"0x8D4351A21B3D785"', + 'last-modified': 'Tue, 09 Oct 2018 02:57:34 GMT', + etag: '"0x8D62D92F6549245"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '3d2e2a7c-001a-0024-4202-670f49000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:50 GMT', - connection: 'close' }); + 'x-ms-request-id': 'c7fee8dc-801a-0100-257b-5fddb8000000', + 'x-ms-version': '2018-03-28', + 'x-ms-request-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:33 GMT' }); return result; }, function (nock) { var result = -nock('https://xplat.file.core.windows.net:443') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') .filteringRequestBody(function (path) { return '*';}) -.put('/upload-test-share-testdata1/dir-testdata2/file-testdata27?comp=range', '*') +.put('/upload-test-share-testdata1/dir-testdata2/file-testdata29?comp=range', '*') .reply(201, "", { 'transfer-encoding': 'chunked', 'content-md5': '7Qdih1MuhjZehB6Sv8UNjA==', - 'last-modified': 'Thu, 05 Jan 2017 03:22:51 GMT', - etag: '"0x8D4351A21B3D785"', + 'last-modified': 'Tue, 09 Oct 2018 02:57:34 GMT', + etag: '"0x8D62D92F661186C"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '3d2e2a7c-001a-0024-4202-670f49000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:50 GMT', - connection: 'close' }); + 'x-ms-request-id': 'c7fee8dd-801a-0100-267b-5fddb8000000', + 'x-ms-version': '2018-03-28', + 'x-ms-request-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:34 GMT' }); return result; }, function (nock) { var result = -nock('http://xplat.file.core.windows.net:443') - .put('/upload-test-share-testdata1/dir-testdata2/file-testdata27?comp=properties') - .reply(200, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Thu, 05 Jan 2017 03:22:52 GMT', - etag: '"0x8D4351A21F54E3E"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '802e8439-001a-0019-1902-67ba6f000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:51 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('https://xplat.file.core.windows.net:443') - .put('/upload-test-share-testdata1/dir-testdata2/file-testdata27?comp=properties') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') + .put('/upload-test-share-testdata1/dir-testdata2/file-testdata29?comp=properties') .reply(200, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Thu, 05 Jan 2017 03:22:52 GMT', - etag: '"0x8D4351A21F54E3E"', + 'last-modified': 'Tue, 09 Oct 2018 02:57:34 GMT', + etag: '"0x8D62D92F66CB3E8"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '802e8439-001a-0019-1902-67ba6f000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:51 GMT', - connection: 'close' }); + 'x-ms-request-id': 'c7fee8de-801a-0100-277b-5fddb8000000', + 'x-ms-version': '2018-03-28', + 'x-ms-request-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:34 GMT' }); return result; }, function (nock) { var result = -nock('http://xplat.file.core.windows.net:443') - .head('/upload-test-share-testdata1/dir-testdata2/file-testdata27') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') + .head('/upload-test-share-testdata1/dir-testdata2/file-testdata29') .reply(200, "", { 'content-length': '12', - 'last-modified': 'Thu, 05 Jan 2017 03:22:52 GMT', - etag: '"0x8D4351A21F54E3E"', + 'last-modified': 'Tue, 09 Oct 2018 02:57:34 GMT', + etag: '"0x8D62D92F66CB3E8"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'ecce7bcc-001a-0022-7702-67f831000000', - 'x-ms-version': '2016-05-31', + 'x-ms-request-id': 'c7fee8df-801a-0100-287b-5fddb8000000', + 'x-ms-version': '2018-03-28', 'x-ms-type': 'File', - date: 'Thu, 05 Jan 2017 03:22:52 GMT', - connection: 'close' }); + 'x-ms-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:34 GMT' }); return result; }, function (nock) { var result = -nock('https://xplat.file.core.windows.net:443') - .head('/upload-test-share-testdata1/dir-testdata2/file-testdata27') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') + .head('/upload-test-share-testdata1/dir-testdata2/file-testdata29') .reply(200, "", { 'content-length': '12', - 'last-modified': 'Thu, 05 Jan 2017 03:22:52 GMT', - etag: '"0x8D4351A21F54E3E"', + 'last-modified': 'Tue, 09 Oct 2018 02:57:34 GMT', + etag: '"0x8D62D92F66CB3E8"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'ecce7bcc-001a-0022-7702-67f831000000', - 'x-ms-version': '2016-05-31', + 'x-ms-request-id': 'c7fee8e0-801a-0100-297b-5fddb8000000', + 'x-ms-version': '2018-03-28', 'x-ms-type': 'File', - date: 'Thu, 05 Jan 2017 03:22:52 GMT', - connection: 'close' }); + 'x-ms-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:34 GMT' }); return result; }, function (nock) { var result = -nock('http://xplat.file.core.windows.net:443') - .get('/upload-test-share-testdata1/dir-testdata2/file-testdata27') - .reply(200, "Hello World!", { 'content-length': '12', - 'last-modified': 'Thu, 05 Jan 2017 03:22:52 GMT', - 'accept-ranges': 'bytes', - etag: '"0x8D4351A21F54E3E"', +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') + .delete('/upload-test-share-testdata1/dir-testdata2/file-testdata29') + .reply(202, "", { 'transfer-encoding': 'chunked', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'd12d0810-001a-003f-1702-6721db000000', - 'x-ms-version': '2016-05-31', - 'x-ms-type': 'File', - date: 'Thu, 05 Jan 2017 03:22:52 GMT', - connection: 'close' }); + 'x-ms-request-id': 'c7fee8e1-801a-0100-2a7b-5fddb8000000', + 'x-ms-version': '2018-03-28', + date: 'Tue, 09 Oct 2018 02:57:34 GMT' }); + return result; }], +[function (nock) { +var result = +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') + .put('/upload-test-share-testdata1/dir-testdata2/file-testdata30') + .reply(201, "", { 'transfer-encoding': 'chunked', + 'last-modified': 'Tue, 09 Oct 2018 02:57:34 GMT', + etag: '"0x8D62D92F69AACBE"', + server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', + 'x-ms-request-id': 'c7fee8e2-801a-0100-2b7b-5fddb8000000', + 'x-ms-version': '2018-03-28', + 'x-ms-request-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:34 GMT' }); return result; }, function (nock) { var result = -nock('https://xplat.file.core.windows.net:443') - .get('/upload-test-share-testdata1/dir-testdata2/file-testdata27') - .reply(200, "Hello World!", { 'content-length': '12', - 'last-modified': 'Thu, 05 Jan 2017 03:22:52 GMT', - 'accept-ranges': 'bytes', - etag: '"0x8D4351A21F54E3E"', +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') + .filteringRequestBody(function (path) { return '*';}) +.put('/upload-test-share-testdata1/dir-testdata2/file-testdata30?comp=range', '*') + .reply(201, "", { 'transfer-encoding': 'chunked', + 'content-md5': '7Qdih1MuhjZehB6Sv8UNjA==', + 'last-modified': 'Tue, 09 Oct 2018 02:57:34 GMT', + etag: '"0x8D62D92F6A90803"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'd12d0810-001a-003f-1702-6721db000000', - 'x-ms-version': '2016-05-31', - 'x-ms-type': 'File', - date: 'Thu, 05 Jan 2017 03:22:52 GMT', - connection: 'close' }); + 'x-ms-request-id': 'c7fee8e3-801a-0100-2c7b-5fddb8000000', + 'x-ms-version': '2018-03-28', + 'x-ms-request-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:34 GMT' }); return result; }, function (nock) { var result = -nock('http://xplat.file.core.windows.net:443') - .head('/upload-test-share-testdata1/dir-testdata2/file-testdata27') - .reply(200, "", { 'content-length': '12', - 'last-modified': 'Thu, 05 Jan 2017 03:22:52 GMT', - etag: '"0x8D4351A21F54E3E"', +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') + .put('/upload-test-share-testdata1/dir-testdata2/file-testdata30?comp=properties') + .reply(200, "", { 'transfer-encoding': 'chunked', + 'last-modified': 'Tue, 09 Oct 2018 02:57:34 GMT', + etag: '"0x8D62D92F6B40723"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '3ea71b10-001a-000c-7b03-6778f6000000', - 'x-ms-version': '2016-05-31', - 'x-ms-type': 'File', - date: 'Thu, 05 Jan 2017 03:22:52 GMT', - connection: 'close' }); + 'x-ms-request-id': 'c7fee8e4-801a-0100-2d7b-5fddb8000000', + 'x-ms-version': '2018-03-28', + 'x-ms-request-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:34 GMT' }); return result; }, function (nock) { var result = -nock('https://xplat.file.core.windows.net:443') - .head('/upload-test-share-testdata1/dir-testdata2/file-testdata27') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') + .head('/upload-test-share-testdata1/dir-testdata2/file-testdata30') .reply(200, "", { 'content-length': '12', - 'last-modified': 'Thu, 05 Jan 2017 03:22:52 GMT', - etag: '"0x8D4351A21F54E3E"', + 'content-md5': '7Qdih1MuhjZehB6Sv8UNjA==', + 'last-modified': 'Tue, 09 Oct 2018 02:57:34 GMT', + etag: '"0x8D62D92F6B40723"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '3ea71b10-001a-000c-7b03-6778f6000000', - 'x-ms-version': '2016-05-31', + 'x-ms-request-id': 'c7fee8e5-801a-0100-2e7b-5fddb8000000', + 'x-ms-version': '2018-03-28', 'x-ms-type': 'File', - date: 'Thu, 05 Jan 2017 03:22:52 GMT', - connection: 'close' }); + 'x-ms-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:34 GMT' }); return result; }, function (nock) { var result = -nock('http://xplat.file.core.windows.net:443') - .delete('/upload-test-share-testdata1/dir-testdata2/file-testdata27') - .reply(202, "", { 'transfer-encoding': 'chunked', +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') + .head('/upload-test-share-testdata1/dir-testdata2/file-testdata30') + .reply(200, "", { 'content-length': '12', + 'content-md5': '7Qdih1MuhjZehB6Sv8UNjA==', + 'last-modified': 'Tue, 09 Oct 2018 02:57:34 GMT', + etag: '"0x8D62D92F6B40723"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '841de79d-001a-003d-5c03-672321000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:52 GMT', - connection: 'close' }); + 'x-ms-request-id': 'c7fee8e6-801a-0100-2f7b-5fddb8000000', + 'x-ms-version': '2018-03-28', + 'x-ms-type': 'File', + 'x-ms-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:34 GMT' }); return result; }, function (nock) { var result = -nock('https://xplat.file.core.windows.net:443') - .delete('/upload-test-share-testdata1/dir-testdata2/file-testdata27') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') + .delete('/upload-test-share-testdata1/dir-testdata2/file-testdata30') .reply(202, "", { 'transfer-encoding': 'chunked', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '841de79d-001a-003d-5c03-672321000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:52 GMT', - connection: 'close' }); + 'x-ms-request-id': 'c7fee8e7-801a-0100-307b-5fddb8000000', + 'x-ms-version': '2018-03-28', + date: 'Tue, 09 Oct 2018 02:57:34 GMT' }); return result; }], [function (nock) { var result = -nock('http://xplat.file.core.windows.net:443') - .put('/upload-test-share-testdata1/dir-testdata2/file-testdata28') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') + .put('/upload-test-share-testdata1/dir-testdata2/file-testdata31') .reply(201, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Thu, 05 Jan 2017 03:22:54 GMT', - etag: '"0x8D4351A2351D57C"', + 'last-modified': 'Tue, 09 Oct 2018 02:57:34 GMT', + etag: '"0x8D62D92F6E078E9"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '0ebac28e-001a-001e-2e03-674cea000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:53 GMT', - connection: 'close' }); + 'x-ms-request-id': 'c7fee8e8-801a-0100-317b-5fddb8000000', + 'x-ms-version': '2018-03-28', + 'x-ms-request-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:34 GMT' }); return result; }, function (nock) { var result = -nock('https://xplat.file.core.windows.net:443') - .put('/upload-test-share-testdata1/dir-testdata2/file-testdata28') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') + .filteringRequestBody(function (path) { return '*';}) +.put('/upload-test-share-testdata1/dir-testdata2/file-testdata31?comp=range', '*') .reply(201, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Thu, 05 Jan 2017 03:22:54 GMT', - etag: '"0x8D4351A2351D57C"', + 'content-md5': 'yOjfiVwsrhZrrQJ/3xUzWw==', + 'last-modified': 'Tue, 09 Oct 2018 02:57:35 GMT', + etag: '"0x8D62D92F6ECFF0B"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '0ebac28e-001a-001e-2e03-674cea000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:53 GMT', - connection: 'close' }); + 'x-ms-request-id': 'c7fee8e9-801a-0100-327b-5fddb8000000', + 'x-ms-version': '2018-03-28', + 'x-ms-request-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:34 GMT' }); return result; }, function (nock) { var result = -nock('http://xplat.file.core.windows.net:443') - .filteringRequestBody(function (path) { return '*';}) -.put('/upload-test-share-testdata1/dir-testdata2/file-testdata28?comp=range', '*') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') + .put('/upload-test-share-testdata1/dir-testdata2/file-testdata31') .reply(201, "", { 'transfer-encoding': 'chunked', - 'content-md5': '7Qdih1MuhjZehB6Sv8UNjA==', - 'last-modified': 'Thu, 05 Jan 2017 03:22:54 GMT', - etag: '"0x8D4351A2394849E"', + 'last-modified': 'Tue, 09 Oct 2018 02:57:35 GMT', + etag: '"0x8D62D92F6F84C75"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'fbdc5fcd-001a-0027-2903-670c4e000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:53 GMT', - connection: 'close' }); + 'x-ms-request-id': 'c7fee8ea-801a-0100-337b-5fddb8000000', + 'x-ms-version': '2018-03-28', + 'x-ms-request-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:35 GMT' }); return result; }, function (nock) { var result = -nock('https://xplat.file.core.windows.net:443') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') .filteringRequestBody(function (path) { return '*';}) -.put('/upload-test-share-testdata1/dir-testdata2/file-testdata28?comp=range', '*') +.put('/upload-test-share-testdata1/dir-testdata2/file-testdata31?comp=range', '*') .reply(201, "", { 'transfer-encoding': 'chunked', 'content-md5': '7Qdih1MuhjZehB6Sv8UNjA==', - 'last-modified': 'Thu, 05 Jan 2017 03:22:54 GMT', - etag: '"0x8D4351A2394849E"', + 'last-modified': 'Tue, 09 Oct 2018 02:57:35 GMT', + etag: '"0x8D62D92F7059601"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'fbdc5fcd-001a-0027-2903-670c4e000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:53 GMT', - connection: 'close' }); + 'x-ms-request-id': 'c7fee8eb-801a-0100-347b-5fddb8000000', + 'x-ms-version': '2018-03-28', + 'x-ms-request-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:35 GMT' }); return result; }, function (nock) { var result = -nock('http://xplat.file.core.windows.net:443') - .put('/upload-test-share-testdata1/dir-testdata2/file-testdata28?comp=properties') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') + .put('/upload-test-share-testdata1/dir-testdata2/file-testdata31?comp=properties') .reply(200, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Thu, 05 Jan 2017 03:22:55 GMT', - etag: '"0x8D4351A23D510E0"', + 'last-modified': 'Tue, 09 Oct 2018 02:57:35 GMT', + etag: '"0x8D62D92F7126A44"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '07acf1ed-001a-0042-3e03-67bd13000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:54 GMT', - connection: 'close' }); + 'x-ms-request-id': 'c7fee8ec-801a-0100-357b-5fddb8000000', + 'x-ms-version': '2018-03-28', + 'x-ms-request-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:35 GMT' }); return result; }, function (nock) { var result = -nock('https://xplat.file.core.windows.net:443') - .put('/upload-test-share-testdata1/dir-testdata2/file-testdata28?comp=properties') - .reply(200, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Thu, 05 Jan 2017 03:22:55 GMT', - etag: '"0x8D4351A23D510E0"', +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') + .get('/upload-test-share-testdata1/dir-testdata2/file-testdata31') + .reply(200, "Hello World!", { 'content-length': '12', + 'last-modified': 'Tue, 09 Oct 2018 02:57:35 GMT', + 'accept-ranges': 'bytes', + etag: '"0x8D62D92F7126A44"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '07acf1ed-001a-0042-3e03-67bd13000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:54 GMT', - connection: 'close' }); + 'x-ms-request-id': 'c7fee8ed-801a-0100-367b-5fddb8000000', + 'x-ms-version': '2018-03-28', + 'x-ms-type': 'File', + 'x-ms-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:35 GMT' }); return result; }, function (nock) { var result = -nock('http://xplat.file.core.windows.net:443') - .head('/upload-test-share-testdata1/dir-testdata2/file-testdata28') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') + .head('/upload-test-share-testdata1/dir-testdata2/file-testdata31') .reply(200, "", { 'content-length': '12', - 'last-modified': 'Thu, 05 Jan 2017 03:22:55 GMT', - etag: '"0x8D4351A23D510E0"', + 'last-modified': 'Tue, 09 Oct 2018 02:57:35 GMT', + etag: '"0x8D62D92F7126A44"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '8efbdccd-001a-004b-7a03-67a79d000000', - 'x-ms-version': '2016-05-31', + 'x-ms-request-id': 'c7fee8ef-801a-0100-377b-5fddb8000000', + 'x-ms-version': '2018-03-28', 'x-ms-type': 'File', - date: 'Thu, 05 Jan 2017 03:22:55 GMT', - connection: 'close' }); + 'x-ms-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:35 GMT' }); return result; }, function (nock) { var result = -nock('https://xplat.file.core.windows.net:443') - .head('/upload-test-share-testdata1/dir-testdata2/file-testdata28') - .reply(200, "", { 'content-length': '12', - 'last-modified': 'Thu, 05 Jan 2017 03:22:55 GMT', - etag: '"0x8D4351A23D510E0"', +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') + .delete('/upload-test-share-testdata1/dir-testdata2/file-testdata31') + .reply(202, "", { 'transfer-encoding': 'chunked', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '8efbdccd-001a-004b-7a03-67a79d000000', - 'x-ms-version': '2016-05-31', - 'x-ms-type': 'File', - date: 'Thu, 05 Jan 2017 03:22:55 GMT', - connection: 'close' }); - return result; }, -function (nock) { + 'x-ms-request-id': 'c7fee8f0-801a-0100-387b-5fddb8000000', + 'x-ms-version': '2018-03-28', + date: 'Tue, 09 Oct 2018 02:57:35 GMT' }); + return result; }], +[function (nock) { var result = -nock('http://xplat.file.core.windows.net:443') - .head('/upload-test-share-testdata1/dir-testdata2/file-testdata28') - .reply(200, "", { 'content-length': '12', - 'last-modified': 'Thu, 05 Jan 2017 03:22:55 GMT', - etag: '"0x8D4351A23D510E0"', +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') + .put('/upload-test-share-testdata1/dir-testdata2/file-testdata32') + .reply(201, "", { 'transfer-encoding': 'chunked', + 'last-modified': 'Tue, 09 Oct 2018 02:57:35 GMT', + etag: '"0x8D62D92F740FF76"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '904d5387-001a-0018-7b03-67bb92000000', - 'x-ms-version': '2016-05-31', - 'x-ms-type': 'File', - date: 'Thu, 05 Jan 2017 03:22:54 GMT', - connection: 'close' }); + 'x-ms-request-id': 'c7fee8f1-801a-0100-397b-5fddb8000000', + 'x-ms-version': '2018-03-28', + 'x-ms-request-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:35 GMT' }); return result; }, function (nock) { var result = -nock('https://xplat.file.core.windows.net:443') - .head('/upload-test-share-testdata1/dir-testdata2/file-testdata28') - .reply(200, "", { 'content-length': '12', - 'last-modified': 'Thu, 05 Jan 2017 03:22:55 GMT', - etag: '"0x8D4351A23D510E0"', +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') + .filteringRequestBody(function (path) { return '*';}) +.put('/upload-test-share-testdata1/dir-testdata2/file-testdata32?comp=range', '*') + .reply(201, "", { 'transfer-encoding': 'chunked', + 'content-md5': '7Qdih1MuhjZehB6Sv8UNjA==', + 'last-modified': 'Tue, 09 Oct 2018 02:57:35 GMT', + etag: '"0x8D62D92F7506C77"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '904d5387-001a-0018-7b03-67bb92000000', - 'x-ms-version': '2016-05-31', - 'x-ms-type': 'File', - date: 'Thu, 05 Jan 2017 03:22:54 GMT', - connection: 'close' }); + 'x-ms-request-id': 'c7fee8f2-801a-0100-3a7b-5fddb8000000', + 'x-ms-version': '2018-03-28', + 'x-ms-request-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:35 GMT' }); return result; }, function (nock) { var result = -nock('http://xplat.file.core.windows.net:443') - .delete('/upload-test-share-testdata1/dir-testdata2/file-testdata28') - .reply(202, "", { 'transfer-encoding': 'chunked', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '0d4d8ffb-001a-0014-2f03-675563000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:56 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('https://xplat.file.core.windows.net:443') - .delete('/upload-test-share-testdata1/dir-testdata2/file-testdata28') - .reply(202, "", { 'transfer-encoding': 'chunked', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '0d4d8ffb-001a-0014-2f03-675563000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:56 GMT', - connection: 'close' }); - return result; }], -[function (nock) { -var result = -nock('http://xplat.file.core.windows.net:443') - .put('/upload-test-share-testdata1/dir-testdata2/file-testdata29') - .reply(201, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Thu, 05 Jan 2017 03:22:57 GMT', - etag: '"0x8D4351A24E069EE"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '74d281c5-001a-0045-5803-674b96000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:56 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('https://xplat.file.core.windows.net:443') - .put('/upload-test-share-testdata1/dir-testdata2/file-testdata29') - .reply(201, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Thu, 05 Jan 2017 03:22:57 GMT', - etag: '"0x8D4351A24E069EE"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '74d281c5-001a-0045-5803-674b96000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:56 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('http://xplat.file.core.windows.net:443') - .filteringRequestBody(function (path) { return '*';}) -.put('/upload-test-share-testdata1/dir-testdata2/file-testdata29?comp=range', '*') - .reply(201, "", { 'transfer-encoding': 'chunked', - 'content-md5': '7Qdih1MuhjZehB6Sv8UNjA==', - 'last-modified': 'Thu, 05 Jan 2017 03:22:57 GMT', - etag: '"0x8D4351A25211D4A"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'b618bbbd-001a-003a-5303-67d5a4000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:56 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('https://xplat.file.core.windows.net:443') - .filteringRequestBody(function (path) { return '*';}) -.put('/upload-test-share-testdata1/dir-testdata2/file-testdata29?comp=range', '*') - .reply(201, "", { 'transfer-encoding': 'chunked', - 'content-md5': '7Qdih1MuhjZehB6Sv8UNjA==', - 'last-modified': 'Thu, 05 Jan 2017 03:22:57 GMT', - etag: '"0x8D4351A25211D4A"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'b618bbbd-001a-003a-5303-67d5a4000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:56 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('http://xplat.file.core.windows.net:443') - .put('/upload-test-share-testdata1/dir-testdata2/file-testdata29?comp=properties') - .reply(200, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Thu, 05 Jan 2017 03:22:57 GMT', - etag: '"0x8D4351A2563CC64"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '5527bb06-001a-0038-1003-67d75e000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:56 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('https://xplat.file.core.windows.net:443') - .put('/upload-test-share-testdata1/dir-testdata2/file-testdata29?comp=properties') - .reply(200, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Thu, 05 Jan 2017 03:22:57 GMT', - etag: '"0x8D4351A2563CC64"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '5527bb06-001a-0038-1003-67d75e000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:56 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('http://xplat.file.core.windows.net:443') - .head('/upload-test-share-testdata1/dir-testdata2/file-testdata29') - .reply(200, "", { 'content-length': '12', - 'content-md5': '7Qdih1MuhjZehB6Sv8UNjA==', - 'last-modified': 'Thu, 05 Jan 2017 03:22:57 GMT', - etag: '"0x8D4351A2563CC64"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'db11f959-001a-0005-5603-676278000000', - 'x-ms-version': '2016-05-31', - 'x-ms-type': 'File', - date: 'Thu, 05 Jan 2017 03:22:57 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('https://xplat.file.core.windows.net:443') - .head('/upload-test-share-testdata1/dir-testdata2/file-testdata29') - .reply(200, "", { 'content-length': '12', - 'content-md5': '7Qdih1MuhjZehB6Sv8UNjA==', - 'last-modified': 'Thu, 05 Jan 2017 03:22:57 GMT', - etag: '"0x8D4351A2563CC64"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'db11f959-001a-0005-5603-676278000000', - 'x-ms-version': '2016-05-31', - 'x-ms-type': 'File', - date: 'Thu, 05 Jan 2017 03:22:57 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('http://xplat.file.core.windows.net:443') - .head('/upload-test-share-testdata1/dir-testdata2/file-testdata29') - .reply(200, "", { 'content-length': '12', - 'content-md5': '7Qdih1MuhjZehB6Sv8UNjA==', - 'last-modified': 'Thu, 05 Jan 2017 03:22:57 GMT', - etag: '"0x8D4351A2563CC64"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '302b23b9-001a-000e-6303-677a0c000000', - 'x-ms-version': '2016-05-31', - 'x-ms-type': 'File', - date: 'Thu, 05 Jan 2017 03:22:57 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('https://xplat.file.core.windows.net:443') - .head('/upload-test-share-testdata1/dir-testdata2/file-testdata29') - .reply(200, "", { 'content-length': '12', - 'content-md5': '7Qdih1MuhjZehB6Sv8UNjA==', - 'last-modified': 'Thu, 05 Jan 2017 03:22:57 GMT', - etag: '"0x8D4351A2563CC64"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '302b23b9-001a-000e-6303-677a0c000000', - 'x-ms-version': '2016-05-31', - 'x-ms-type': 'File', - date: 'Thu, 05 Jan 2017 03:22:57 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('http://xplat.file.core.windows.net:443') - .delete('/upload-test-share-testdata1/dir-testdata2/file-testdata29') - .reply(202, "", { 'transfer-encoding': 'chunked', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'bd2e0010-001a-0017-1a03-675664000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:58 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('https://xplat.file.core.windows.net:443') - .delete('/upload-test-share-testdata1/dir-testdata2/file-testdata29') - .reply(202, "", { 'transfer-encoding': 'chunked', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'bd2e0010-001a-0017-1a03-675664000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:58 GMT', - connection: 'close' }); - return result; }], -[function (nock) { -var result = -nock('http://xplat.file.core.windows.net:443') - .put('/upload-test-share-testdata1/dir-testdata2/file-testdata30') - .reply(201, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Thu, 05 Jan 2017 03:22:59 GMT', - etag: '"0x8D4351A266D2988"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'cb1df374-001a-0034-3703-6739af000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:58 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('https://xplat.file.core.windows.net:443') - .put('/upload-test-share-testdata1/dir-testdata2/file-testdata30') - .reply(201, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Thu, 05 Jan 2017 03:22:59 GMT', - etag: '"0x8D4351A266D2988"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'cb1df374-001a-0034-3703-6739af000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:58 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('http://xplat.file.core.windows.net:443') - .filteringRequestBody(function (path) { return '*';}) -.put('/upload-test-share-testdata1/dir-testdata2/file-testdata30?comp=range', '*') - .reply(201, "", { 'transfer-encoding': 'chunked', - 'content-md5': 'yOjfiVwsrhZrrQJ/3xUzWw==', - 'last-modified': 'Thu, 05 Jan 2017 03:23:00 GMT', - etag: '"0x8D4351A26B074EC"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '10db251a-001a-0029-6a03-67e045000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:59 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('https://xplat.file.core.windows.net:443') - .filteringRequestBody(function (path) { return '*';}) -.put('/upload-test-share-testdata1/dir-testdata2/file-testdata30?comp=range', '*') - .reply(201, "", { 'transfer-encoding': 'chunked', - 'content-md5': 'yOjfiVwsrhZrrQJ/3xUzWw==', - 'last-modified': 'Thu, 05 Jan 2017 03:23:00 GMT', - etag: '"0x8D4351A26B074EC"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '10db251a-001a-0029-6a03-67e045000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:59 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('http://xplat.file.core.windows.net:443') - .put('/upload-test-share-testdata1/dir-testdata2/file-testdata30') - .reply(201, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Thu, 05 Jan 2017 03:23:00 GMT', - etag: '"0x8D4351A26F3241C"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '421fa745-001a-000a-5703-678f8e000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:59 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('https://xplat.file.core.windows.net:443') - .put('/upload-test-share-testdata1/dir-testdata2/file-testdata30') - .reply(201, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Thu, 05 Jan 2017 03:23:00 GMT', - etag: '"0x8D4351A26F3241C"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '421fa745-001a-000a-5703-678f8e000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:59 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('http://xplat.file.core.windows.net:443') - .filteringRequestBody(function (path) { return '*';}) -.put('/upload-test-share-testdata1/dir-testdata2/file-testdata30?comp=range', '*') - .reply(201, "", { 'transfer-encoding': 'chunked', - 'content-md5': '7Qdih1MuhjZehB6Sv8UNjA==', - 'last-modified': 'Thu, 05 Jan 2017 03:23:00 GMT', - etag: '"0x8D4351A2735D33E"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '2027f9bc-001a-003b-7a03-67d459000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:59 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('https://xplat.file.core.windows.net:443') - .filteringRequestBody(function (path) { return '*';}) -.put('/upload-test-share-testdata1/dir-testdata2/file-testdata30?comp=range', '*') - .reply(201, "", { 'transfer-encoding': 'chunked', - 'content-md5': '7Qdih1MuhjZehB6Sv8UNjA==', - 'last-modified': 'Thu, 05 Jan 2017 03:23:00 GMT', - etag: '"0x8D4351A2735D33E"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '2027f9bc-001a-003b-7a03-67d459000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:22:59 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('http://xplat.file.core.windows.net:443') - .put('/upload-test-share-testdata1/dir-testdata2/file-testdata30?comp=properties') - .reply(200, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Thu, 05 Jan 2017 03:23:01 GMT', - etag: '"0x8D4351A2776115C"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '333be01b-001a-0010-5503-67a0e1000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:23:00 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('https://xplat.file.core.windows.net:443') - .put('/upload-test-share-testdata1/dir-testdata2/file-testdata30?comp=properties') - .reply(200, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Thu, 05 Jan 2017 03:23:01 GMT', - etag: '"0x8D4351A2776115C"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '333be01b-001a-0010-5503-67a0e1000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:23:00 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('http://xplat.file.core.windows.net:443') - .get('/upload-test-share-testdata1/dir-testdata2/file-testdata30') - .reply(200, "Hello World!", { 'content-length': '12', - 'last-modified': 'Thu, 05 Jan 2017 03:23:01 GMT', - 'accept-ranges': 'bytes', - etag: '"0x8D4351A2776115C"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'd0c09bd6-001a-0006-7903-67617f000000', - 'x-ms-version': '2016-05-31', - 'x-ms-type': 'File', - date: 'Thu, 05 Jan 2017 03:23:01 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('https://xplat.file.core.windows.net:443') - .get('/upload-test-share-testdata1/dir-testdata2/file-testdata30') - .reply(200, "Hello World!", { 'content-length': '12', - 'last-modified': 'Thu, 05 Jan 2017 03:23:01 GMT', - 'accept-ranges': 'bytes', - etag: '"0x8D4351A2776115C"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'd0c09bd6-001a-0006-7903-67617f000000', - 'x-ms-version': '2016-05-31', - 'x-ms-type': 'File', - date: 'Thu, 05 Jan 2017 03:23:01 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('http://xplat.file.core.windows.net:443') - .head('/upload-test-share-testdata1/dir-testdata2/file-testdata30') - .reply(200, "", { 'content-length': '12', - 'last-modified': 'Thu, 05 Jan 2017 03:23:01 GMT', - etag: '"0x8D4351A2776115C"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'd1a25221-001a-004a-7203-67a660000000', - 'x-ms-version': '2016-05-31', - 'x-ms-type': 'File', - date: 'Thu, 05 Jan 2017 03:23:01 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('https://xplat.file.core.windows.net:443') - .head('/upload-test-share-testdata1/dir-testdata2/file-testdata30') - .reply(200, "", { 'content-length': '12', - 'last-modified': 'Thu, 05 Jan 2017 03:23:01 GMT', - etag: '"0x8D4351A2776115C"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'd1a25221-001a-004a-7203-67a660000000', - 'x-ms-version': '2016-05-31', - 'x-ms-type': 'File', - date: 'Thu, 05 Jan 2017 03:23:01 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('http://xplat.file.core.windows.net:443') - .delete('/upload-test-share-testdata1/dir-testdata2/file-testdata30') - .reply(202, "", { 'transfer-encoding': 'chunked', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '31c81786-001a-0004-0703-676385000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:23:02 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('https://xplat.file.core.windows.net:443') - .delete('/upload-test-share-testdata1/dir-testdata2/file-testdata30') - .reply(202, "", { 'transfer-encoding': 'chunked', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '31c81786-001a-0004-0703-676385000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:23:02 GMT', - connection: 'close' }); - return result; }], -[function (nock) { -var result = -nock('http://xplat.file.core.windows.net:443') - .put('/upload-test-share-testdata1/dir-testdata2/file-testdata31') - .reply(201, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Thu, 05 Jan 2017 03:23:03 GMT', - etag: '"0x8D4351A28867371"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '1e47d71a-001a-0048-6f03-67a49a000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:23:02 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('https://xplat.file.core.windows.net:443') - .put('/upload-test-share-testdata1/dir-testdata2/file-testdata31') - .reply(201, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Thu, 05 Jan 2017 03:23:03 GMT', - etag: '"0x8D4351A28867371"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '1e47d71a-001a-0048-6f03-67a49a000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:23:02 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('http://xplat.file.core.windows.net:443') - .filteringRequestBody(function (path) { return '*';}) -.put('/upload-test-share-testdata1/dir-testdata2/file-testdata31?comp=range', '*') - .reply(201, "", { 'transfer-encoding': 'chunked', - 'content-md5': '7Qdih1MuhjZehB6Sv8UNjA==', - 'last-modified': 'Thu, 05 Jan 2017 03:23:03 GMT', - etag: '"0x8D4351A28C8112E"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '1c99cb78-001a-003e-6d03-672026000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:23:03 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('https://xplat.file.core.windows.net:443') - .filteringRequestBody(function (path) { return '*';}) -.put('/upload-test-share-testdata1/dir-testdata2/file-testdata31?comp=range', '*') - .reply(201, "", { 'transfer-encoding': 'chunked', - 'content-md5': '7Qdih1MuhjZehB6Sv8UNjA==', - 'last-modified': 'Thu, 05 Jan 2017 03:23:03 GMT', - etag: '"0x8D4351A28C8112E"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '1c99cb78-001a-003e-6d03-672026000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:23:03 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('http://xplat.file.core.windows.net:443') - .put('/upload-test-share-testdata1/dir-testdata2/file-testdata31?comp=properties') - .reply(200, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Thu, 05 Jan 2017 03:23:04 GMT', - etag: '"0x8D4351A290C9529"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '48c89c45-001a-0046-3d03-674891000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:23:02 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('https://xplat.file.core.windows.net:443') - .put('/upload-test-share-testdata1/dir-testdata2/file-testdata31?comp=properties') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') + .put('/upload-test-share-testdata1/dir-testdata2/file-testdata32?comp=properties') .reply(200, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Thu, 05 Jan 2017 03:23:04 GMT', - etag: '"0x8D4351A290C9529"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '48c89c45-001a-0046-3d03-674891000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:23:02 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('http://xplat.file.core.windows.net:443') - .head('/upload-test-share-testdata1/dir-testdata2/file-testdata31') - .reply(200, "", { 'content-length': '12', - 'content-type': 'text', - 'last-modified': 'Thu, 05 Jan 2017 03:23:04 GMT', - etag: '"0x8D4351A290C9529"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '6c806be2-001a-003c-6a03-6722dc000000', - 'x-ms-version': '2016-05-31', - 'x-ms-type': 'File', - date: 'Thu, 05 Jan 2017 03:23:03 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('https://xplat.file.core.windows.net:443') - .head('/upload-test-share-testdata1/dir-testdata2/file-testdata31') - .reply(200, "", { 'content-length': '12', - 'content-type': 'text', - 'last-modified': 'Thu, 05 Jan 2017 03:23:04 GMT', - etag: '"0x8D4351A290C9529"', + 'last-modified': 'Tue, 09 Oct 2018 02:57:35 GMT', + etag: '"0x8D62D92F75E0448"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '6c806be2-001a-003c-6a03-6722dc000000', - 'x-ms-version': '2016-05-31', - 'x-ms-type': 'File', - date: 'Thu, 05 Jan 2017 03:23:03 GMT', - connection: 'close' }); + 'x-ms-request-id': 'c7fee8f3-801a-0100-3b7b-5fddb8000000', + 'x-ms-version': '2018-03-28', + 'x-ms-request-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:35 GMT' }); return result; }, function (nock) { var result = -nock('http://xplat.file.core.windows.net:443') - .head('/upload-test-share-testdata1/dir-testdata2/file-testdata31') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') + .head('/upload-test-share-testdata1/dir-testdata2/file-testdata32') .reply(200, "", { 'content-length': '12', 'content-type': 'text', - 'last-modified': 'Thu, 05 Jan 2017 03:23:04 GMT', - etag: '"0x8D4351A290C9529"', + 'last-modified': 'Tue, 09 Oct 2018 02:57:35 GMT', + etag: '"0x8D62D92F75E0448"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'e7de3f7a-001a-0030-5e03-67cc2d000000', - 'x-ms-version': '2016-05-31', + 'x-ms-request-id': 'c7fee8f4-801a-0100-3c7b-5fddb8000000', + 'x-ms-version': '2018-03-28', 'x-ms-type': 'File', - date: 'Thu, 05 Jan 2017 03:23:04 GMT', - connection: 'close' }); + 'x-ms-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:35 GMT' }); return result; }, function (nock) { var result = -nock('https://xplat.file.core.windows.net:443') - .head('/upload-test-share-testdata1/dir-testdata2/file-testdata31') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') + .head('/upload-test-share-testdata1/dir-testdata2/file-testdata32') .reply(200, "", { 'content-length': '12', 'content-type': 'text', - 'last-modified': 'Thu, 05 Jan 2017 03:23:04 GMT', - etag: '"0x8D4351A290C9529"', + 'last-modified': 'Tue, 09 Oct 2018 02:57:35 GMT', + etag: '"0x8D62D92F75E0448"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'e7de3f7a-001a-0030-5e03-67cc2d000000', - 'x-ms-version': '2016-05-31', + 'x-ms-request-id': 'c7fee8f5-801a-0100-3d7b-5fddb8000000', + 'x-ms-version': '2018-03-28', 'x-ms-type': 'File', - date: 'Thu, 05 Jan 2017 03:23:04 GMT', - connection: 'close' }); + 'x-ms-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:35 GMT' }); return result; }, function (nock) { var result = -nock('http://xplat.file.core.windows.net:443') - .delete('/upload-test-share-testdata1/dir-testdata2/file-testdata31') - .reply(202, "", { 'transfer-encoding': 'chunked', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'f6ec99c1-001a-0011-1c03-67a11c000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:23:05 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('https://xplat.file.core.windows.net:443') - .delete('/upload-test-share-testdata1/dir-testdata2/file-testdata31') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') + .delete('/upload-test-share-testdata1/dir-testdata2/file-testdata32') .reply(202, "", { 'transfer-encoding': 'chunked', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'f6ec99c1-001a-0011-1c03-67a11c000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:23:05 GMT', - connection: 'close' }); + 'x-ms-request-id': 'c7fee8f6-801a-0100-3e7b-5fddb8000000', + 'x-ms-version': '2018-03-28', + date: 'Tue, 09 Oct 2018 02:57:35 GMT' }); return result; }], [function (nock) { var result = -nock('http://xplat.file.core.windows.net:443') - .put('/upload-test-share-testdata1/dir-testdata2/file-testdata32') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') + .put('/upload-test-share-testdata1/dir-testdata2/file-testdata33') .reply(201, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Thu, 05 Jan 2017 03:23:05 GMT', - etag: '"0x8D4351A2A1AD455"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'c38b6711-001a-002e-0303-6716c0000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:23:05 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('https://xplat.file.core.windows.net:443') - .put('/upload-test-share-testdata1/dir-testdata2/file-testdata32') - .reply(201, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Thu, 05 Jan 2017 03:23:05 GMT', - etag: '"0x8D4351A2A1AD455"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'c38b6711-001a-002e-0303-6716c0000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:23:05 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('http://xplat.file.core.windows.net:443') - .put('/upload-test-share-testdata1/dir-testdata2/file-testdata32?comp=properties') - .reply(200, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Thu, 05 Jan 2017 03:23:06 GMT', - etag: '"0x8D4351A2A5F314B"', + 'last-modified': 'Tue, 09 Oct 2018 02:57:36 GMT', + etag: '"0x8D62D92F78C242C"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'ebc822cc-001a-0037-7003-673aa8000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:23:05 GMT', - connection: 'close' }); + 'x-ms-request-id': 'c7fee8f7-801a-0100-3f7b-5fddb8000000', + 'x-ms-version': '2018-03-28', + 'x-ms-request-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:36 GMT' }); return result; }, function (nock) { var result = -nock('https://xplat.file.core.windows.net:443') - .put('/upload-test-share-testdata1/dir-testdata2/file-testdata32?comp=properties') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') + .put('/upload-test-share-testdata1/dir-testdata2/file-testdata33?comp=properties') .reply(200, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Thu, 05 Jan 2017 03:23:06 GMT', - etag: '"0x8D4351A2A5F314B"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'ebc822cc-001a-0037-7003-673aa8000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:23:05 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('http://xplat.file.core.windows.net:443') - .head('/upload-test-share-testdata1/dir-testdata2/file-testdata32') - .reply(200, "", { 'content-length': '0', - 'content-md5': '1B2M2Y8AsgTpgAmY7PhCfg==', - 'last-modified': 'Thu, 05 Jan 2017 03:23:06 GMT', - etag: '"0x8D4351A2A5F314B"', + 'last-modified': 'Tue, 09 Oct 2018 02:57:36 GMT', + etag: '"0x8D62D92F7983505"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'c58e8934-001a-0049-6803-67a567000000', - 'x-ms-version': '2016-05-31', - 'x-ms-type': 'File', - date: 'Thu, 05 Jan 2017 03:23:06 GMT', - connection: 'close' }); + 'x-ms-request-id': 'c7fee8f8-801a-0100-407b-5fddb8000000', + 'x-ms-version': '2018-03-28', + 'x-ms-request-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:36 GMT' }); return result; }, function (nock) { var result = -nock('https://xplat.file.core.windows.net:443') - .head('/upload-test-share-testdata1/dir-testdata2/file-testdata32') - .reply(200, "", { 'content-length': '0', - 'content-md5': '1B2M2Y8AsgTpgAmY7PhCfg==', - 'last-modified': 'Thu, 05 Jan 2017 03:23:06 GMT', - etag: '"0x8D4351A2A5F314B"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'c58e8934-001a-0049-6803-67a567000000', - 'x-ms-version': '2016-05-31', - 'x-ms-type': 'File', - date: 'Thu, 05 Jan 2017 03:23:06 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('http://xplat.file.core.windows.net:443') - .head('/upload-test-share-testdata1/dir-testdata2/file-testdata32') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') + .head('/upload-test-share-testdata1/dir-testdata2/file-testdata33') .reply(200, "", { 'content-length': '0', 'content-md5': '1B2M2Y8AsgTpgAmY7PhCfg==', - 'last-modified': 'Thu, 05 Jan 2017 03:23:06 GMT', - etag: '"0x8D4351A2A5F314B"', + 'last-modified': 'Tue, 09 Oct 2018 02:57:36 GMT', + etag: '"0x8D62D92F7983505"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'da75f0eb-001a-0016-7f03-675799000000', - 'x-ms-version': '2016-05-31', + 'x-ms-request-id': 'c7fee8f9-801a-0100-417b-5fddb8000000', + 'x-ms-version': '2018-03-28', 'x-ms-type': 'File', - date: 'Thu, 05 Jan 2017 03:23:06 GMT', - connection: 'close' }); + 'x-ms-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:36 GMT' }); return result; }, function (nock) { var result = -nock('https://xplat.file.core.windows.net:443') - .head('/upload-test-share-testdata1/dir-testdata2/file-testdata32') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') + .head('/upload-test-share-testdata1/dir-testdata2/file-testdata33') .reply(200, "", { 'content-length': '0', 'content-md5': '1B2M2Y8AsgTpgAmY7PhCfg==', - 'last-modified': 'Thu, 05 Jan 2017 03:23:06 GMT', - etag: '"0x8D4351A2A5F314B"', + 'last-modified': 'Tue, 09 Oct 2018 02:57:36 GMT', + etag: '"0x8D62D92F7983505"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'da75f0eb-001a-0016-7f03-675799000000', - 'x-ms-version': '2016-05-31', + 'x-ms-request-id': 'c7fee8fa-801a-0100-427b-5fddb8000000', + 'x-ms-version': '2018-03-28', 'x-ms-type': 'File', - date: 'Thu, 05 Jan 2017 03:23:06 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('http://xplat.file.core.windows.net:443') - .delete('/upload-test-share-testdata1/dir-testdata2/file-testdata32') - .reply(202, "", { 'transfer-encoding': 'chunked', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '4d0a8ee4-001a-000b-0c03-678e73000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:23:06 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('https://xplat.file.core.windows.net:443') - .delete('/upload-test-share-testdata1/dir-testdata2/file-testdata32') - .reply(202, "", { 'transfer-encoding': 'chunked', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '4d0a8ee4-001a-000b-0c03-678e73000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:23:06 GMT', - connection: 'close' }); - return result; }], -[function (nock) { -var result = -nock('http://xplat.file.core.windows.net:443') - .head('/upload-test-share-testdata1/dir-testdata2/file-testdata33') - .reply(404, "", { 'transfer-encoding': 'chunked', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'ae70ee87-001a-0028-3603-67e1b8000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:23:07 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('https://xplat.file.core.windows.net:443') - .head('/upload-test-share-testdata1/dir-testdata2/file-testdata33') - .reply(404, "", { 'transfer-encoding': 'chunked', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'ae70ee87-001a-0028-3603-67e1b8000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:23:07 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('http://xplat.file.core.windows.net:443') - .head('/upload-test-share-testdata1/dir-testdata2/file-testdata33') - .reply(404, "", { 'transfer-encoding': 'chunked', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '3a37051a-001a-0031-1103-67cdd0000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:23:08 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('https://xplat.file.core.windows.net:443') - .head('/upload-test-share-testdata1/dir-testdata2/file-testdata33') - .reply(404, "", { 'transfer-encoding': 'chunked', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '3a37051a-001a-0031-1103-67cdd0000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:23:08 GMT', - connection: 'close' }); - return result; }], -[function (nock) { -var result = -nock('http://xplat.file.core.windows.net:443') - .put('/upload-test-share-testdata1/dir-testdata2/file-testdata34') - .reply(201, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Thu, 05 Jan 2017 03:23:08 GMT', - etag: '"0x8D4351A2BEFE887"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '1e672ecf-001a-001b-0e03-67b895000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:23:08 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('https://xplat.file.core.windows.net:443') - .put('/upload-test-share-testdata1/dir-testdata2/file-testdata34') - .reply(201, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Thu, 05 Jan 2017 03:23:08 GMT', - etag: '"0x8D4351A2BEFE887"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '1e672ecf-001a-001b-0e03-67b895000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:23:08 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('http://xplat.file.core.windows.net:443') - .filteringRequestBody(function (path) { return '*';}) -.put('/upload-test-share-testdata1/dir-testdata2/file-testdata34?comp=range', '*') - .reply(201, "", { 'transfer-encoding': 'chunked', - 'content-md5': '7Qdih1MuhjZehB6Sv8UNjA==', - 'last-modified': 'Thu, 05 Jan 2017 03:23:09 GMT', - etag: '"0x8D4351A2C34938E"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'd3adc832-001a-004c-3003-675118000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:23:09 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('https://xplat.file.core.windows.net:443') - .filteringRequestBody(function (path) { return '*';}) -.put('/upload-test-share-testdata1/dir-testdata2/file-testdata34?comp=range', '*') - .reply(201, "", { 'transfer-encoding': 'chunked', - 'content-md5': '7Qdih1MuhjZehB6Sv8UNjA==', - 'last-modified': 'Thu, 05 Jan 2017 03:23:09 GMT', - etag: '"0x8D4351A2C34938E"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'd3adc832-001a-004c-3003-675118000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:23:09 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('http://xplat.file.core.windows.net:443') - .put('/upload-test-share-testdata1/dir-testdata2/file-testdata34?comp=properties') - .reply(200, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Thu, 05 Jan 2017 03:23:09 GMT', - etag: '"0x8D4351A2C7769CB"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '62550b7f-001a-002d-2503-6715c7000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:23:09 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('https://xplat.file.core.windows.net:443') - .put('/upload-test-share-testdata1/dir-testdata2/file-testdata34?comp=properties') - .reply(200, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Thu, 05 Jan 2017 03:23:09 GMT', - etag: '"0x8D4351A2C7769CB"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '62550b7f-001a-002d-2503-6715c7000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:23:09 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('http://xplat.file.core.windows.net:443') - .head('/upload-test-share-testdata1/dir-testdata2/file-testdata34') - .reply(200, "", { 'content-length': '12', - 'last-modified': 'Thu, 05 Jan 2017 03:23:09 GMT', - etag: '"0x8D4351A2C7769CB"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '7f88355f-001a-0036-5103-673b55000000', - 'x-ms-version': '2016-05-31', - 'x-ms-type': 'File', - date: 'Thu, 05 Jan 2017 03:23:09 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('https://xplat.file.core.windows.net:443') - .head('/upload-test-share-testdata1/dir-testdata2/file-testdata34') - .reply(200, "", { 'content-length': '12', - 'last-modified': 'Thu, 05 Jan 2017 03:23:09 GMT', - etag: '"0x8D4351A2C7769CB"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '7f88355f-001a-0036-5103-673b55000000', - 'x-ms-version': '2016-05-31', - 'x-ms-type': 'File', - date: 'Thu, 05 Jan 2017 03:23:09 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('http://xplat.file.core.windows.net:443') - .get('/upload-test-share-testdata1/dir-testdata2/file-testdata34') - .reply(200, "Hello World!", { 'content-length': '12', - 'last-modified': 'Thu, 05 Jan 2017 03:23:09 GMT', - 'accept-ranges': 'bytes', - etag: '"0x8D4351A2C7769CB"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '2101b5e8-001a-002b-5d03-67e2bf000000', - 'x-ms-version': '2016-05-31', - 'x-ms-type': 'File', - date: 'Thu, 05 Jan 2017 03:23:10 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('https://xplat.file.core.windows.net:443') - .get('/upload-test-share-testdata1/dir-testdata2/file-testdata34') - .reply(200, "Hello World!", { 'content-length': '12', - 'last-modified': 'Thu, 05 Jan 2017 03:23:09 GMT', - 'accept-ranges': 'bytes', - etag: '"0x8D4351A2C7769CB"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '2101b5e8-001a-002b-5d03-67e2bf000000', - 'x-ms-version': '2016-05-31', - 'x-ms-type': 'File', - date: 'Thu, 05 Jan 2017 03:23:10 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('http://xplat.file.core.windows.net:443') - .head('/upload-test-share-testdata1/dir-testdata2/file-testdata34') - .reply(200, "", { 'content-length': '12', - 'last-modified': 'Thu, 05 Jan 2017 03:23:09 GMT', - etag: '"0x8D4351A2C7769CB"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '17b42ea8-001a-0020-1603-67facb000000', - 'x-ms-version': '2016-05-31', - 'x-ms-type': 'File', - date: 'Thu, 05 Jan 2017 03:23:10 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('https://xplat.file.core.windows.net:443') - .head('/upload-test-share-testdata1/dir-testdata2/file-testdata34') - .reply(200, "", { 'content-length': '12', - 'last-modified': 'Thu, 05 Jan 2017 03:23:09 GMT', - etag: '"0x8D4351A2C7769CB"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '17b42ea8-001a-0020-1603-67facb000000', - 'x-ms-version': '2016-05-31', - 'x-ms-type': 'File', - date: 'Thu, 05 Jan 2017 03:23:10 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('http://xplat.file.core.windows.net:443') - .delete('/upload-test-share-testdata1/dir-testdata2/file-testdata34') - .reply(202, "", { 'transfer-encoding': 'chunked', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '70878ac7-001a-0001-1303-6797fa000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:23:11 GMT', - connection: 'close' }); + 'x-ms-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:36 GMT' }); return result; }, function (nock) { var result = -nock('https://xplat.file.core.windows.net:443') - .delete('/upload-test-share-testdata1/dir-testdata2/file-testdata34') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') + .delete('/upload-test-share-testdata1/dir-testdata2/file-testdata33') .reply(202, "", { 'transfer-encoding': 'chunked', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '70878ac7-001a-0001-1303-6797fa000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:23:11 GMT', - connection: 'close' }); + 'x-ms-request-id': 'c7fee8fb-801a-0100-437b-5fddb8000000', + 'x-ms-version': '2018-03-28', + date: 'Tue, 09 Oct 2018 02:57:36 GMT' }); return result; }], [function (nock) { var result = -nock('http://xplat.file.core.windows.net:443') - .put('/upload-test-share-testdata1/dir-testdata2/file-testdata35') - .reply(201, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Thu, 05 Jan 2017 03:23:11 GMT', - etag: '"0x8D4351A2DC3C427"', +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') + .head('/upload-test-share-testdata1/dir-testdata2/file-testdata34') + .reply(404, "", { 'transfer-encoding': 'chunked', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '1f9f798a-001a-0032-0b03-67ced7000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:23:11 GMT', - connection: 'close' }); + 'x-ms-request-id': 'c7fee8fc-801a-0100-447b-5fddb8000000', + 'x-ms-version': '2018-03-28', + 'x-ms-error-code': 'ResourceNotFound', + date: 'Tue, 09 Oct 2018 02:57:36 GMT' }); return result; }, function (nock) { var result = -nock('https://xplat.file.core.windows.net:443') - .put('/upload-test-share-testdata1/dir-testdata2/file-testdata35') - .reply(201, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Thu, 05 Jan 2017 03:23:11 GMT', - etag: '"0x8D4351A2DC3C427"', +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') + .head('/upload-test-share-testdata1/dir-testdata2/file-testdata34') + .reply(404, "", { 'transfer-encoding': 'chunked', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '1f9f798a-001a-0032-0b03-67ced7000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:23:11 GMT', - connection: 'close' }); - return result; }, -function (nock) { + 'x-ms-request-id': 'c7fee8fd-801a-0100-457b-5fddb8000000', + 'x-ms-version': '2018-03-28', + 'x-ms-error-code': 'ResourceNotFound', + date: 'Tue, 09 Oct 2018 02:57:36 GMT' }); + return result; }], +[function (nock) { var result = -nock('http://xplat.file.core.windows.net:443') - .filteringRequestBody(function (path) { return '*';}) -.put('/upload-test-share-testdata1/dir-testdata2/file-testdata35?comp=range', '*') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') + .put('/upload-test-share-testdata1/dir-testdata2/file-testdata35') .reply(201, "", { 'transfer-encoding': 'chunked', - 'content-md5': '7Qdih1MuhjZehB6Sv8UNjA==', - 'last-modified': 'Thu, 05 Jan 2017 03:23:12 GMT', - etag: '"0x8D4351A2E095998"', + 'last-modified': 'Tue, 09 Oct 2018 02:57:36 GMT', + etag: '"0x8D62D92F7DD8BEF"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '50682bf2-001a-0013-1d03-67a3e6000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:23:11 GMT', - connection: 'close' }); + 'x-ms-request-id': 'c7fee8fe-801a-0100-467b-5fddb8000000', + 'x-ms-version': '2018-03-28', + 'x-ms-request-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:36 GMT' }); return result; }, function (nock) { var result = -nock('https://xplat.file.core.windows.net:443') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') .filteringRequestBody(function (path) { return '*';}) .put('/upload-test-share-testdata1/dir-testdata2/file-testdata35?comp=range', '*') .reply(201, "", { 'transfer-encoding': 'chunked', 'content-md5': '7Qdih1MuhjZehB6Sv8UNjA==', - 'last-modified': 'Thu, 05 Jan 2017 03:23:12 GMT', - etag: '"0x8D4351A2E095998"', + 'last-modified': 'Tue, 09 Oct 2018 02:57:36 GMT', + etag: '"0x8D62D92F7EA8751"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '50682bf2-001a-0013-1d03-67a3e6000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:23:11 GMT', - connection: 'close' }); + 'x-ms-request-id': 'c7fee8ff-801a-0100-477b-5fddb8000000', + 'x-ms-version': '2018-03-28', + 'x-ms-request-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:36 GMT' }); return result; }, function (nock) { var result = -nock('http://xplat.file.core.windows.net:443') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') .put('/upload-test-share-testdata1/dir-testdata2/file-testdata35?comp=properties') .reply(200, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Thu, 05 Jan 2017 03:23:12 GMT', - etag: '"0x8D4351A2E4C2FD5"', + 'last-modified': 'Tue, 09 Oct 2018 02:57:36 GMT', + etag: '"0x8D62D92F7F5FBC0"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '482030d2-001a-0008-7c03-678d74000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:23:11 GMT', - connection: 'close' }); + 'x-ms-request-id': 'c7fee900-801a-0100-487b-5fddb8000000', + 'x-ms-version': '2018-03-28', + 'x-ms-request-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:36 GMT' }); return result; }, function (nock) { var result = -nock('https://xplat.file.core.windows.net:443') - .put('/upload-test-share-testdata1/dir-testdata2/file-testdata35?comp=properties') - .reply(200, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Thu, 05 Jan 2017 03:23:12 GMT', - etag: '"0x8D4351A2E4C2FD5"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '482030d2-001a-0008-7c03-678d74000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:23:11 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('http://xplat.file.core.windows.net:443') - .head('/upload-test-share-testdata1/dir-testdata2/file-testdata35') - .reply(200, "", { 'content-length': '12', - 'content-md5': '7Qdih1MuhjZehB6Sv8UNjA==', - 'last-modified': 'Thu, 05 Jan 2017 03:23:12 GMT', - etag: '"0x8D4351A2E4C2FD5"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '509f9419-001a-004d-6003-6750e5000000', - 'x-ms-version': '2016-05-31', - 'x-ms-type': 'File', - date: 'Thu, 05 Jan 2017 03:23:13 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('https://xplat.file.core.windows.net:443') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') .head('/upload-test-share-testdata1/dir-testdata2/file-testdata35') .reply(200, "", { 'content-length': '12', - 'content-md5': '7Qdih1MuhjZehB6Sv8UNjA==', - 'last-modified': 'Thu, 05 Jan 2017 03:23:12 GMT', - etag: '"0x8D4351A2E4C2FD5"', + 'last-modified': 'Tue, 09 Oct 2018 02:57:36 GMT', + etag: '"0x8D62D92F7F5FBC0"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '509f9419-001a-004d-6003-6750e5000000', - 'x-ms-version': '2016-05-31', + 'x-ms-request-id': 'c7fee901-801a-0100-497b-5fddb8000000', + 'x-ms-version': '2018-03-28', 'x-ms-type': 'File', - date: 'Thu, 05 Jan 2017 03:23:13 GMT', - connection: 'close' }); + 'x-ms-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:36 GMT' }); return result; }, function (nock) { var result = -nock('http://xplat.file.core.windows.net:443') - .head('/upload-test-share-testdata1/dir-testdata2/file-testdata35') - .reply(200, "", { 'content-length': '12', - 'content-md5': '7Qdih1MuhjZehB6Sv8UNjA==', - 'last-modified': 'Thu, 05 Jan 2017 03:23:12 GMT', - etag: '"0x8D4351A2E4C2FD5"', +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') + .get('/upload-test-share-testdata1/dir-testdata2/file-testdata35') + .reply(200, "Hello World!", { 'content-length': '12', + 'last-modified': 'Tue, 09 Oct 2018 02:57:36 GMT', + 'accept-ranges': 'bytes', + etag: '"0x8D62D92F7F5FBC0"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '7bf3cfe1-001a-001a-5503-67b968000000', - 'x-ms-version': '2016-05-31', + 'x-ms-request-id': 'c7fee902-801a-0100-4a7b-5fddb8000000', + 'x-ms-version': '2018-03-28', 'x-ms-type': 'File', - date: 'Thu, 05 Jan 2017 03:23:12 GMT', - connection: 'close' }); + 'x-ms-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:36 GMT' }); return result; }, function (nock) { var result = -nock('https://xplat.file.core.windows.net:443') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') .head('/upload-test-share-testdata1/dir-testdata2/file-testdata35') .reply(200, "", { 'content-length': '12', - 'content-md5': '7Qdih1MuhjZehB6Sv8UNjA==', - 'last-modified': 'Thu, 05 Jan 2017 03:23:12 GMT', - etag: '"0x8D4351A2E4C2FD5"', + 'last-modified': 'Tue, 09 Oct 2018 02:57:36 GMT', + etag: '"0x8D62D92F7F5FBC0"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '7bf3cfe1-001a-001a-5503-67b968000000', - 'x-ms-version': '2016-05-31', + 'x-ms-request-id': 'c7fee903-801a-0100-4b7b-5fddb8000000', + 'x-ms-version': '2018-03-28', 'x-ms-type': 'File', - date: 'Thu, 05 Jan 2017 03:23:12 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('http://xplat.file.core.windows.net:443') - .delete('/upload-test-share-testdata1/dir-testdata2/file-testdata35') - .reply(202, "", { 'transfer-encoding': 'chunked', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'e44fcf08-001a-0023-2503-67f9cc000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:23:13 GMT', - connection: 'close' }); + 'x-ms-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:36 GMT' }); return result; }, function (nock) { var result = -nock('https://xplat.file.core.windows.net:443') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') .delete('/upload-test-share-testdata1/dir-testdata2/file-testdata35') .reply(202, "", { 'transfer-encoding': 'chunked', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'e44fcf08-001a-0023-2503-67f9cc000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:23:13 GMT', - connection: 'close' }); + 'x-ms-request-id': 'c7fee904-801a-0100-4c7b-5fddb8000000', + 'x-ms-version': '2018-03-28', + date: 'Tue, 09 Oct 2018 02:57:37 GMT' }); return result; }], [function (nock) { var result = -nock('http://xplat.file.core.windows.net:443') - .put('/upload-test-share-testdata1/dir-testdata2/file-testdata36') - .reply(201, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Thu, 05 Jan 2017 03:23:14 GMT', - etag: '"0x8D4351A2F787EBD"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '1c1f0672-001a-002c-1c03-67143a000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:23:13 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('https://xplat.file.core.windows.net:443') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') .put('/upload-test-share-testdata1/dir-testdata2/file-testdata36') .reply(201, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Thu, 05 Jan 2017 03:23:14 GMT', - etag: '"0x8D4351A2F787EBD"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '1c1f0672-001a-002c-1c03-67143a000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:23:13 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('http://xplat.file.core.windows.net:443') - .filteringRequestBody(function (path) { return '*';}) -.put('/upload-test-share-testdata1/dir-testdata2/file-testdata36?comp=range', '*') - .reply(201, "", { 'transfer-encoding': 'chunked', - 'content-md5': '7Qdih1MuhjZehB6Sv8UNjA==', - 'last-modified': 'Thu, 05 Jan 2017 03:23:15 GMT', - etag: '"0x8D4351A2FB9A73C"', + 'last-modified': 'Tue, 09 Oct 2018 02:57:37 GMT', + etag: '"0x8D62D92F82F6900"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'c1e03485-001a-0002-2e03-6794fd000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:23:14 GMT', - connection: 'close' }); + 'x-ms-request-id': 'c7fee905-801a-0100-4d7b-5fddb8000000', + 'x-ms-version': '2018-03-28', + 'x-ms-request-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:37 GMT' }); return result; }, function (nock) { var result = -nock('https://xplat.file.core.windows.net:443') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') .filteringRequestBody(function (path) { return '*';}) .put('/upload-test-share-testdata1/dir-testdata2/file-testdata36?comp=range', '*') .reply(201, "", { 'transfer-encoding': 'chunked', 'content-md5': '7Qdih1MuhjZehB6Sv8UNjA==', - 'last-modified': 'Thu, 05 Jan 2017 03:23:15 GMT', - etag: '"0x8D4351A2FB9A73C"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'c1e03485-001a-0002-2e03-6794fd000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:23:14 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('http://xplat.file.core.windows.net:443') - .put('/upload-test-share-testdata1/dir-testdata2/file-testdata36?comp=properties') - .reply(200, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Thu, 05 Jan 2017 03:23:15 GMT', - etag: '"0x8D4351A2FFB6C02"', + 'last-modified': 'Tue, 09 Oct 2018 02:57:37 GMT', + etag: '"0x8D62D92F83C8B7A"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '8cabfff3-001a-0047-2003-67496c000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:23:14 GMT', - connection: 'close' }); + 'x-ms-request-id': 'c7fee906-801a-0100-4e7b-5fddb8000000', + 'x-ms-version': '2018-03-28', + 'x-ms-request-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:37 GMT' }); return result; }, function (nock) { var result = -nock('https://xplat.file.core.windows.net:443') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') .put('/upload-test-share-testdata1/dir-testdata2/file-testdata36?comp=properties') .reply(200, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Thu, 05 Jan 2017 03:23:15 GMT', - etag: '"0x8D4351A2FFB6C02"', + 'last-modified': 'Tue, 09 Oct 2018 02:57:37 GMT', + etag: '"0x8D62D92F848EA7C"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '8cabfff3-001a-0047-2003-67496c000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:23:14 GMT', - connection: 'close' }); + 'x-ms-request-id': 'c7fee907-801a-0100-4f7b-5fddb8000000', + 'x-ms-version': '2018-03-28', + 'x-ms-request-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:37 GMT' }); return result; }, function (nock) { var result = -nock('http://xplat.file.core.windows.net:443') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') .head('/upload-test-share-testdata1/dir-testdata2/file-testdata36') .reply(200, "", { 'content-length': '12', - 'last-modified': 'Thu, 05 Jan 2017 03:23:15 GMT', - etag: '"0x8D4351A2FFB6C02"', + 'content-md5': '7Qdih1MuhjZehB6Sv8UNjA==', + 'last-modified': 'Tue, 09 Oct 2018 02:57:37 GMT', + etag: '"0x8D62D92F848EA7C"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'e48c8a9f-001a-0000-6b03-679607000000', - 'x-ms-version': '2016-05-31', + 'x-ms-request-id': 'c7fee908-801a-0100-507b-5fddb8000000', + 'x-ms-version': '2018-03-28', 'x-ms-type': 'File', - date: 'Thu, 05 Jan 2017 03:23:14 GMT', - connection: 'close' }); + 'x-ms-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:37 GMT' }); return result; }, function (nock) { var result = -nock('https://xplat.file.core.windows.net:443') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') .head('/upload-test-share-testdata1/dir-testdata2/file-testdata36') .reply(200, "", { 'content-length': '12', - 'last-modified': 'Thu, 05 Jan 2017 03:23:15 GMT', - etag: '"0x8D4351A2FFB6C02"', + 'content-md5': '7Qdih1MuhjZehB6Sv8UNjA==', + 'last-modified': 'Tue, 09 Oct 2018 02:57:37 GMT', + etag: '"0x8D62D92F848EA7C"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'e48c8a9f-001a-0000-6b03-679607000000', - 'x-ms-version': '2016-05-31', + 'x-ms-request-id': 'c7fee909-801a-0100-517b-5fddb8000000', + 'x-ms-version': '2018-03-28', 'x-ms-type': 'File', - date: 'Thu, 05 Jan 2017 03:23:14 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('http://xplat.file.core.windows.net:443') - .delete('/upload-test-share-testdata1/dir-testdata2/file-testdata36') - .reply(202, "", { 'transfer-encoding': 'chunked', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'bcbc35f6-001a-0025-0103-670eb4000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:23:16 GMT', - connection: 'close' }); + 'x-ms-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:37 GMT' }); return result; }, function (nock) { var result = -nock('https://xplat.file.core.windows.net:443') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') .delete('/upload-test-share-testdata1/dir-testdata2/file-testdata36') .reply(202, "", { 'transfer-encoding': 'chunked', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'bcbc35f6-001a-0025-0103-670eb4000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:23:16 GMT', - connection: 'close' }); + 'x-ms-request-id': 'c7fee90b-801a-0100-527b-5fddb8000000', + 'x-ms-version': '2018-03-28', + date: 'Tue, 09 Oct 2018 02:57:37 GMT' }); return result; }], [function (nock) { var result = -nock('http://xplat.file.core.windows.net:443') - .put('/upload-test-share-testdata1/dir-testdata2/file-testdata37') - .reply(201, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Thu, 05 Jan 2017 03:23:16 GMT', - etag: '"0x8D4351A30C6FC03"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '6cfd8513-001a-002f-2e03-67173d000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:23:16 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('https://xplat.file.core.windows.net:443') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') .put('/upload-test-share-testdata1/dir-testdata2/file-testdata37') .reply(201, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Thu, 05 Jan 2017 03:23:16 GMT', - etag: '"0x8D4351A30C6FC03"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '6cfd8513-001a-002f-2e03-67173d000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:23:16 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('http://xplat.file.core.windows.net:443') - .filteringRequestBody(function (path) { return '*';}) -.put('/upload-test-share-testdata1/dir-testdata2/file-testdata37?comp=range', '*') - .reply(201, "", { 'transfer-encoding': 'chunked', - 'content-md5': '7Qdih1MuhjZehB6Sv8UNjA==', - 'last-modified': 'Thu, 05 Jan 2017 03:23:17 GMT', - etag: '"0x8D4351A310A95AA"', + 'last-modified': 'Tue, 09 Oct 2018 02:57:37 GMT', + etag: '"0x8D62D92F8766DFF"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '0e34630b-001a-000f-3803-677bf1000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:23:16 GMT', - connection: 'close' }); + 'x-ms-request-id': 'c7fee90c-801a-0100-537b-5fddb8000000', + 'x-ms-version': '2018-03-28', + 'x-ms-request-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:37 GMT' }); return result; }, function (nock) { var result = -nock('https://xplat.file.core.windows.net:443') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') .filteringRequestBody(function (path) { return '*';}) .put('/upload-test-share-testdata1/dir-testdata2/file-testdata37?comp=range', '*') .reply(201, "", { 'transfer-encoding': 'chunked', 'content-md5': '7Qdih1MuhjZehB6Sv8UNjA==', - 'last-modified': 'Thu, 05 Jan 2017 03:23:17 GMT', - etag: '"0x8D4351A310A95AA"', + 'last-modified': 'Tue, 09 Oct 2018 02:57:37 GMT', + etag: '"0x8D62D92F8827ECE"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '0e34630b-001a-000f-3803-677bf1000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:23:16 GMT', - connection: 'close' }); + 'x-ms-request-id': 'c7fee90d-801a-0100-547b-5fddb8000000', + 'x-ms-version': '2018-03-28', + 'x-ms-request-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:37 GMT' }); return result; }, function (nock) { var result = -nock('http://xplat.file.core.windows.net:443') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') .put('/upload-test-share-testdata1/dir-testdata2/file-testdata37?comp=properties') .reply(200, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Thu, 05 Jan 2017 03:23:17 GMT', - etag: '"0x8D4351A314C816F"', + 'last-modified': 'Tue, 09 Oct 2018 02:57:37 GMT', + etag: '"0x8D62D92F88D7DF7"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'be13f754-001a-000d-2c03-67790b000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:23:17 GMT', - connection: 'close' }); + 'x-ms-request-id': 'c7fee90e-801a-0100-557b-5fddb8000000', + 'x-ms-version': '2018-03-28', + 'x-ms-request-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:37 GMT' }); return result; }, function (nock) { var result = -nock('https://xplat.file.core.windows.net:443') - .put('/upload-test-share-testdata1/dir-testdata2/file-testdata37?comp=properties') - .reply(200, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Thu, 05 Jan 2017 03:23:17 GMT', - etag: '"0x8D4351A314C816F"', +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') + .head('/upload-test-share-testdata1/dir-testdata2/file-testdata37') + .reply(200, "", { 'content-length': '12', + 'last-modified': 'Tue, 09 Oct 2018 02:57:37 GMT', + etag: '"0x8D62D92F88D7DF7"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'be13f754-001a-000d-2c03-67790b000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:23:17 GMT', - connection: 'close' }); + 'x-ms-request-id': 'c7fee90f-801a-0100-567b-5fddb8000000', + 'x-ms-version': '2018-03-28', + 'x-ms-type': 'File', + 'x-ms-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:37 GMT' }); return result; }, function (nock) { var result = -nock('http://xplat.file.core.windows.net:443') - .get('/upload-test-share-testdata1/dir-testdata2/file-testdata37') - .reply(200, "Hello World!", { 'content-length': '12', - 'content-type': 'text', - 'last-modified': 'Thu, 05 Jan 2017 03:23:17 GMT', - 'accept-ranges': 'bytes', - etag: '"0x8D4351A314C816F"', +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') + .delete('/upload-test-share-testdata1/dir-testdata2/file-testdata37') + .reply(202, "", { 'transfer-encoding': 'chunked', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'c47e9ed5-001a-0003-2403-679500000000', - 'x-ms-version': '2016-05-31', - 'x-ms-type': 'File', - date: 'Thu, 05 Jan 2017 03:23:17 GMT', - connection: 'close' }); + 'x-ms-request-id': 'c7fee910-801a-0100-577b-5fddb8000000', + 'x-ms-version': '2018-03-28', + date: 'Tue, 09 Oct 2018 02:57:37 GMT' }); + return result; }], +[function (nock) { +var result = +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') + .put('/upload-test-share-testdata1/dir-testdata2/file-testdata38') + .reply(201, "", { 'transfer-encoding': 'chunked', + 'last-modified': 'Tue, 09 Oct 2018 02:57:38 GMT', + etag: '"0x8D62D92F8B0508D"', + server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', + 'x-ms-request-id': 'c7fee912-801a-0100-587b-5fddb8000000', + 'x-ms-version': '2018-03-28', + 'x-ms-request-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:37 GMT' }); return result; }, function (nock) { var result = -nock('https://xplat.file.core.windows.net:443') - .get('/upload-test-share-testdata1/dir-testdata2/file-testdata37') - .reply(200, "Hello World!", { 'content-length': '12', - 'content-type': 'text', - 'last-modified': 'Thu, 05 Jan 2017 03:23:17 GMT', - 'accept-ranges': 'bytes', - etag: '"0x8D4351A314C816F"', +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') + .filteringRequestBody(function (path) { return '*';}) +.put('/upload-test-share-testdata1/dir-testdata2/file-testdata38?comp=range', '*') + .reply(201, "", { 'transfer-encoding': 'chunked', + 'content-md5': '7Qdih1MuhjZehB6Sv8UNjA==', + 'last-modified': 'Tue, 09 Oct 2018 02:57:38 GMT', + etag: '"0x8D62D92F8BD4BEB"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'c47e9ed5-001a-0003-2403-679500000000', - 'x-ms-version': '2016-05-31', - 'x-ms-type': 'File', - date: 'Thu, 05 Jan 2017 03:23:17 GMT', - connection: 'close' }); + 'x-ms-request-id': 'c7fee913-801a-0100-597b-5fddb8000000', + 'x-ms-version': '2018-03-28', + 'x-ms-request-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:38 GMT' }); return result; }, function (nock) { var result = -nock('http://xplat.file.core.windows.net:443') - .head('/upload-test-share-testdata1/dir-testdata2/file-testdata37') - .reply(200, "", { 'content-length': '12', - 'content-type': 'text', - 'last-modified': 'Thu, 05 Jan 2017 03:23:17 GMT', - etag: '"0x8D4351A314C816F"', +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') + .put('/upload-test-share-testdata1/dir-testdata2/file-testdata38?comp=properties') + .reply(200, "", { 'transfer-encoding': 'chunked', + 'last-modified': 'Tue, 09 Oct 2018 02:57:38 GMT', + etag: '"0x8D62D92F8C84B0B"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '51b26044-001a-001f-7303-674d17000000', - 'x-ms-version': '2016-05-31', - 'x-ms-type': 'File', - date: 'Thu, 05 Jan 2017 03:23:18 GMT', - connection: 'close' }); + 'x-ms-request-id': 'c7fee914-801a-0100-5a7b-5fddb8000000', + 'x-ms-version': '2018-03-28', + 'x-ms-request-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:38 GMT' }); return result; }, function (nock) { var result = -nock('https://xplat.file.core.windows.net:443') - .head('/upload-test-share-testdata1/dir-testdata2/file-testdata37') - .reply(200, "", { 'content-length': '12', +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') + .get('/upload-test-share-testdata1/dir-testdata2/file-testdata38') + .reply(200, "Hello World!", { 'content-length': '12', 'content-type': 'text', - 'last-modified': 'Thu, 05 Jan 2017 03:23:17 GMT', - etag: '"0x8D4351A314C816F"', + 'last-modified': 'Tue, 09 Oct 2018 02:57:38 GMT', + 'accept-ranges': 'bytes', + etag: '"0x8D62D92F8C84B0B"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '51b26044-001a-001f-7303-674d17000000', - 'x-ms-version': '2016-05-31', + 'x-ms-request-id': 'c7fee915-801a-0100-5b7b-5fddb8000000', + 'x-ms-version': '2018-03-28', 'x-ms-type': 'File', - date: 'Thu, 05 Jan 2017 03:23:18 GMT', - connection: 'close' }); + 'x-ms-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:38 GMT' }); return result; }, function (nock) { var result = -nock('http://xplat.file.core.windows.net:443') - .head('/upload-test-share-testdata1/dir-testdata2/file-testdata37') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') + .head('/upload-test-share-testdata1/dir-testdata2/file-testdata38') .reply(200, "", { 'content-length': '12', 'content-type': 'text', - 'last-modified': 'Thu, 05 Jan 2017 03:23:17 GMT', - etag: '"0x8D4351A314C816F"', + 'last-modified': 'Tue, 09 Oct 2018 02:57:38 GMT', + etag: '"0x8D62D92F8C84B0B"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'd13339fd-001a-0009-6703-678c89000000', - 'x-ms-version': '2016-05-31', + 'x-ms-request-id': 'c7fee916-801a-0100-5c7b-5fddb8000000', + 'x-ms-version': '2018-03-28', 'x-ms-type': 'File', - date: 'Thu, 05 Jan 2017 03:23:18 GMT', - connection: 'close' }); + 'x-ms-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:38 GMT' }); return result; }, function (nock) { var result = -nock('https://xplat.file.core.windows.net:443') - .head('/upload-test-share-testdata1/dir-testdata2/file-testdata37') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') + .head('/upload-test-share-testdata1/dir-testdata2/file-testdata38') .reply(200, "", { 'content-length': '12', 'content-type': 'text', - 'last-modified': 'Thu, 05 Jan 2017 03:23:17 GMT', - etag: '"0x8D4351A314C816F"', + 'last-modified': 'Tue, 09 Oct 2018 02:57:38 GMT', + etag: '"0x8D62D92F8C84B0B"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'd13339fd-001a-0009-6703-678c89000000', - 'x-ms-version': '2016-05-31', + 'x-ms-request-id': 'c7fee917-801a-0100-5d7b-5fddb8000000', + 'x-ms-version': '2018-03-28', 'x-ms-type': 'File', - date: 'Thu, 05 Jan 2017 03:23:18 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('http://xplat.file.core.windows.net:443') - .delete('/upload-test-share-testdata1/dir-testdata2/file-testdata37') - .reply(202, "", { 'transfer-encoding': 'chunked', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '5d1c6c61-001a-0026-6b03-670db3000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:23:18 GMT', - connection: 'close' }); + 'x-ms-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:38 GMT' }); return result; }, function (nock) { var result = -nock('https://xplat.file.core.windows.net:443') - .delete('/upload-test-share-testdata1/dir-testdata2/file-testdata37') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') + .delete('/upload-test-share-testdata1/dir-testdata2/file-testdata38') .reply(202, "", { 'transfer-encoding': 'chunked', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '5d1c6c61-001a-0026-6b03-670db3000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:23:18 GMT', - connection: 'close' }); + 'x-ms-request-id': 'c7fee918-801a-0100-5e7b-5fddb8000000', + 'x-ms-version': '2018-03-28', + date: 'Tue, 09 Oct 2018 02:57:38 GMT' }); return result; }], [function (nock) { var result = -nock('http://xplat.file.core.windows.net:443') - .put('/upload-test-share-testdata1/dir-testdata2/file-testdata38') - .reply(201, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Thu, 05 Jan 2017 03:23:20 GMT', - etag: '"0x8D4351A3299511B"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '57fa3544-001a-0043-6003-67bcee000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:23:19 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('https://xplat.file.core.windows.net:443') - .put('/upload-test-share-testdata1/dir-testdata2/file-testdata38') - .reply(201, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Thu, 05 Jan 2017 03:23:20 GMT', - etag: '"0x8D4351A3299511B"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '57fa3544-001a-0043-6003-67bcee000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:23:19 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('http://xplat.file.core.windows.net:443') - .filteringRequestBody(function (path) { return '*';}) -.put('/upload-test-share-testdata1/dir-testdata2/file-testdata38?comp=range', '*') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') + .put('/upload-test-share-testdata1/dir-testdata2/file-testdata39') .reply(201, "", { 'transfer-encoding': 'chunked', - 'content-md5': 'Ew4WfqlJJD4Jay2mCNkuwQ==', - 'last-modified': 'Thu, 05 Jan 2017 03:23:21 GMT', - etag: '"0x8D4351A33ABAEFF"', + 'last-modified': 'Tue, 09 Oct 2018 02:57:38 GMT', + etag: '"0x8D62D92F90710B2"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '3d2e2aa6-001a-0024-4a03-670f49000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:23:20 GMT', - connection: 'close' }); + 'x-ms-request-id': 'c7fee919-801a-0100-5f7b-5fddb8000000', + 'x-ms-version': '2018-03-28', + 'x-ms-request-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:38 GMT' }); return result; }, function (nock) { var result = -nock('https://xplat.file.core.windows.net:443') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') .filteringRequestBody(function (path) { return '*';}) -.put('/upload-test-share-testdata1/dir-testdata2/file-testdata38?comp=range', '*') +.put('/upload-test-share-testdata1/dir-testdata2/file-testdata39?comp=range', '*') .reply(201, "", { 'transfer-encoding': 'chunked', 'content-md5': 'Ew4WfqlJJD4Jay2mCNkuwQ==', - 'last-modified': 'Thu, 05 Jan 2017 03:23:21 GMT', - etag: '"0x8D4351A33ABAEFF"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '3d2e2aa6-001a-0024-4a03-670f49000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:23:20 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('http://xplat.file.core.windows.net:443') - .put('/upload-test-share-testdata1/dir-testdata2/file-testdata38?comp=properties') - .reply(200, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Thu, 05 Jan 2017 03:23:22 GMT', - etag: '"0x8D4351A341791A2"', + 'last-modified': 'Tue, 09 Oct 2018 02:57:39 GMT', + etag: '"0x8D62D92F95AEA0A"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'ecce7beb-001a-0022-7e03-67f831000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:23:22 GMT', - connection: 'close' }); + 'x-ms-request-id': 'c7fee91a-801a-0100-607b-5fddb8000000', + 'x-ms-version': '2018-03-28', + 'x-ms-request-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:39 GMT' }); return result; }, function (nock) { var result = -nock('https://xplat.file.core.windows.net:443') - .put('/upload-test-share-testdata1/dir-testdata2/file-testdata38?comp=properties') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') + .put('/upload-test-share-testdata1/dir-testdata2/file-testdata39?comp=properties') .reply(200, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Thu, 05 Jan 2017 03:23:22 GMT', - etag: '"0x8D4351A341791A2"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'ecce7beb-001a-0022-7e03-67f831000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:23:22 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('http://xplat.file.core.windows.net:443') - .head('/upload-test-share-testdata1/dir-testdata2/file-testdata38') - .reply(200, "", { 'content-length': '5242880', - 'content-type': 'text', - 'content-md5': 'ndpxhuSh0PPmMvK74fkYvg==', - 'last-modified': 'Thu, 05 Jan 2017 03:23:22 GMT', - etag: '"0x8D4351A341791A2"', + 'last-modified': 'Tue, 09 Oct 2018 02:57:39 GMT', + etag: '"0x8D62D92F97C5CCB"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'd12d0838-001a-003f-1f03-6721db000000', - 'x-ms-version': '2016-05-31', - 'x-ms-type': 'File', - date: 'Thu, 05 Jan 2017 03:23:22 GMT', - connection: 'close' }); + 'x-ms-request-id': 'c7fee91b-801a-0100-617b-5fddb8000000', + 'x-ms-version': '2018-03-28', + 'x-ms-request-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:39 GMT' }); return result; }, function (nock) { var result = -nock('https://xplat.file.core.windows.net:443') - .head('/upload-test-share-testdata1/dir-testdata2/file-testdata38') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') + .head('/upload-test-share-testdata1/dir-testdata2/file-testdata39') .reply(200, "", { 'content-length': '5242880', 'content-type': 'text', 'content-md5': 'ndpxhuSh0PPmMvK74fkYvg==', - 'last-modified': 'Thu, 05 Jan 2017 03:23:22 GMT', - etag: '"0x8D4351A341791A2"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'd12d0838-001a-003f-1f03-6721db000000', - 'x-ms-version': '2016-05-31', - 'x-ms-type': 'File', - date: 'Thu, 05 Jan 2017 03:23:22 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('http://xplat.file.core.windows.net:443') - .get('/upload-test-share-testdata1/dir-testdata2/file-testdata38') - .reply(206, "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000", { 'content-length': '512', - 'content-type': 'text', - 'content-range': 'bytes 512-1023/5242880', - 'last-modified': 'Thu, 05 Jan 2017 03:23:22 GMT', - 'accept-ranges': 'bytes', - etag: '"0x8D4351A341791A2"', + 'last-modified': 'Tue, 09 Oct 2018 02:57:39 GMT', + etag: '"0x8D62D92F97C5CCB"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '841de7c5-001a-003d-6303-672321000000', - 'x-ms-version': '2016-05-31', - 'x-ms-content-md5': 'ndpxhuSh0PPmMvK74fkYvg==', + 'x-ms-request-id': 'c7fee91c-801a-0100-627b-5fddb8000000', + 'x-ms-version': '2018-03-28', 'x-ms-type': 'File', - date: 'Thu, 05 Jan 2017 03:23:22 GMT', - connection: 'close' }); + 'x-ms-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:39 GMT' }); return result; }, function (nock) { var result = -nock('https://xplat.file.core.windows.net:443') - .get('/upload-test-share-testdata1/dir-testdata2/file-testdata38') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') + .get('/upload-test-share-testdata1/dir-testdata2/file-testdata39') .reply(206, "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000", { 'content-length': '512', 'content-type': 'text', 'content-range': 'bytes 512-1023/5242880', - 'last-modified': 'Thu, 05 Jan 2017 03:23:22 GMT', + 'last-modified': 'Tue, 09 Oct 2018 02:57:39 GMT', 'accept-ranges': 'bytes', - etag: '"0x8D4351A341791A2"', + etag: '"0x8D62D92F97C5CCB"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '841de7c5-001a-003d-6303-672321000000', - 'x-ms-version': '2016-05-31', + 'x-ms-request-id': 'c7fee91d-801a-0100-637b-5fddb8000000', + 'x-ms-version': '2018-03-28', 'x-ms-content-md5': 'ndpxhuSh0PPmMvK74fkYvg==', 'x-ms-type': 'File', - date: 'Thu, 05 Jan 2017 03:23:22 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('http://xplat.file.core.windows.net:443') - .head('/upload-test-share-testdata1/dir-testdata2/file-testdata38') - .reply(200, "", { 'content-length': '5242880', - 'content-type': 'text', - 'content-md5': 'ndpxhuSh0PPmMvK74fkYvg==', - 'last-modified': 'Thu, 05 Jan 2017 03:23:22 GMT', - etag: '"0x8D4351A341791A2"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '0ebac2ac-001a-001e-3503-674cea000000', - 'x-ms-version': '2016-05-31', - 'x-ms-type': 'File', - date: 'Thu, 05 Jan 2017 03:23:23 GMT', - connection: 'close' }); + 'x-ms-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:39 GMT' }); return result; }, function (nock) { var result = -nock('https://xplat.file.core.windows.net:443') - .head('/upload-test-share-testdata1/dir-testdata2/file-testdata38') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') + .head('/upload-test-share-testdata1/dir-testdata2/file-testdata39') .reply(200, "", { 'content-length': '5242880', 'content-type': 'text', 'content-md5': 'ndpxhuSh0PPmMvK74fkYvg==', - 'last-modified': 'Thu, 05 Jan 2017 03:23:22 GMT', - etag: '"0x8D4351A341791A2"', + 'last-modified': 'Tue, 09 Oct 2018 02:57:39 GMT', + etag: '"0x8D62D92F97C5CCB"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '0ebac2ac-001a-001e-3503-674cea000000', - 'x-ms-version': '2016-05-31', + 'x-ms-request-id': 'c7fee91e-801a-0100-647b-5fddb8000000', + 'x-ms-version': '2018-03-28', 'x-ms-type': 'File', - date: 'Thu, 05 Jan 2017 03:23:23 GMT', - connection: 'close' }); + 'x-ms-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:39 GMT' }); return result; }, function (nock) { var result = -nock('http://xplat.file.core.windows.net:443') - .get('/upload-test-share-testdata1/dir-testdata2/file-testdata38') - .reply(206, "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000", { 'content-length': '512', - 'content-type': 'text', - 'content-md5': 'v2GerAzfP2jUluqTRBN+iw==', - 'content-range': 'bytes 512-1023/5242880', - 'last-modified': 'Thu, 05 Jan 2017 03:23:22 GMT', - 'accept-ranges': 'bytes', - etag: '"0x8D4351A341791A2"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'fbdc5ff5-001a-0027-3003-670c4e000000', - 'x-ms-version': '2016-05-31', - 'x-ms-content-md5': 'ndpxhuSh0PPmMvK74fkYvg==', - 'x-ms-type': 'File', - date: 'Thu, 05 Jan 2017 03:23:23 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('https://xplat.file.core.windows.net:443') - .get('/upload-test-share-testdata1/dir-testdata2/file-testdata38') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') + .get('/upload-test-share-testdata1/dir-testdata2/file-testdata39') .reply(206, "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000", { 'content-length': '512', 'content-type': 'text', 'content-md5': 'v2GerAzfP2jUluqTRBN+iw==', 'content-range': 'bytes 512-1023/5242880', - 'last-modified': 'Thu, 05 Jan 2017 03:23:22 GMT', + 'last-modified': 'Tue, 09 Oct 2018 02:57:39 GMT', 'accept-ranges': 'bytes', - etag: '"0x8D4351A341791A2"', + etag: '"0x8D62D92F97C5CCB"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': 'fbdc5ff5-001a-0027-3003-670c4e000000', - 'x-ms-version': '2016-05-31', + 'x-ms-request-id': 'c7fee91f-801a-0100-657b-5fddb8000000', + 'x-ms-version': '2018-03-28', 'x-ms-content-md5': 'ndpxhuSh0PPmMvK74fkYvg==', 'x-ms-type': 'File', - date: 'Thu, 05 Jan 2017 03:23:23 GMT', - connection: 'close' }); + 'x-ms-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:39 GMT' }); return result; }], [function (nock) { var result = -nock('http://xplat.file.core.windows.net:443') - .put('/upload-test-share-testdata1/dir-testdata2/file-testdata39') - .reply(201, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Thu, 05 Jan 2017 03:23:24 GMT', - etag: '"0x8D4351A35706F4B"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '4f068376-001a-0044-1a03-674a6b000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:23:24 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('https://xplat.file.core.windows.net:443') - .put('/upload-test-share-testdata1/dir-testdata2/file-testdata39') - .reply(201, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Thu, 05 Jan 2017 03:23:24 GMT', - etag: '"0x8D4351A35706F4B"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '4f068376-001a-0044-1a03-674a6b000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:23:24 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('http://xplat.file.core.windows.net:443') - .filteringRequestBody(function (path) { return '*';}) -.put('/upload-test-share-testdata1/dir-testdata2/file-testdata39?comp=range', '*') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') + .put('/upload-test-share-testdata1/dir-testdata2/file-testdata40') .reply(201, "", { 'transfer-encoding': 'chunked', - 'content-md5': 'ZajifYh5KDgxtmS9i38K1A==', - 'last-modified': 'Thu, 05 Jan 2017 03:23:25 GMT', - etag: '"0x8D4351A35B2F76D"', + 'last-modified': 'Tue, 09 Oct 2018 02:57:39 GMT', + etag: '"0x8D62D92F9B7C63B"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '0bed9e20-001a-0039-6703-67d6a3000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:23:24 GMT', - connection: 'close' }); + 'x-ms-request-id': 'c7fee920-801a-0100-667b-5fddb8000000', + 'x-ms-version': '2018-03-28', + 'x-ms-request-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:39 GMT' }); return result; }, function (nock) { var result = -nock('https://xplat.file.core.windows.net:443') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') .filteringRequestBody(function (path) { return '*';}) -.put('/upload-test-share-testdata1/dir-testdata2/file-testdata39?comp=range', '*') +.put('/upload-test-share-testdata1/dir-testdata2/file-testdata40?comp=range', '*') .reply(201, "", { 'transfer-encoding': 'chunked', 'content-md5': 'ZajifYh5KDgxtmS9i38K1A==', - 'last-modified': 'Thu, 05 Jan 2017 03:23:25 GMT', - etag: '"0x8D4351A35B2F76D"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '0bed9e20-001a-0039-6703-67d6a3000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:23:24 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('http://xplat.file.core.windows.net:443') - .get('/upload-test-share-testdata1/dir-testdata2/file-testdata39') - .reply(200, "Hello, World!", { 'content-length': '13', - 'content-type': 'application/octet-stream', - 'content-md5': 'ZajifYh5KDgxtmS9i38K1A==', - 'last-modified': 'Thu, 05 Jan 2017 03:23:25 GMT', - 'accept-ranges': 'bytes', - etag: '"0x8D4351A35B2F76D"', + 'last-modified': 'Tue, 09 Oct 2018 02:57:39 GMT', + etag: '"0x8D62D92F9C8BA3A"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '07acf210-001a-0042-4503-67bd13000000', - 'x-ms-version': '2016-05-31', - 'x-ms-type': 'File', - date: 'Thu, 05 Jan 2017 03:23:24 GMT', - connection: 'close' }); + 'x-ms-request-id': 'c7fee921-801a-0100-677b-5fddb8000000', + 'x-ms-version': '2018-03-28', + 'x-ms-request-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:39 GMT' }); return result; }, function (nock) { var result = -nock('https://xplat.file.core.windows.net:443') - .get('/upload-test-share-testdata1/dir-testdata2/file-testdata39') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') + .get('/upload-test-share-testdata1/dir-testdata2/file-testdata40') .reply(200, "Hello, World!", { 'content-length': '13', 'content-type': 'application/octet-stream', 'content-md5': 'ZajifYh5KDgxtmS9i38K1A==', - 'last-modified': 'Thu, 05 Jan 2017 03:23:25 GMT', + 'last-modified': 'Tue, 09 Oct 2018 02:57:39 GMT', 'accept-ranges': 'bytes', - etag: '"0x8D4351A35B2F76D"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '07acf210-001a-0042-4503-67bd13000000', - 'x-ms-version': '2016-05-31', - 'x-ms-type': 'File', - date: 'Thu, 05 Jan 2017 03:23:24 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('http://xplat.file.core.windows.net:443') - .head('/upload-test-share-testdata1/dir-testdata2/file-testdata39') - .reply(200, "", { 'content-length': '13', - 'content-type': 'application/octet-stream', - 'content-md5': 'ZajifYh5KDgxtmS9i38K1A==', - 'last-modified': 'Thu, 05 Jan 2017 03:23:25 GMT', - etag: '"0x8D4351A35B2F76D"', + etag: '"0x8D62D92F9C8BA3A"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '8efbdcec-001a-004b-0103-67a79d000000', - 'x-ms-version': '2016-05-31', + 'x-ms-request-id': 'c7fee922-801a-0100-687b-5fddb8000000', + 'x-ms-version': '2018-03-28', 'x-ms-type': 'File', - date: 'Thu, 05 Jan 2017 03:23:25 GMT', - connection: 'close' }); + 'x-ms-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:39 GMT' }); return result; }, function (nock) { var result = -nock('https://xplat.file.core.windows.net:443') - .head('/upload-test-share-testdata1/dir-testdata2/file-testdata39') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') + .head('/upload-test-share-testdata1/dir-testdata2/file-testdata40') .reply(200, "", { 'content-length': '13', 'content-type': 'application/octet-stream', 'content-md5': 'ZajifYh5KDgxtmS9i38K1A==', - 'last-modified': 'Thu, 05 Jan 2017 03:23:25 GMT', - etag: '"0x8D4351A35B2F76D"', + 'last-modified': 'Tue, 09 Oct 2018 02:57:39 GMT', + etag: '"0x8D62D92F9C8BA3A"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '8efbdcec-001a-004b-0103-67a79d000000', - 'x-ms-version': '2016-05-31', + 'x-ms-request-id': 'c7fee923-801a-0100-697b-5fddb8000000', + 'x-ms-version': '2018-03-28', 'x-ms-type': 'File', - date: 'Thu, 05 Jan 2017 03:23:25 GMT', - connection: 'close' }); + 'x-ms-server-encrypted': 'true', + date: 'Tue, 09 Oct 2018 02:57:39 GMT' }); return result; }], [function (nock) { var result = -nock('http://xplat.file.core.windows.net:443') - .head('/upload-test-share-testdata1?restype=share') - .reply(200, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Fri, 15 Jul 2016 07:33:20 GMT', - etag: '"0x8D3AC824B6FA583"', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '904d53af-001a-0018-0103-67bb92000000', - 'x-ms-version': '2016-05-31', - 'x-ms-share-quota': '5120', - date: 'Thu, 05 Jan 2017 03:23:25 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('https://xplat.file.core.windows.net:443') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') .head('/upload-test-share-testdata1?restype=share') .reply(200, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Fri, 15 Jul 2016 07:33:20 GMT', - etag: '"0x8D3AC824B6FA583"', + 'last-modified': 'Tue, 09 Oct 2018 02:57:23 GMT', + etag: '"0x8D62D92F01C6C15"', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '904d53af-001a-0018-0103-67bb92000000', - 'x-ms-version': '2016-05-31', + 'x-ms-request-id': 'c7fee924-801a-0100-6a7b-5fddb8000000', + 'x-ms-version': '2018-03-28', + 'x-ms-has-immutability-policy': 'false', + 'x-ms-has-legal-hold': 'false', 'x-ms-share-quota': '5120', - date: 'Thu, 05 Jan 2017 03:23:25 GMT', - connection: 'close' }); - return result; }, -function (nock) { -var result = -nock('http://xplat.file.core.windows.net:443') - .delete('/upload-test-share-testdata1?restype=share') - .reply(202, "", { 'transfer-encoding': 'chunked', - server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '423dbc41-001a-0021-5c03-67fb36000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:23:25 GMT', - connection: 'close' }); + date: 'Tue, 09 Oct 2018 02:57:39 GMT' }); return result; }, function (nock) { var result = -nock('https://xplat.file.core.windows.net:443') +nock('https://jiacstgsoutheastasia01.file.core.windows.net:443') .delete('/upload-test-share-testdata1?restype=share') .reply(202, "", { 'transfer-encoding': 'chunked', server: 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', - 'x-ms-request-id': '423dbc41-001a-0021-5c03-67fb36000000', - 'x-ms-version': '2016-05-31', - date: 'Thu, 05 Jan 2017 03:23:25 GMT', - connection: 'close' }); + 'x-ms-request-id': 'c7fee925-801a-0100-6b7b-5fddb8000000', + 'x-ms-version': '2018-03-28', + date: 'Tue, 09 Oct 2018 02:57:40 GMT' }); return result; }]]; \ No newline at end of file From 1600bf2a7a74ffb1f4a5a60a9a82c1a3ac21004d Mon Sep 17 00:00:00 2001 From: jiacfan Date: Tue, 9 Oct 2018 11:10:23 +0800 Subject: [PATCH 17/18] Upgrade version to 2.10.2. --- ChangeLog.md | 15 +++++++++++++-- browser/ChangeLog.md | 10 ++++++++++ lib/common/util/constants.js | 2 +- package.json | 2 +- 4 files changed, 25 insertions(+), 4 deletions(-) diff --git a/ChangeLog.md b/ChangeLog.md index a09b983e..8152517a 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -1,11 +1,22 @@ Note: This is an Azure Storage only package. The all up Azure node sdk still has the old storage bits in there. In a future release, those storage bits will be removed and an npm dependency to this storage node sdk will be taken. This is a GA release and the changes described below indicate the changes from the Azure node SDK 0.9.8 available here - https://github.com/Azure/azure-sdk-for-node. -2018.09 Version 2.10.2 +2018.10 Version 2.10.2 ALL -* Removed deprecated Buffer constructor calls in favor of static methods `Buffer.from` and `Buffer.alloc` +* Upgrade `xmlbuilder` to 9.0.7 and `extend` to 3.0.2 to avoid vulnerabilities. +* Removed deprecated Buffer constructor calls in favor of static methods `Buffer.from` and `Buffer.alloc`. +* Added JSv10 link and docs.microsoft.com link. +* Improved documents. + +BLOB +* Added typescript declarations to `listBlobDirectoriesSegmented` and `listBlobDirectoriesSegmentedWithPrefix`. +FILE +* Fixed an issue that empty text isn’t supported in `createFileFromText`. + +TABLE +* Fixed an issue that uncaught TypeError could be thrown from `createTable` when request is not sent properly. 2018.08 Version 2.10.1 diff --git a/browser/ChangeLog.md b/browser/ChangeLog.md index 3d04a41a..5d9d3848 100644 --- a/browser/ChangeLog.md +++ b/browser/ChangeLog.md @@ -1,5 +1,15 @@ Note: This is the change log file for Azure Storage JavaScript Client Library. +2018.10 Version 2.10.102 + +ALL +* Generated browser compatible JavaScript files based on Microsoft Azure Storage SDK for Node.js 2.10.2. +* Optimized browser samples and other documents. +* Added JSv10 link and docs.microsoft.com link. + +FILE +* Fixed an issue that empty text isn’t supported in `createFileFromText`. + 2018.08 Version 2.10.101 ALL diff --git a/lib/common/util/constants.js b/lib/common/util/constants.js index ddef9183..28aeb230 100644 --- a/lib/common/util/constants.js +++ b/lib/common/util/constants.js @@ -37,7 +37,7 @@ var Constants = { * @const * @type {string} */ - USER_AGENT_PRODUCT_VERSION: '2.10.1', + USER_AGENT_PRODUCT_VERSION: '2.10.2', /** * The number of default concurrent requests for parallel operation. diff --git a/package.json b/package.json index 239d20f9..0aab0d9a 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "azure-storage", "author": "Microsoft Corporation", - "version": "2.10.1", + "version": "2.10.2", "description": "Microsoft Azure Storage Client Library for Node.js", "typings": "typings/azure-storage/azure-storage.d.ts", "tags": [ From 47714c23e3a5843ebe3de206d00eafb7206edc3b Mon Sep 17 00:00:00 2001 From: jiacfan Date: Tue, 9 Oct 2018 15:22:21 +0800 Subject: [PATCH 18/18] Optimize ts declarisions. --- README.md | 2 +- typings/azure-storage/azure-storage.d.ts | 26 ++++++++++++------------ 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index c8d4cbcf..a900ceb5 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ This project provides a Node.js package and a browser compatible [JavaScript Cli | SDK Name | Version | Description | NPM/API Reference Links | |------------------------------------------------------------------------------------------|-------------|------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------| -| [Storage SDK v10 for JavaScript](https://github.com/Azure/azure-storage-js) | v10-Preview | The next generation async Storage SDK (Blob only, async and promise support) | [NPM](https://www.npmjs.com/package/@azure/storage-blob) | +| [Storage SDK v10 for JavaScript](https://github.com/Azure/azure-storage-js) | v10-Preview | The next generation async Storage SDK (Blob only, async and promise support) | [NPM](https://www.npmjs.com/package/@azure/storage-blob) - [Reference](https://docs.microsoft.com/en-us/javascript/api/%40azure/storage-blob/index?view=azure-node-preview) | | [Storage SDK v2 for JavaScript](https://github.com/Azure/azure-storage-node) | v2 | Legacy Storage SDK in this repository (Blob/Queue/File/Table, callback style) | [NPM](https://www.npmjs.com/package/azure-storage) - [Reference](https://docs.microsoft.com/en-us/javascript/api/azure-storage/?view=azure-node-latest) | | [Azure Management SDKs for JavaScript](https://github.com/Azure/azure-sdk-for-node) | v2 | Management SDKs including Storage Resource Provider APIs | [NPM](https://www.npmjs.com/package/azure) - [Reference](https://github.com/Azure/azure-sdk-for-node#documentation) | diff --git a/typings/azure-storage/azure-storage.d.ts b/typings/azure-storage/azure-storage.d.ts index 0b34fb1b..c855c45b 100644 --- a/typings/azure-storage/azure-storage.d.ts +++ b/typings/azure-storage/azure-storage.d.ts @@ -671,10 +671,10 @@ declare module azurestorage { * @param {Object} currentToken A continuation token returned by a previous listing operation. Please use 'null' or 'undefined' if this is the first operation. * @param {errorOrResult} callback `error` will contain information * if an error occurs; otherwise `result` will contain `entries` and `continuationToken`. - * `entries` gives a list of `[directories]{@link DirectoryResult}` and the `continuationToken` is used for the next listing operation. + * `entries` gives a list of `[directories]{@link BlobDirectoryResult}` and the `continuationToken` is used for the next listing operation. * `response` will contain information related to this operation. */ - listBlobDirectoriesSegmented(container: string, currentToken: common.ContinuationToken, callback: ErrorOrResult): void; + listBlobDirectoriesSegmented(container: string, currentToken: common.ContinuationToken, callback: ErrorOrResult): void; /** * Lists a segment containing a collection of blob directory items in the container. @@ -696,13 +696,13 @@ declare module azurestorage { * The default value is false. * @param {errorOrResult} callback `error` will contain information * if an error occurs; otherwise `result` will contain `entries` and `continuationToken`. - * `entries` gives a list of `[directories]{@link DirectoryResult}` and the `continuationToken` is used for the next listing operation. + * `entries` gives a list of `[directories]{@link BlobDirectoryResult}` and the `continuationToken` is used for the next listing operation. * `response` will contain information related to this operation. */ - listBlobDirectoriesSegmented(container: string, currentToken: common.ContinuationToken, options: BlobService.ListBlobPrefixesSegmentedRequestOptions, callback: ErrorOrResult): void; + listBlobDirectoriesSegmented(container: string, currentToken: common.ContinuationToken, options: BlobService.ListBlobPrefixesSegmentedRequestOptions, callback: ErrorOrResult): void; /** - * Lists a segment containing a collection of blob items whose names begin with the specified prefix in the container. + * Lists a segment containing a collection of blob directory items whose names begin with the specified prefix in the container. * * @this {BlobService} * @param {string} container The container name. @@ -710,13 +710,13 @@ declare module azurestorage { * @param {Object} currentToken A continuation token returned by a previous listing operation. Please use 'null' or 'undefined' if this is the first operation. * @param {errorOrResult} callback `error` will contain information * if an error occurs; otherwise `result` will contain `entries` and `continuationToken`. - * `entries` gives a list of `[directories]{@link BlobResult}` and the `continuationToken` is used for the next listing operation. + * `entries` gives a list of `[directories]{@link BlobDirectoryResult}` and the `continuationToken` is used for the next listing operation. * `response` will contain information related to this operation. */ - listBlobDirectoriesSegmentedWithPrefix(container: string, prefix: string, currentToken: common.ContinuationToken, callback: ErrorOrResult): void; + listBlobDirectoriesSegmentedWithPrefix(container: string, prefix: string, currentToken: common.ContinuationToken, callback: ErrorOrResult): void; /** - * Lists a segment containing a collection of blob directory items in the container. + * Lists a segment containing a collection of blob directory items whose names begin with the specified prefix in the container. * * @this {BlobService} * @param {string} container The container name. @@ -736,10 +736,10 @@ declare module azurestorage { * The default value is false. * @param {errorOrResult} callback `error` will contain information * if an error occurs; otherwise `result` will contain `entries` and `continuationToken`. - * `entries` gives a list of `[directories]{@link BlobResult}` and the `continuationToken` is used for the next listing operation. + * `entries` gives a list of `[directories]{@link BlobDirectoryResult}` and the `continuationToken` is used for the next listing operation. * `response` will contain information related to this operation. */ - listBlobDirectoriesSegmentedWithPrefix(container: string, prefix: string, currentToken: common.ContinuationToken, options: BlobService.ListBlobPrefixesSegmentedRequestOptions, callback: ErrorOrResult): void; + listBlobDirectoriesSegmentedWithPrefix(container: string, prefix: string, currentToken: common.ContinuationToken, options: BlobService.ListBlobPrefixesSegmentedRequestOptions, callback: ErrorOrResult): void; /** * Lists a segment containing a collection of blob items in the container. @@ -3046,8 +3046,8 @@ declare module azurestorage { continuationToken?: common.ContinuationToken; } - export interface ListBlobPrefixesResult { - entries: BlobPrefixResult[]; + export interface ListBlobDirectoriesResult { + entries: BlobDirectoryResult[]; continuationToken?: common.ContinuationToken; } @@ -3078,7 +3078,7 @@ declare module azurestorage { entries: ContainerResult[]; } - export interface BlobPrefixResult { + export interface BlobDirectoryResult { name: string; }