Skip to content

Httpclient proxy update #112300

@ssccinng

Description

@ssccinng

.NET9 has modified the default behavior of the proxy. I would like to know if there is a way to use the original behavior pattern?

like
using var httpClient = new HttpClient(){Timeout = TimeSpan.FromSeconds(5), AutoSwitchProxy = false};
Otherwise, modifying to the original behavior pattern would require significant changes

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-System.Net.HttpquestionAnswer questions and provide assistance, not an issue with source code or documentation.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions