Skip to content

Support changing max_retries #30

Open
@fschwahn

Description

@fschwahn

net/http (and by extension open-uri) by default retries GET requests one time (max_retries = 1). It would be great if this setting could be altered through open-uri. It is already possible to change timeouts, and if it would be possible to disable retries I could ensure that the request either suceeds or fails in a predictable timeframe.

Maybe a more general option would make sense which could allow us to pass any option through to Net::Http?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions