Skip to content

azcore: idempotent operations that return an io.ReadCloser should have reliable reading #19755

Open

Description

Right now we simply expose the io.ReadCloser from the HTTP response body. If reading transiently fails, there is no retry. We should wrap the response in a retriable reader if the operation is idempotent. We can still expose it as an io.ReadCloser.

This requires codegen changes and possible supporting machinery in azcore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Azure.CoreCodeGenIssues that relate to code generationfeature-requestThis issue requires a new behavior in the product in order be resolved.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions