79511823

Date: 2025-03-15 21:36:25
Score: 0.5
Natty:
Report link

I believe what you're looking for is:

HttpResponseMessage response = await httpClient.GetAsync(uri);
if (response.Headers.Location == new Uri(some_uri_string)) {
  return true;
}

I realize this response is more than a decade late, but I'd thought I'd answer it.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: thakyZ