aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/utils/curl.rb
AgeCommit message (Collapse)Author
2018-01-11curl: handle more non-executable curl edge-cases.Mike McQuaid
Address some additional issues mentioned in #3624.
2017-12-12Do not specify absolute paths to utilitiesShaun Jackman
Specifying an absolute path to utilities is no longer needed, since environment filtering uses a default PATH.
2017-12-03Refactor: Move FormulaAudit.check_http_content to utils/curlMartin Schimandl
2017-11-27More environment filtering fixesMike McQuaid
- Make `brew pull` pass through Git environment variables - Whitelist all `TRAVIS_` variables.
2017-11-13environment filtering: pass through TRAVIS vars.Mike McQuaid
We use these internally so let's map them to `HOMEBREW_` variables.
2017-11-05curl: unset SSL_CERT_FILE.Mike McQuaid
2017-09-10Let `curl_download` handle HTTP 416 error.Markus Reiter
2017-08-21Fix `pull`.Markus Reiter
2017-08-11Don’t pass `--fail` for `curl_output`.Markus Reiter
2017-08-10`curl_download`: Retry once on error `33`.Markus Reiter
2017-08-08Allow `curl` args to be overriden.Markus Reiter
2017-08-08Simplify CurlDownloadStrategy.Markus Reiter
2017-08-07Revert "Refactor SVN and cURL download strategies."ilovezfs
2017-08-07Simplify CurlDownloadStrategy.Markus Reiter
2017-01-07Allow `brew audit` to fake a Safari user-agent.Mike McQuaid
This allows us to detect if homepages such as e.g. `aiccu` which blocks `curl` are up or not.
2016-12-29curl: make curl_args more configurable.Mike McQuaid
Allow configuring whether output should be shown or the default the default user agent is used.
2016-09-11utils/curl: fix Rubocop warnings.Mike McQuaid
2016-08-17utils/curl: assume Ruby 2.Mike McQuaid
2016-07-12github: produce better curl error messages. (#441)Mike McQuaid
* global: add RUBY_TWO global variable. * test-bot: use RUBY_TWO global variable. * github: produce better curl error messages. If we don't know why curl has failed then ensure that the error messages that it produced are included as part of the user output.
2016-06-03Use `curl` for the GitHub API (#295)Mike McQuaid
* Move GitHub API module to utils/github.rb. * Move curl method to utils/curl.rb. * global: use long curl arguments and an array. This makes the code more self-documenting. * utils/curl: support reading curl's output. * utils/github: use curl instead of open-uri. It has far better proxy support. * pull: set Homebrew user agent. * gist-logs: remove trailing whitespace. * gist-logs: use first instead of [0]. Easier to read. * gist-logs: use curl-based GitHub.open method.