Commit Graph

209 Commits

Author SHA1 Message Date
Zach Borboa fe6c0c55cb Clean up 2016-07-24 00:56:21 -07:00
Zach Borboa 6bae7d020c Call json_decode() without $options parameter in PHP versions less than 5.4.0 2016-07-23 14:16:06 -07:00
Zach Borboa 8285b9ff21 Fix #357: Allow passing json_decode() parameters to Curl::setDefaultJsonDecoder 2016-07-23 01:26:57 -07:00
Zach Borboa 6085204f2f Simplify Curl::setCookieString 2016-07-17 14:41:50 -07:00
Zach Borboa 93cee4b8e2 Merge branch 'master' of git://github.com/mydansun/php-curl-class into mydansun-master
* 'master' of git://github.com/mydansun/php-curl-class:
  Update Curl.php
  Update Curl.php
  Add setCookieString method on Curl.php
2016-07-17 13:55:58 -07:00
Zach Borboa 1437f32492 Bump minor version 2016-07-16 14:29:08 -07:00
Zach Borboa e3f159079e Merge branch 'master' of github.com-zachborboa:zachborboa/php-curl-class
* 'master' of github.com-zachborboa:zachborboa/php-curl-class:
  Add defaultDecoder for parseResponse
  Add defaultDecoder for parseResponse
2016-07-11 01:09:21 -07:00
Zach Borboa 1028030d8f Add Curl::getInfo() 2016-07-11 01:07:35 -07:00
Zach Borboa 978f149d56 Make Curl::effectiveUrl a deferred property 2016-07-11 00:49:15 -07:00
Zach Borboa 0805ecf044 Merge branch 'master' into master 2016-07-11 00:21:35 -07:00
Zach Borboa b24b575e58 Make Curl::totalTime a deferred property 2016-07-11 00:17:11 -07:00
Zach Borboa cccef7707b Merge branch 'master' of git://github.com/zuoRambo/php-curl-class into zuoRambo-master
* 'master' of git://github.com/zuoRambo/php-curl-class:
  Add defaultDecoder for parseResponse
  Add defaultDecoder for parseResponse
2016-07-10 22:49:23 -07:00
Zach Borboa 25d9304672 Add output parameter to MultiCurl::verbose 2016-07-04 11:34:52 -07:00
Zach Borboa 74f9d0fa37 Update parameter names to match for Curl::post() and MultiCurl::addPost() 2016-07-04 11:11:54 -07:00
Zach Borboa 9ded19d9ad Update return doc 2016-07-04 02:47:43 -07:00
Zach Borboa d1e2f71a5a Fix indentation 2016-07-04 02:12:06 -07:00
Zach Borboa bfebb82adb Clarify documented return values; Remove parseResponse() unnecessarily returning array 2016-07-04 01:53:35 -07:00
Rambone b38bb9eff2 Merge branch 'master' into master 2016-06-21 21:30:09 -05:00
Oxicode 2fa41a2521 Update Curl.php 2016-06-01 18:24:08 -05:00
Oxicode 9006dbf3a0 Update Curl.php 2016-06-01 18:22:34 -05:00
Rambo ca6e9ba812 Add defaultDecoder for parseResponse 2016-05-19 19:42:01 +08:00
Rambo 1cf7bc169a Add defaultDecoder for parseResponse 2016-05-19 19:14:18 +08:00
Chengke Sun 2e4a868a39 Update Curl.php 2016-05-11 21:20:31 +08:00
Chengke Sun 46a7694b79 Update Curl.php
More rigorous comparison
2016-05-11 20:41:46 +08:00
Chengke Sun 1fbf55d15f Add setCookieString method on Curl.php
Add setCookieString method to parse the string cookies and call setCookie method.
2016-05-11 14:12:10 +08:00
David Gvritishvili 262db1e6dd Fix docblock 2016-04-14 15:50:19 +04:00
Zach Borboa e618fbd8a9 Bump minor version 2016-03-08 07:38:13 -08:00
Cyrille Faucheux dc6001688f Support post-redirect-get requests 2016-03-05 13:45:25 +01:00
Zach Borboa 6214b87670 Add test for Curl::getResponseCookies() 2016-02-05 02:52:22 -08:00
Zach Borboa 561bf6e32f Add Curl::getResponseCookies() 2016-02-05 02:51:54 -08:00
Zach Borboa ebca4c2c19 Add MultiCurl::setXmlDecoder 2016-01-31 10:53:32 -08:00
Zach Borboa 31c7644440 Bump minor version 2016-01-31 04:20:37 -08:00
Zach Borboa 8cf2631c54 Fix #295: Allow setting a custom XML decoder 2016-01-31 04:20:26 -08:00
Zach Borboa 9db42baf64 Bump minor version 2016-01-24 18:11:09 -08:00
Zach Borboa 04d8aab26e Merge branch 'master' into 170 2016-01-23 12:09:12 -08:00
Zach Borboa ebf406c14a Fix #170: Allow setting MultiCurl callbacks after requests are added 2016-01-23 12:08:33 -08:00
Zach Borboa 4f62b45d5b Add Curl::effectiveUrl 2016-01-18 20:39:52 -08:00
Zach Borboa bac953726c Fix "Fatal error: Arrays are not allowed in class constants" only allowed in PHP 5.6+ 2016-01-16 16:22:50 -08:00
Zach Borboa 1ecdd55983 Replace abstract class CurlCookieConst and array_key_exists() with isset() 2016-01-16 15:36:52 -08:00
Zach Borboa 9372c4af3b Fix PUT with empty POST data returning inode/x-empty instead of image/png 2016-01-16 02:29:07 -08:00
Zach Borboa 4f485e45ac Update PHPDoc comments 2015-12-07 22:40:51 -08:00
Zach Borboa da672822d0 Replace NULL with null 2015-11-10 22:32:05 -08:00
Zach Borboa 42ecf9c076 Clean up #264 2015-11-10 07:35:25 -08:00
Michael Mulligan 425daed8d0 Use isset() for performance. Same difference. 2015-11-04 15:14:36 -05:00
Michael Mulligan 5d978bb6e5 CaseInsensitiveArray rewrite for performance.
Storeing the Case-Insensitive/Sensitive Keys separately increases performance.  Also, fix for unset and valid, as well as the ability to initialize with a pre-existing Array.
2015-11-01 16:39:16 -05:00
Zach Borboa 91f937bb9e Bump patch version 2015-10-31 11:25:18 -07:00
Maxim Epishchev dec0e52e8a Brilliant copy-paste issue: class constants instead of method calls for RFC2616 and RFC6265 2015-10-30 17:42:56 +03:00
Maxim Epishchev d30a6255e6 Refactoring Curl::setCookie() by using static RFC symbols arrays from abstract class CurlCookieConst 2015-10-30 16:15:13 +03:00
Zach Borboa f148d0a2ca Set cookie name and value pursuant to rfc2616 and rfc6265 2015-10-28 01:17:52 -07:00
Zach Borboa 60594d5331 Fix #258: Allow sending request data with non-file values prefixed with the @ character 2015-10-27 23:04:32 -07:00