I try to handle custom HTTP status code like 444 or 429 that are not in the HttpStatusCode
enum when receving them with a WebException
( (ex.Response as HttpWebResponse).StatusCode
).
Is there a better way than parsing response as suggested in this answer HttpWebResponse Status Code 429 ?
As there are many of them, this solution is not suitable.