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

Don't force usage of a ~/.netrc file when remote server requires authentication #55

Closed sguillope closed 8 years ago

sguillope commented 8 years ago

54 added the option --netrc to the curl call in the HTTP module.

However when downloading using the HTTP module, curl should use --netrc-optional instead of the more restrictive --netrc option. This allows users to choose to specify the authentication credentials through the url instead of having to set them up in a ~/.netrc file

See CocoaPods/CocoaPods#5318

mackoj commented 8 years ago

Thanks for the fix.

I have the same issue. Please @segiddins consider tag a new version of Cocoapods with it.

Thanks,