handling Net::HTTPInternalServerError

When we get a internalServerError with a status 500 for example, "res" is a Net::HTTPInternalServerError and dont have the response_body_permitted? method