intercept
open override fun intercept(chain: ERROR CLASS: Symbol not found for Interceptor.Chain): ERROR CLASS: Symbol not found for Response
Adds the X-Target-Environment header unless the request targets an auth-bootstrap endpoint that does not accept it.
Return
The response after conditionally adding the environment header.
Parameters
chain
The interceptor chain.
Throws
If an I/O error occurs.