UNPKG

@azure/data-tables

Version:

An isomorphic client library for the Azure Tables service.

14 lines 647 B
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import { getBaseTransactionHeaders } from "./baseTransactionHeaders"; /** * @internal * Builds an object with the required headers for a Transaction request. For Node */ export function getTransactionHeaders(transactionGuid) { const baseHeaders = getBaseTransactionHeaders(transactionGuid); return Object.assign(Object.assign({}, baseHeaders), { // The below headers are not supported in the browser as they are flagged as "unsafe headers" "Accept-Charset": "UTF-8", Connection: "Keep-Alive" }); } //# sourceMappingURL=transactionHeaders.js.map