When using GZipWebClient to access a URI that leads to a 404, this:
wc.OpenReadCompleted += (s, e) =>
... results in s.Error:
"An exception occurred during a WebClient request. "
In contrast, when using WebClient, s.Error contains this:
"The remote server returned an error: NotFound."
When using GZipWebClient to access a URI that leads to a 404, this:
wc.OpenReadCompleted += (s, e) =>
... results in s.Error:
"An exception occurred during a WebClient request. "
In contrast, when using WebClient, s.Error contains this:
"The remote server returned an error: NotFound."