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.
Currently there are several possible implementations of a
content.Provider
, depending on the scheme used in the URL passed toFromURL
. 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.