embiggen icon indicating copy to clipboard operation
embiggen copied to clipboard

Allow other HTTP clients to be used

Open mudge opened this issue 9 years ago • 2 comments

Embiggen currently uses Ruby's standard Net::HTTP library to perform HTTP requests but this is not open for extension (e.g. to configure proxies or swap out entirely). It might be better to provide an adapter interface for other HTTP client libraries.

mudge avatar May 27 '15 20:05 mudge

I guess this, if implemented, would expose the ability to change the User-Agent used by embiggen, right?

dentarg avatar Jan 05 '16 10:01 dentarg

Yes: if we allowed users to access (and even provide) the HTTP client itself, then they could configure it however they wish (e.g. proxy settings).

mudge avatar Jan 05 '16 10:01 mudge