Skip to content

HTTP 404 interpreted as "An exception occurred during a WebClient request" #10

@luiscantero

Description

@luiscantero

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."

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions