authservice
authservice copied to clipboard
refactoring HTTP client
Previous HTTP client code has some problems.
- It doesn't have transport socket options. So we can't switch raw or tls socket to use in requesting.
- Many lines of code are included in the same function. We should separate them.
And also, It has some points to cleanup by @incfly
- https://github.com/istio-ecosystem/authservice/pull/174#discussion_r733036936
- https://github.com/istio-ecosystem/authservice/pull/174#discussion_r733038206
- https://github.com/istio-ecosystem/authservice/pull/174#discussion_r733043346