consul/ui-v2/app/utils/http/consul.js

9 lines
376 B
JavaScript

// TODO: Need to make all these headers capital case
export const HEADERS_NAMESPACE = 'X-Consul-Namespace';
export const HEADERS_DATACENTER = 'X-Consul-Datacenter';
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__';