-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Closed
Labels
api-needs-workAPI needs work before it is approved, it is NOT ready for implementationAPI needs work before it is approved, it is NOT ready for implementationarea-System.Net.Httphelp wanted[up-for-grabs] Good issue for external contributors[up-for-grabs] Good issue for external contributors
Milestone
Description
Background and motivation
API user would like to have specific information about why a proxy connection failed without the need to parse a text based error message.
Dotnet 6 altered how proxy errors were handled as part of #48679. Rather than the proxy response being returned to the user, an error message is returned. This was done to distinguish proxy related errors from upstream errors.
I have a need to distinguish proxy errors based upon the status code the proxy returned. This information is conveyed as part of the error message "The proxy tunnel request to proxy {proxyUri} failed with status code {statusCode}."
Please make the proxy status code somehow directly available to the user rather than by parsing a text string.
API Proposal
TBD
API Usage
TBD
Alternative Designs
No response
Risks
No response
DeagleGross
Metadata
Metadata
Assignees
Labels
api-needs-workAPI needs work before it is approved, it is NOT ready for implementationAPI needs work before it is approved, it is NOT ready for implementationarea-System.Net.Httphelp wanted[up-for-grabs] Good issue for external contributors[up-for-grabs] Good issue for external contributors