Commit Graph

451 Commits

Author SHA1 Message Date
Zach Borboa c6ed55e98b Merge pull request #157 from zachborboa/master
Update MultiCurl::addDownload() example
2015-03-31 08:15:07 -07:00
Zach Borboa 63912a32be Update MultiCurl::addDownload() example 2015-03-31 08:14:19 -07:00
Zach Borboa 02e7c0e6d5 Update readme with composer note on maintainer status 3.4.3 2015-03-31 07:57:15 -07:00
Zach Borboa fadcbf1444 Merge pull request #155 from zachborboa/master
Add test for #154
2015-03-26 08:44:42 -07:00
Zach Borboa bf10280cdb Add test for #154 2015-03-26 08:22:09 -07:00
Zach Borboa 2f775636ba Merge pull request #154 from BuffaloDrew/BuffaloDrew-patch-1
Fix building incorrect data when using the default value arg separator
2015-03-26 08:16:14 -07:00
Drew Brigham 4e0fefac12 Adds parameters to http_build_query
Fixes the issue of sending &amp to servers. More information is at http://php.net/manual/en/function.http-build-query.php#102324
2015-03-26 07:54:22 -04:00
Zach Borboa 987c23fcce Simplify progress example 2015-03-04 03:01:18 +07:00
Zach Borboa de8b7598a9 Merge pull request #150 from zachborboa/master
Allow setting the base url for MultiCurl requests
2015-03-04 01:40:53 +07:00
Zach Borboa 2028a86dd4 Add tests for MultiCurl::setUrl() 2015-03-04 01:23:23 +07:00
Zach Borboa 5df2919247 Update available methods in readme 2015-03-03 22:26:33 +07:00
Zach Borboa cac457a562 Allow setting the base url for requests in the constructor (MultiCurl::__construct($base_url = null)) 2015-03-03 22:26:02 +07:00
Zach Borboa ef8aad4874 Merge pull request #149 from zachborboa/master
Add progress callback
2015-03-03 03:26:06 +07:00
Zach Borboa 6a0645e36f Bump minor version 2015-03-03 03:15:01 +07:00
Zach Borboa 874bc8c7b0 Add additional progress bar example 2015-03-03 03:12:04 +07:00
Zach Borboa 55214cddb5 Simplify progress example 2015-03-03 00:59:59 +07:00
Zach Borboa 2c2f9f5f46 Merge branch 'm0h3n-master'
* m0h3n-master:
  Add progress callback
2015-03-03 00:45:02 +07:00
mohsen abe5bee54b Add progress callback 2015-02-27 17:59:07 +03:30
Zach Borboa f9d06fb2ac Clean up parameter names 2015-02-25 02:05:09 +07:00
Zach Borboa 5a5ce14915 Clean up 2015-02-25 02:02:06 +07:00
Zach Borboa d12f12f39f Merge pull request #147 from zachborboa/master
Fix #146: Add ability to specify a callback for Curl::download() and MultiCurl::download()
2015-02-25 01:41:24 +07:00
Zach Borboa cfb0011627 Bump minor version (backwards-compatible API changes) 2015-02-25 01:26:41 +07:00
Zach Borboa 1e97ab474f Update readme function parameters 2015-02-25 01:25:38 +07:00
Zach Borboa 20ee312a10 Add ability to specify a callback for MultiCurl::download() 2015-02-25 01:24:38 +07:00
Zach Borboa ab6c11eb13 Allow calling call() with any number of arguments 2015-02-25 01:13:58 +07:00
Zach Borboa e28b41998c Call download callback only on success 2015-02-25 00:14:15 +07:00
Zach Borboa eb8b6dcc19 Add ability to specify a callback for Curl::download() 2015-02-24 12:56:17 +07:00
Zach Borboa 2e916fe04c Merge pull request #145 from zachborboa/master
Fix #82: Allow setting the base url for requests in the constructor
2015-02-22 23:27:36 +07:00
Zach Borboa f6c9162132 Bump minor version (backwards-compatible API changes) 2015-02-22 23:21:55 +07:00
Zach Borboa e5b0f627c2 Update function parameters in readme 2015-02-22 23:21:33 +07:00
Zach Borboa 2f7073743e Allow setting the base url for requests in the constructor (Curl::__construct($base_url = null)) 2015-02-22 23:17:32 +07:00
Zach Borboa c4facf5bb8 Merge pull request #144 from zachborboa/master
Allow setting the base url for requests
2015-02-22 18:39:59 +07:00
Zach Borboa d559a3d9c2 Bump minor version (backwards-compatible API changes) 2015-02-22 18:34:17 +07:00
Zach Borboa 3aca8d167c Allow setting the base url for requests.
Curl::setUrl() can now be used to specify the base url while passing only one
$data parameter to Curl::delete(), Curl::get(), Curl::head(), Curl::options(),
Curl::patch(), Curl::post(), and Curl::put().
2015-02-22 18:25:16 +07:00
Zach Borboa f9df529d07 Make before script executable 2015-02-22 13:47:32 +07:00
Zach Borboa 9c08e45c8b Rename syntax check script 2015-02-22 13:42:22 +07:00
Zach Borboa 623d10cdc6 Update available methods for Curl 2015-02-22 02:39:55 +07:00
Zach Borboa 2ef8c27813 Merge branch 'k00ni-patch-1'
* k00ni-patch-1:
  Update available methods for Curl
  Add http digest auth tests
  Combine http basic auth tests
  Remove redundant default/required option CURLOPT_RETURNTRANSFER
2015-02-22 02:32:56 +07:00
Zach Borboa ad7f7697e0 Update available methods for Curl 2015-02-22 02:32:39 +07:00
Zach Borboa ecd0831953 Add http digest auth tests 2015-02-22 02:30:35 +07:00
Zach Borboa 06b0cb62a0 Combine http basic auth tests 2015-02-22 01:18:42 +07:00
Zach Borboa 5b60fdaf1a Remove redundant default/required option CURLOPT_RETURNTRANSFER 2015-02-22 00:42:09 +07:00
Zach Borboa 8206b7aacf Merge branch 'k00ni-patch-1'
* k00ni-patch-1:
  Add setDigestAuthentication to Curl class
2015-02-22 00:40:55 +07:00
Zach Borboa 3d3c33e599 Merge branch 'patch-1' of git://github.com/k00ni/php-curl-class into k00ni-patch-1
* 'patch-1' of git://github.com/k00ni/php-curl-class:
  Add setDigestAuthentication to Curl class
2015-02-22 00:40:14 +07:00
Zach Borboa 5aff99acd2 Merge pull request #143 from zachborboa/master
Rename Curl::postfields() -> Curl::buildPostData()
2015-02-21 23:52:51 +07:00
Konrad Abicht b5de0139ea Add setDigestAuthentication to Curl class
Function setDigestAuthentication works mostly like setBasicAuthentication, except it set **CURLOPT_HTTPAUTH** to **CURLAUTH_DIGEST**. Furthermore it sets **CURLOPT_RETURNTRANSFER** to **true**.
2015-02-20 21:56:44 +01:00
Zach Borboa 2ba3584eaa Reorder class functions 2015-02-19 14:05:48 +07:00
Zach Borboa 3fb64b14de Rename Curl::postfields() -> Curl::buildPostData 2015-02-19 14:04:18 +07:00
Zach Borboa 96cda8a58b Merge pull request #141 from zachborboa/master
Enforce indentation consistency in php files
2015-02-17 01:40:21 +07:00
Zach Borboa 0dfb568734 Add workaround for hhvm to avoid "Notice: File could not be loaded: ..." 2015-02-17 01:34:31 +07:00