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
Julian Esperat
b3d25c8b3c
Allow adding Multicurl handles again after start()
2015-08-19 10:55:58 +02:00
Ich
7b4d4da45b
implementing get cookie functionality
2015-08-18 14:03:56 +02:00
Zach Borboa
6fe72d9de4
Bump patch version
2015-08-11 20:50:25 -07:00
Zach Borboa
290c178516
Fix typo
2015-08-11 17:08:40 -07:00
Vladimir Chernyshev
8e5de8c2fd
Update MultiCurl.php
...
Add setDigestAuthentication
2015-08-11 13:25:36 +03:00
Zach Borboa
b4278f668f
Bump major version
2015-07-31 00:08:45 -07:00
Zach Borboa
8d701b0648
Fix #191 : Use $camelCase for properties (class member variables)
2015-07-30 23:54:03 -07:00
Zach Borboa
f26db010d5
Bump patch version for new release
2015-07-28 17:48:33 -07:00
Zach Borboa
d170b11672
Bump patch version
2015-06-25 14:44:11 -07:00
Valeriy Tropin
f71b60e873
Add data processing using the Curl::buildPostData() in the Curl::patch()
2015-06-19 10:53:13 +03:00
Zach Borboa
f33a8c1559
Fix #197 : Add method setConnectTimeout()
2015-06-03 17:07:21 -07:00
Zach Borboa
5231bf49d6
Merge pull request #194 from SwelenFrance/master
...
Add method setPort()
2015-05-07 13:48:31 -07:00
Zach Borboa
b7f1ebbea3
Add docblock @throws
2015-05-07 02:40:21 -07:00
tixlegeek
59078634b7
Correction
2015-05-06 18:15:56 +02:00
tixlegeek
fa68cb658b
Add port setter.
2015-05-06 15:58:24 +02:00
Zach Borboa
e3b405ed5d
Add support for detecting additional JSON content-types
2015-04-30 08:19:38 -07:00
Zach Borboa
a79e64b2ca
Fix #174 : Correctly set cookie value when using http_build_query().
...
http_build_query() url encodes the cookie data array. Use urldecode() to undo
the URL-encoding and allow characters including the colon (":").
2015-04-29 12:38:07 -07:00
Zach Borboa
7088b4034a
Fix #183 : Fix "Function name must be callable" warning
2015-04-26 03:33:13 -07:00
Zach Borboa
234d2bc5ae
Add docblocks
2015-04-24 01:43:07 -07:00
Zach Borboa
91b94627d1
Fix #178 : Remove circular reference during cleanup
2015-04-22 23:42:35 -07:00
Zach Borboa
c2558f5dd4
Fix memory leak
2015-04-22 03:53:35 -07:00
Zach Borboa
009f05cb31
Bump minor version
2015-04-22 01:26:46 -07:00
Zach Borboa
70be5e4eb3
Fix #171 : Allow sending body data in delete()
2015-04-22 01:18:48 -07:00
Zach Borboa
7f903ce06b
Update parameter names for delete()
2015-04-22 00:13:15 -07:00
Zach Borboa
bad2dac813
Bump patch version
2015-04-09 10:33:13 -07:00
Zach Borboa
2a103613a6
Clean up
2015-04-09 10:32:55 -07:00