CocoaPods / cocoapods-downloader

A small library that provides downloaders for various source types (HTTP/SVN/Git/Mercurial)
MIT License
84 stars 72 forks source link

proxy support #60

Closed danielribeiro closed 4 years ago

danielribeiro commented 8 years ago

Hi,

Is there any plan to add a proxy support? This way artifacts can be served from internal http proxies transparently.

Alternatively: if I make a PR adding such support, what are your thoughts on adding such functionality?

Cheers,

segiddins commented 8 years ago

All HTTP downloading is done via curl (https://github.com/CocoaPods/cocoapods-downloader/blob/master/lib/cocoapods-downloader/http.rb#L93) so it'll use whatever curl does to proxy