2023-03-14 13:18:55 +00:00
|
|
|
/**
|
|
|
|
* Copyright (c) HashiCorp, Inc.
|
|
|
|
* SPDX-License-Identifier: MPL-2.0
|
|
|
|
*/
|
|
|
|
|
2019-12-17 18:47:37 +00:00
|
|
|
// TODO: Need to make all these headers capital case
|
2021-09-15 18:50:11 +00:00
|
|
|
export const HEADERS_PARTITION = 'X-Consul-Partition';
|
2019-12-17 18:47:37 +00:00
|
|
|
export const HEADERS_NAMESPACE = 'X-Consul-Namespace';
|
2020-05-05 16:29:35 +00:00
|
|
|
export const HEADERS_DATACENTER = 'X-Consul-Datacenter';
|
2021-10-26 18:26:04 +00:00
|
|
|
export const HEADERS_DEFAULT_ACL_POLICY = 'X-Consul-Default-Acl-Policy';
|
2020-05-05 16:29:35 +00:00
|
|
|
export const HEADERS_INDEX = 'X-Consul-Index';
|
|
|
|
export const HEADERS_TOKEN = 'X-Consul-Token';
|
|
|
|
export const HEADERS_DIGEST = 'X-Consul-ContentHash';
|
2019-12-17 18:47:37 +00:00
|
|
|
//
|
|
|
|
export const HEADERS_SYMBOL = '__consul_ui_http_headers__';
|