Commit Graph

360 Commits

Author SHA1 Message Date
Zach Borboa 33d5c8b463 Bump patch version 2015-02-08 23:14:29 +07:00
Zach Borboa bbdba6d907 Fix #86: Add default timeout of 30 seconds 2015-02-08 23:13:25 +07:00
Zach Borboa dc4e45fd12 Bump patch version 2015-01-26 23:30:12 -08:00
Zach Borboa a6ba4cfd75 Merge pull request #130 from zachborboa/master
Fix callbacks for curl multi requests; Add beforeSend() tests
2015-01-26 23:27:59 -08:00
Zach Borboa ac7adb503c Fix callbacks for curl multi requests; Add beforeSend() tests 2015-01-26 23:23:21 -08:00
Zach Borboa f1afdc7dfd Clean up 2015-01-26 07:24:40 -08:00
Zach Borboa 356c2c31ed Clean up 2015-01-24 16:39:25 -08:00
Zach Borboa fe95c24cf8 Add available methods to readme 2015-01-24 16:30:30 -08:00
Zach Borboa 27373e73de Merge pull request #128 from zachborboa/master
Fix #126: Add configurable json decoder
2015-01-24 10:34:57 -08:00
Zach Borboa 85cd7e4d90 Add configurable json decoder 2015-01-24 10:26:44 -08:00
Zach Borboa 9adaf86205 Merge pull request #125 from zborboa-google/patch-7
Update composer.json
2015-01-24 09:04:01 -08:00
zborboa-google 74c9cc8d68 Update composer.json 2015-01-23 15:51:22 -08:00
Zach Borboa 09a649493d Merge pull request #122 from zachborboa/master
Add bump major, minor, and patch version scripts for semantic versioning
2015-01-17 03:08:17 -08:00
Zach Borboa c2be7a781e Add bump major, minor, and patch version scripts for semantic versioning 2015-01-17 03:07:16 -08:00
Zach Borboa 4fab0f3006 Merge pull request #121 from zachborboa/master
json-encode request when request header Content-Type is application/json and data is a multidimensional array
2015-01-17 02:54:51 -08:00
Zach Borboa 1243678883 Bump version 2015-01-17 02:52:17 -08:00
Zach Borboa 891a66c327 Fix #120: json-encode request when request header Content-Type is application/json and data is a multidimensional array 2015-01-17 02:00:25 -08:00
Zach Borboa ec8b7825aa Refactor json request test to add additional tests 2015-01-17 01:45:52 -08:00
Zach Borboa f6b626d83d Bump version 2015-01-14 22:44:23 -08:00
Zach Borboa 9aebeb80b3 Merge pull request #117 from mangeld/patch-1
Fixed cpu draining with parallel requests
2.1.2
2015-01-08 13:40:22 -08:00
Miguel Ángel Durán González 224eab6eab Fixed cpu draining with parallel requests
Why not add that call so it stops the loop if curl is not ready? That way the loop won't take all the available cpu.
2015-01-08 21:57:41 +01:00
Zach Borboa 3d03d25d5a Merge pull request #116 from zachborboa/master
Add line ending and indentation character consistency checks
2015-01-01 16:27:36 -08:00
Zach Borboa c1cf3b3f08 Enforce line ending consistency in php files 2015-01-01 16:19:12 -08:00
Zach Borboa b24f0e06f8 Merge pull request #115 from zachborboa/master
Run unit tests before checking trailing whitespace in php files
2014-12-31 14:28:17 -08:00
Zach Borboa 69c1741597 Prohibit tab characters in php files 2014-12-31 14:27:10 -08:00
Zach Borboa f8b851dec6 Run unit tests before checking trailing whitespace in php files 2014-12-31 14:01:51 -08:00
Zach Borboa 7ca96aadcc Merge pull request #114 from zachborboa/master
Clean up unit tests
2014-12-31 02:01:12 -08:00
Zach Borboa 965f32cd80 Clean up unit tests 2014-12-31 01:58:40 -08:00
Zach Borboa 0dbe550f4b Merge pull request #113 from zachborboa/master
Add json encoding when request header Content-Type is set to application/json
2014-12-31 01:19:17 -08:00
Zach Borboa 80adf0f3a1 Add json encoding when request header Content-Type is set to application/json 2014-12-31 01:14:18 -08:00
Zach Borboa 94bcef7c74 Merge pull request #112 from zachborboa/master
Use CaseInsensitiveArray for request headers
2014-12-31 00:25:17 -08:00
Zach Borboa 5d7d25ac15 Use CaseInsensitiveArray when setting headers 2014-12-31 00:19:11 -08:00
Zach Borboa 44469ecfe3 Use key/value when setting header 2014-12-30 23:25:01 -08:00
Zach Borboa cc66aefc26 Merge pull request #111 from zachborboa/master
Fix #110: "Warning: curl_setopt(): cannot represent a stream of type MEMORY as a STDIO FILE*"
2014-12-30 22:26:43 -08:00
Zach Borboa 4cb1436983 Fix "Warning: curl_setopt(): cannot represent a stream of type MEMORY as a STDIO FILE*" 2014-12-30 17:04:10 -08:00
Zach Borboa 5ac7f6f717 Merge pull request #109 from whit537/patch-1
Update Gratipay example
2014-12-24 00:52:45 -05:00
Chad Whitacre 1a0e9c1f4b catch up with rename
Filename and envvars were updated, but platform and URL weren't.
2014-12-23 14:52:49 -05:00
Zach Borboa 4bb926c831 Bump version 2.1.1 2014-12-18 10:22:32 -08:00
Zach Borboa 7ff8cc3507 Merge pull request #103 from zachborboa/master
Update README with download() and setUserAgent() examples
2014-12-11 22:43:13 -08:00
Zach Borboa 11e0cb48aa Update README with download() and setUserAgent() examples 2014-12-11 22:42:16 -08:00
Zach Borboa f960ff1cd7 Merge pull request #102 from zachborboa/master
Add download example to README
2014-12-11 22:35:35 -08:00
Zach Borboa df49e9950c Add download example to README 2014-12-11 22:30:29 -08:00
Zach Borboa f72733eb69 Clean up 2014-12-11 22:14:04 -08:00
Zach Borboa 99f39d1934 Merge pull request #101 from zachborboa/master
Fix #98: Implement download() method
2014-12-11 22:00:54 -08:00
Zach Borboa 2fb88ffde0 Fix "Operation not permitted" (PHP 5.3) and "Permission denied" (HHVM) errors 2014-12-11 21:50:25 -08:00
Zach Borboa 001cfd646b Add CURLOPT_RETURNTRANSFER reset when using download method; Fix download method test failing on PHP 5.3 due to different png files being created on the server and client when using imagepng(). 2014-12-11 21:02:19 -08:00
Zach Borboa 63f47648b0 Fix #98: Implement download() method 2014-12-11 10:20:41 -08:00
Zach Borboa 7c2245fdab Merge pull request #100 from zachborboa/master
Remove alternate expected response for hhvm; Remove hhvm from allowed failures
2014-12-10 23:16:19 -08:00
Zach Borboa ffaeafe12c Remove alternate expected response for hhvm; Remove hhvm from allow_failures 2014-12-10 22:41:25 -08:00
Zach Borboa bfef4a7936 Merge pull request #99 from zachborboa/master
Write response headers to a stream resource and make CURLOPT_HEADER optional
2014-12-10 22:36:49 -08:00