Armon Dadgar
f86d7c3a09
Merge pull request #558 from ceh/http-api-response-headers
...
add ability to specify response headers on the HTTP API
2015-01-05 11:36:08 -08:00
Thordur Bjornsson
a12ffef8b6
Test both ?pretty both bare and with value.
2015-01-02 09:15:41 +01:00
Ryan Uber
e9615c50e6
agent: test pretty printed json
2015-01-01 14:27:10 -08:00
Emil Hessman
cb764c35e5
add ability to specify response headers on the HTTP API
...
Add an config object that allows adding HTTP header response fields to every
HTTP API response.
Each specified header is added to every response from all HTTP API endpoints.
Each individual endpoint may overwrite the specified header, which makes sure
that Consul headers such as 'X-Consul-Index' is enforced by the API.
2014-12-28 19:17:08 +01:00
Armon Dadgar
666cf3c483
agent: Fixing UiDir in test
2014-11-19 13:29:15 -08:00
Armon Dadgar
485f0a0c93
agent: Fixing port collision in tests
2014-11-19 11:51:25 -08:00
Atin Malaviya
f1f8c88228
Moved TLS Config stuff to tlsutil package
2014-11-18 11:03:36 -05:00
Armon Dadgar
84649b5423
agent: Fixing multiple headers for /v1/event/list endpoint. Fixes #361
2014-10-13 17:53:54 -07:00
Armon Dadgar
e86c5b2627
agent: Address overrides. Fixes #301 and #253
2014-09-02 12:47:40 -07:00
Armon Dadgar
1d26ea41e1
agent: Improving test reliability
2014-05-21 12:31:22 -07:00
Armon Dadgar
c071932f92
agent: Session endpoint tests
2014-05-20 16:25:29 -07:00
William Tisäter
fcd5da3bf7
Drop unnecessary sleep
2014-05-07 23:17:00 +02:00
Armon Dadgar
f0c9ba4c01
agent: Improving UI file serving
2014-04-30 23:43:56 -04:00
Armon Dadgar
e20b70b9f6
agent: Adding endpoint to serve the UI
2014-04-30 23:43:56 -04:00
Armon Dadgar
2739abab7b
agent: Pass UiDir into the HTTP layer
2014-04-30 23:43:56 -04:00
Armon Dadgar
91bed7b313
agent: Adding HTTP tests for new features
2014-04-21 13:19:18 -07:00
Armon Dadgar
e2ea4804bd
agent: Updating tests for new API
2014-04-21 13:11:05 -07:00
Jacques Fuentes
2b6ee141cb
HTTP: add content-type: application/json header
2014-04-17 14:38:14 -04:00
Armon Dadgar
8dd1e51bae
agent: Simplifying configs
2014-04-11 15:46:55 -07:00
Armon Dadgar
c7d27cf424
agent: Use EnableDebug to control adding pprof HTTP endpoints
2014-03-19 17:50:57 -07:00
Armon Dadgar
315600d6bf
agent: adding more tests
2014-02-05 14:47:42 -08:00
Armon Dadgar
1e035d5453
Rename HTTP server method
2014-01-02 11:45:58 -08:00
Armon Dadgar
39d9e3e78f
More HTTP endpoints
2013-12-23 16:20:51 -08:00
Armon Dadgar
caaff11634
Adding more agent tests
2013-12-23 13:52:10 -08:00