Jeff Mitchell
1d4d302bfa
Clean up request logic and use retryable's more efficient handling ( #4670 )
2018-06-01 09:12:43 -04:00
Jeff Mitchell
5bd7a41e26
Update comment around legacy bool in API
2018-05-09 20:35:51 -04:00
Jeff Mitchell
891ce7a975
Update go-retryablehttp vendor
2018-05-09 17:44:53 -04:00
Jeff Mitchell
d9fa7636ac
More syncing
2017-10-23 16:52:56 -04:00
Jeff Mitchell
7e16fffd2f
Return error on bad CORS and add Header specification to API request primitive
2017-06-19 18:20:44 -04:00
pkrolikowski
ee177d85f8
Pass user/pass for HTTP Basic Authentication in URL parameters ( #2469 )
2017-03-10 07:19:23 -05:00
Jeff Mitchell
7129fd5785
Switch to pester from go-retryablehttp to avoid swallowing 500 error messages
2016-07-11 21:37:46 +00:00
Jeff Mitchell
60df9d3461
Make the API client retry on 5xx errors.
...
This should help with transient issues. Full control over min/max delays
and number of retries (and ability to turn off) is provided in the API
and via env vars.
Fix tests.
2016-07-06 16:50:23 -04:00
Jeff Mitchell
ff4dc0b853
Add wrap support to API/CLI
2016-05-02 02:03:23 -04:00
Jeff Mitchell
f1a301922d
Remove cookie authentication.
2015-08-21 19:46:23 -07:00
Armon Dadgar
0454e1f48e
api: Allow reseting of request body
2015-04-20 10:44:51 -07:00
Mitchell Hashimoto
da6210d3c1
api: start the groundwork API stuff
2015-03-09 11:38:50 -07:00