The WebCrawler.ExtractRedirectUri(...) method may get the redirect location from the Location header. If the value of the Location header is a relative URI, accessing the AbsoluteUri property throws an exception. Consider using either ToString() or OriginalString to get the URI.
The
WebCrawler.ExtractRedirectUri(...)
method may get the redirect location from theLocation
header. If the value of theLocation
header is a relative URI, accessing theAbsoluteUri
property throws an exception. Consider using eitherToString()
orOriginalString
to get the URI.