@azure/data-tables
Version:
An isomorphic client library for the Azure Tables service.
19 lines • 693 B
JavaScript
;
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
Object.defineProperty(exports, "__esModule", { value: true });
exports.getBaseTransactionHeaders = getBaseTransactionHeaders;
/**
* @internal
* Builds an object with the required headers for a Transaction request. For both Node and Browser
*/
function getBaseTransactionHeaders(transactionGuid) {
return {
accept: "application/json",
"x-ms-version": "2019-02-02",
DataServiceVersion: "3.0;",
MaxDataServiceVersion: "3.0;NetFx",
"Content-Type": `multipart/mixed; boundary=batch_${transactionGuid}`,
};
}
//# sourceMappingURL=baseTransactionHeaders.js.map