Master
the change I am adding doesnt change the behavior nor the result of the function but fixes an issue where, at least in my project, the Encoded::isJson($response->body()))
doesnt return error nor success and for such reason the login with mattermost doesnt work. Video -> https://drive.google.com/file/d/1OYHMII3SmJ1s6D4PQa8gqmF7NAQta7Xi/view?usp=sharing