Commit Graph

189 Commits

Author SHA1 Message Date
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
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
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
Zach Borboa 4e7f1d7ba8 Fix PHP 5.3 "Fatal error: Using $this when not in object context" 2015-10-27 22:00:05 -07:00
Zach Borboa f0bc858897 Fix #257: Preserve space in cookie delimiter 2015-10-27 21:29:38 -07:00
Maxim Epishchev 443aa73851 Cookie: preserve encode space to '%20' in delimiter, when multiple cookies available 2015-10-27 11:36:47 +03:00
Zach Borboa d69cded020 Fix #254: CaseInsensitiveArray not found. 2015-10-20 21:54:53 -07:00
Zach Borboa 99ef5d5905 Bump minor version 2015-10-15 09:57:47 -07:00
Zach Borboa 7430a2a954 Fix #250: Allow specifying a buffer when using Curl::verbose() 2015-10-14 17:49:48 -07:00
Zach Borboa fae59ddd24 Turn off CURLINFO_HEADER_OUT when enabling verbose 2015-10-14 17:26:32 -07:00
Zach Borboa e70228cff9 Fix #248: Close MultiCurl resource only when still open 2015-09-18 01:14:51 -07:00
Zach Borboa 2e10ae416e Fix #240: Make CURLINFO_HEADER_OUT optional.
CURLINFO_HEADER_OUT is true by default, but now optional. When
CURLINFO_HEADER_OUT is not true, requestHeaders will be null.
2015-09-04 09:09:07 -07:00
Zach Borboa 1eb4967d84 Remove unneeded array_map() and array_keys() 2015-09-03 16:15:19 -07:00
Zach Borboa bf861695f8 Clean up 2015-08-21 15:50:06 -07:00
Zach Borboa ae15ff9ab1 Bump patch version 2015-08-21 15:48:09 -07:00
Zach Borboa 9dbfd50646 Add alias Curl::getCookie(); Update available methods in readme 2015-08-21 15:46:18 -07:00
Zach Borboa b3aa20609e Merge pull request #236 from fealXX/master
Added the ability to get cookie values (after a request).
2015-08-21 15:37:13 -07:00
Ich 740fa5b757 corrected cookiereset + added check if key is set 2015-08-20 14:43:04 +02:00
Ich 0c070b2515 renamed getCookie to getResponseCookie
Making clear that you get the Cookies of the response, not the ones you
set initially.
2015-08-20 14:29:47 +02:00
Pete Watts 9d03d46290 Fix #234 Fixed PATCH request method to correctly support sending body data. 2015-08-20 12:46:32 +01:00
Zach Borboa 2465bf4c17 Fix invalid request when Content-Length is unset.
"Invalid request (Malformed HTTP request)" and "Empty reply from server" is
returned when attempting to unset the Content-Length header by sending a
"Content-Length: " header.
2015-08-19 23:26:21 -07:00
Zach Borboa 7c023e197c Merge branch 'master' of https://github.com/ValerioOnGithub/php-curl-class into ValerioOnGithub-master
* 'master' of https://github.com/ValerioOnGithub/php-curl-class:
  Add data processing using the Curl::buildPostData() in the Curl::patch()
2015-08-19 23:19:34 -07:00
Zach Borboa 2df98d1708 Add test for adding Multicurl handles after calling start() 2015-08-19 08:47:50 -07:00