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
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
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
ironpilot
4f776a5af4
Removed unused variables.
2015-04-09 09:54:18 -06:00
Zach Borboa
4f5fa06d99
Bump patch version
2015-04-01 10:56:33 -07:00
Zach Borboa
502b6aa432
Fix "Warning: curl_setopt(): supplied argument is not a valid File-Handle resource"
2015-04-01 10:54:56 -07:00
Zach Borboa
34d2b95d01
Move download complete to unified method
2015-04-01 10:38:37 -07:00
Drew Brigham
4e0fefac12
Adds parameters to http_build_query
...
Fixes the issue of sending & 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
6a0645e36f
Bump minor version
2015-03-03 03:15:01 +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
cfb0011627
Bump minor version (backwards-compatible API changes)
2015-02-25 01:26:41 +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
f6c9162132
Bump minor version (backwards-compatible API changes)
2015-02-22 23:21:55 +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
d559a3d9c2
Bump minor version (backwards-compatible API changes)
2015-02-22 18:34:17 +07:00