Skip to content

Polly context setter and getter use obsolete property from HttpRequestMessage #59833

@faresamr

Description

@faresamr

The extension methods to set and get Polly context of HttpRequestMessage for execution retry policy, both methods GetPolicyExecutionContext and SetPolicyExecutionContext are storing the context in HttpRequestMessage.Properties which is obsolete.

This should be changed to use Options instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-networkingIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions