open-consul/ui/packages/consul-ui/app/utils/http/consul.js

11 lines
504 B
JavaScript

// TODO: Need to make all these headers capital case
export const HEADERS_PARTITION = 'X-Consul-Partition';
export const HEADERS_NAMESPACE = 'X-Consul-Namespace';
export const HEADERS_DATACENTER = 'X-Consul-Datacenter';
export const HEADERS_DEFAULT_ACL_POLICY = 'X-Consul-Default-Acl-Policy';
export const HEADERS_INDEX = 'X-Consul-Index';
export const HEADERS_TOKEN = 'X-Consul-Token';
export const HEADERS_DIGEST = 'X-Consul-ContentHash';
//
export const HEADERS_SYMBOL = '__consul_ui_http_headers__';