Zach Borboa
eff61cb57d
Add coding standard test script
2014-01-10 23:45:17 -08:00
Zach Borboa
3667ac11a9
Remove underscore prefix from protected method name Curl::exec
2014-01-10 23:35:41 -08:00
Zach Borboa
dfcc9dfbe6
Remove screaming caps notation
2014-01-10 23:24:18 -08:00
Zach Borboa
e5e9779132
Move http_build_multi_query outside class
2014-01-10 23:07:31 -08:00
Zach Borboa
1028456f17
Prefix private method name http_build_multi_query with an underscore
2014-01-10 22:56:22 -08:00
Zach Borboa
6b07165ceb
Fix test
2014-01-10 22:42:46 -08:00
zachborboa
3733b5c864
Merge pull request #15 from rockerBOO/composer2
...
Composer support
2014-01-10 22:35:29 -08:00
rockerBOO
0abe3f7599
Merge remote-tracking branch 'main/master' into composer2
2014-01-04 23:56:42 +00:00
rockerBOO
f3ac178923
Curl using composer
2014-01-04 18:39:30 -05:00
Zach Borboa
f2e515d2ea
Ensure ErrorExceptions are called from the global namespace
2014-01-02 22:21:13 -08:00
zachborboa
ca69ece464
Add parallel requests and callback example to README
2013-12-28 23:44:03 -08:00
Zach Borboa
cdeb589a4c
Add GET test handler for unit tests
2013-12-28 23:36:39 -08:00
Zach Borboa
3778f070cb
Ensure options set are used when make requests in parallel
2013-12-28 23:22:36 -08:00
Zach Borboa
84201bcaaa
Ensure success, error, and complete callbacks are called correctly
2013-12-28 22:43:47 -08:00
Zach Borboa
f787844f06
Add parallel success callback test
2013-12-28 22:04:52 -08:00
Zach Borboa
ce8754be13
Add error callback and complete callback unit tests
2013-12-28 20:56:39 -08:00
Zach Borboa
5cb1492975
Implement success, error, and complete callbacks
2013-12-28 20:48:32 -08:00
Zach Borboa
344d1d2388
Add support for parallel GET requests
2013-12-28 20:19:33 -08:00
Zach Borboa
51423754bd
Add support for parallel GET requests
2013-12-28 12:19:15 -08:00
Zach Borboa
62b6b28e9c
Clean up
2013-12-28 10:22:54 -08:00
Zach Borboa
1bd59855d6
Fix missing nested POST data values and add tests
2013-12-28 08:04:15 -08:00
Zach Borboa
92dc6b28a0
Fix #13 : Remove pass by reference usage; Add "Array to string conversion" test
2013-12-28 00:00:57 -08:00
Zach Borboa
a4a0a6de59
Add POST Content-Type tests
2013-12-27 23:54:05 -08:00
Zach Borboa
584ecf904d
Add test for nested arrays in data ( #8 )
2013-12-19 08:03:26 -08:00
Zach Borboa
5acdd246be
Clean up
2013-12-18 20:53:15 -08:00
php-curl-class
5ffbd2581a
Merge pull request #9 from DaniSancas/master
...
Fixes issue #8 "Nested arrays in data array are encoded at the same level as it's father array"
2013-12-18 20:50:38 -08:00
Zach Borboa
e528288731
Fix #11 : Use protected instead of private for _exec()
2013-12-18 20:19:37 -08:00
Zach Borboa
684c9d9071
Fix #10 : Remove trailing ? from request urls
2013-12-13 22:54:09 -08:00
Zach Borboa
54bb4a943b
Add test to ensure request url contains "?" only when explicitly specified in the url
2013-12-13 22:42:54 -08:00
Zach Borboa
76f6b3400a
Fix PUT request method data values sending as GET
2013-12-13 22:33:38 -08:00
Zach Borboa
90734b8ac3
Use request header to specify test being run
2013-12-13 22:26:06 -08:00
Zach Borboa
791efb40e1
Use default empty data values when testing
2013-12-13 21:07:57 -08:00
Zach Borboa
efbc9d2df7
Return error code when calling get, post, put, patch, and delete methods
2013-12-13 20:31:04 -08:00
Zach Borboa
8d202377e3
Declare method visibility
2013-12-13 20:25:33 -08:00
Zach Borboa
ef033e1d4c
Clean up coding style
2013-12-13 20:00:43 -08:00
Dani Sanchez
489df24d77
Fixes issue #8 "Nested arrays in data array are encoded at the same level as it's father array"
...
Makes the http_build_multi_query method to persist nested array indexes inside the data array
Signed-off-by: Dani Sancas <dani@sancas.es >
2013-12-13 07:31:02 +01:00
Dani Sancas
74b123f4b7
Merge pull request #2 from php-curl-class/master
...
Fix numeric data values not being correctly encoded
2013-12-12 22:11:48 -08:00
Zach Borboa
a88cd8a404
Fix numeric data values not being correctly encoded
2013-12-12 21:27:07 -08:00
php-curl-class
55506c4411
Merge pull request #7 from DaniSancas/master
...
Fixes issue #6 "Integer params inside data array aren't taken in account"
2013-12-12 21:17:11 -08:00
Dani Sanchez
7deb2e0aa2
Fixes issue #6 "Integer params inside data array aren't taken in account"
...
Makes the http_build_multi_query method to be also able to add integers inside the data array
Signed-off-by: Dani Sancas <dani@sancas.es >
2013-12-12 08:38:02 +01:00
Dani Sanchez
67bcd262dd
Merge branch 'master' of https://github.com/php-curl-class/php-curl-class into php-curl-class-master
...
Conflicts:
Curl.class.php
2013-12-12 08:34:58 +01:00
Dani Sanchez
202cd4e785
Fixes issue #6 "Integer params inside data array aren't taken in account"
...
Makes the http_build_multi_query method to be also able to add integers inside the data array
Signed-off-by: Dani Sancas <dani@sancas.es >
2013-12-12 08:06:14 +01:00
Zach Borboa
5ead0ee6dc
Fix #4 : Arrays inside the data array loses its indexes
2013-12-11 22:05:54 -08:00
Zach Borboa
db0ddc4b36
Add is_array_assoc() and array indexed and associative tests
2013-12-11 21:18:57 -08:00
Dani Sanchez
f705db4817
Fixes issue #4 "Arrays inside the data array loses its indexes"
...
Prevents the nested arrays inside the data array to lose its indexes.
Signed-off-by: Dani Sancas <dani@sancas.es >
2013-12-05 11:50:33 +01:00
zachborboa
7b8fd042d0
Merge pull request #2 from user52/patch-2
...
Add is_array_multidim()
2013-09-08 01:32:46 -07:00
user52
f212927abd
Add is_array_multidim()
2013-09-08 00:53:47 -07:00
php-curl-class
756fec23c0
Merge pull request #1 from user52/patch-1
...
Fix "Notice: Array to string conversion"
2013-08-28 11:59:54 -07:00
user52
9769e18dd8
Fix "Notice: Array to string conversion"
...
Fix "Notice: Array to string conversion" when $value in curl_setopt($ch, CURLOPT_POSTFIELDS, $value) is an array that contains an empty array. Example that causes Notice:
$data = array(
'foo' => 'bar',
'baz' => array(
),
);
2013-08-28 08:47:37 -07:00
php-curl-class
29e39ced39
Percent-encode + to %20
2013-08-25 21:13:30 -07:00