SharpGIS.GZipWebClient
SharpGIS.GZipWebClient copied to clipboard
HTTP 404 interpreted as "An exception occurred during a WebClient request"
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."