The endpoint v1/session/auth/token requires that the Accept header include text/plain.
If it is not present a 406 will be returned with no details explaining the failure.
This PR overrides the Accept header for only the session_auth_token method so end user clients do not have to do this via the request session object instead.
The endpoint
v1/session/auth/token
requires that the Accept header includetext/plain
.If it is not present a 406 will be returned with no details explaining the failure.
This PR overrides the Accept header for only the
session_auth_token
method so end user clients do not have to do this via the request session object instead.