Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change httpProvider.Get to let the caller define a timeout #130

Open
robertodauria opened this issue Apr 14, 2021 · 0 comments
Open

Change httpProvider.Get to let the caller define a timeout #130

robertodauria opened this issue Apr 14, 2021 · 0 comments

Comments

@robertodauria
Copy link
Contributor

Currently there are several possible implementations of a content.Provider, depending on the scheme used in the URL passed to FromURL. These implementations differ in how they use the passed-in context.

httpProvider.Get(ctx) should use the passed-in context to allow the caller to define a timeout, rather than adding its own (unconfigurable) one.

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

No branches or pull requests

2 participants