The RequestMethod::submit should be enhanced because the return value is not good enough to users.
If the users use the GuzzleGet class to do HTTP request, it will return the GuzzleHttp\Psr7\Response object. I think it's the flexible way to let users get response headers and HTTP status code by themselves.
If the users use the Get class to do HTTP request, it will only return the response content.
They cannot receive any HTTP response headers and status code via submit method.
But it's possible to use file_get_contents to get HTTP headers and status code.
Please consider this official PHP reference and we can know using $http_response_header to get response HTTP headers after calling file_get_contents.
Maybe we can return array when using Get::submit method?
@iranianpep, do you have any idea about this? Thanks.