Skip to content

Conversation

@gstarikov
Copy link
Contributor

@gstarikov gstarikov commented Aug 8, 2024

Hello. I propose to replace the explicit use of http.Client with an indirect one through the interface (HTTPClient with Do method). This, as example, will allow anybody to implement custom retry logic without having to deal with http.RoundTripper restrictions.

@asanikovich
Copy link

@ybbus Please check

Copy link
Owner

@ybbus ybbus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@ybbus ybbus merged commit 15656ac into ybbus:master Feb 2, 2025
1 check passed
@boogie-byte
Copy link

@ybbus thanks for merging it. Any plans to tag a new release with this feature anytyme soon?

@ybbus
Copy link
Owner

ybbus commented Feb 3, 2025

I was going to do that until I got distracted. :)

So: yes :)

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants