channable / channable/vaultenv
Support client-redirection
- Dominant language
- Haskell
- Stars
- 466
- Forks
- 29
- Avg merge
- 26m
- Merged PRs (30d)
- 1
Description
When connecting to the secondary in a high availability setup, it is possible to get a `307 TEMPORARY REDIRECT` response when Vault cannot forward a request to the primary on behalf of the client ([docs](https://www.vaultproject.io/docs/concepts/ha.html#client-redirection)).
We currently don't follow these redirects and might want to support this.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the Haskell entry point that connects to Vault and sends requests when the client is connected to a secondary. Read the linked Vault HA client-redirection documentation and inspect the current handling of HTTP responses; done means the 307 case is handled as intended and covered by an appropriate test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- haskell
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100