/tool fetch - 301 HTTP response code failed

Hello.
I execute the request:

/tool fetch url="http://httpstat.us/301" keep-result=no

result:

status: failed

Answer code: 301
It seems to me that the 301 http response code should not be an error.
Or am I wrong?

I would like to suggest adding the ability to see the http response code to the router-os functionality.
for example:

$result->"code"

even if the request was like fail, then I want to know the response code, 404, 500 or other.

Where should you write to offer the functionality?
Thank.