HttpClient StatusDescription is missing

Viewed 987

i use the httpclient from Microsoft.Net.Http (version 2.2.22) to request some of my mvc pages. My page returns a HttpStatusCodeResult like:

 return new HttpStatusCodeResult(clientResponse.StatusCode, "Blub Blub");

With the httpclient it is not problem to call the page. But i couldn't find a way to access the statusDescription ("Blub Blub"). Is there a way to access the description? And if not, why microsoft doesn't make it accessable? By the way if i call the site from browser (Chrome) the description is shown as expected.

1 Answers
Related