java-sdk-core
java-sdk-core copied to clipboard
feat: improve behavior of HTTP redirects
This commit introduces a new okhttp interceptor that will implement customized behavior for HTTP redirects. Specifically, "safe" headers will be included in a redirected request if the original and redirected hosts are the same, or are both within IBM's "cloud.ibm.com" domain.