How to get the actual http response error code from request and not NetworkError-enum
im doing simple http requests and something getting http errors , i want to translate them or convert them from NetworkError-enum
to real http numbers , or get them in other way from the request .
is there any way to do it ?
Note that if you get a NetworkError, then there is no http response error code to be had. For HTTP, you need to have a working network first...