Commit Graph

1455 Commits

Author SHA1 Message Date
Zach Borboa 3d9acedb66 Correct the post/redirect/get logic when using MultiCurl::addPost() 2021-11-20 22:17:32 -05:00
Zach Borboa 0c8eab3083 Fix empty request headers value 2021-11-20 15:43:36 -05:00
Zach Borboa cc4891ce55 Fix count() on null 2021-11-19 22:54:34 -05:00
Zach Borboa 2c73d6321e Fix #684: Add GET request with port specified 2021-10-03 18:32:45 -04:00
Zach Borboa 3bc40c0138 Fix typo 2021-09-23 21:28:18 -04:00
Zach Borboa b12fedd018 Merge pull request #683 from zachborboa/master
Add PHP Compatibility coding standards check
2021-09-21 16:23:17 -04:00
Zach Borboa 37655237ac Fix PHP CodeSniffer method name warnings
Warning message:
    Method name "Curl::__get_[...]" is discouraged; PHP has reserved all
    method names with a double underscore prefix for future use.
    (PHPCompatibility.FunctionNameRestrictions.ReservedFunctionNames.MethodDoubleUnderscore)
2021-09-21 15:58:39 -04:00
Zach Borboa bd85374938 Add PHPCompatibility ruleset to coding standards check 2021-09-21 15:28:48 -04:00
Zach Borboa a4d91d28ba Run check coding standard commands from the project root directory 2021-09-21 15:21:21 -04:00
Zach Borboa 5c0a351e41 Unify continuous integration and run scripts more closely 2021-09-21 10:42:56 -04:00
Zach Borboa 1c6d297478 Merge pull request #682 from zachborboa/master
Implement Curl::setStop() for stopping requests early
2021-09-15 07:22:41 -04:00
Zach Borboa a4f4223b98 Implement Curl::setStop() for stopping requests early
Use Curl::setStop() to stop requests early without downloading
the full response.
2021-09-15 05:49:25 -04:00
Zach Borboa 6146e764f6 Ensure Curl::rawResponse is a string 2021-09-15 03:11:11 -04:00
Zach Borboa 5b7a9593be Fix response length calculation when curl_exec() returns false on failure 2021-09-15 02:03:24 -04:00
Zach Borboa 108268bbf4 Display hint at content length determination 2021-09-14 10:31:49 -04:00
Zach Borboa 0db3c1b227 Fix #675: Use paths with leading slashes 2021-09-14 09:32:45 -04:00
Zach Borboa e6de01c8c3 Bump version: 9.3.1 → 9.4.0 9.4.0 2021-09-04 14:28:24 -04:00
Zach Borboa a8714527e6 Increase tolerance of request start time 2021-08-19 20:18:04 -04:00
Zach Borboa 06124e84ed Simplify updating readme methods 2021-08-07 19:50:52 -04:00
Zach Borboa b632753ff6 Merge pull request #680 from zachborboa/master
Fix #679: Parsing schemeless urls
2021-08-07 18:50:27 -04:00
Zach Borboa 8bc9d6dd71 Fix parsing paths with Cyrillic characters 2021-08-07 17:52:34 -04:00
Zach Borboa eadd466f66 Fix parsing schemeless url 2021-08-07 17:48:47 -04:00
Zach Borboa 25e9126f77 Make Url::parseUrl() and Url::percentEncodeChars() static functions. 2021-08-06 21:01:02 -04:00
Zach Borboa 45c09153fc Bump version: 9.3.0 → 9.3.1 9.3.1 2021-08-05 06:49:22 -04:00
Zach Borboa 620bf40691 Move ArrayUtil tests under ArrayUtilTest 2021-07-26 21:48:17 -04:00
Zach Borboa 712f3555bc Merge pull request #678 from zachborboa/master
Use strict types
2021-07-26 21:28:15 -04:00
Zach Borboa c51b175748 Increase amount of time drift allowed
(noisy neighbors?)
2021-07-26 20:44:33 -04:00
Zach Borboa cd825550b2 Fix Curl::downloadFileName not being correctly set 2021-07-26 20:17:14 -04:00
Zach Borboa 285b4f02e6 Update tests to more closely match one another 2021-07-26 10:29:24 -04:00
Zach Borboa 7af4a8d383 Fix some errors caused by using strict types 2021-07-26 10:08:44 -04:00
Zach Borboa bb1a190071 Use strict types 2021-07-26 00:48:18 -04:00
Zach Borboa 6ceabf7293 Clean up 2021-07-26 00:35:01 -04:00
Zach Borboa 4353baa2f2 Fix floor() returning float instead of integer 2021-07-26 00:14:52 -04:00
Zach Borboa 73dfde67e2 Modernize type casting 2021-07-25 23:53:32 -04:00
Zach Borboa 1ac43b2972 Use strict parameters 2021-07-25 23:49:30 -04:00
Zach Borboa 98a18bc086 Use strict comparison 2021-07-25 23:45:52 -04:00
Zach Borboa daa8bf2aea Use library method in example 2021-07-23 22:07:40 -04:00
Zach Borboa 52a92d71a2 Bump version: 9.2.0 → 9.3.0 9.3.0 2021-07-23 21:56:47 -04:00
Zach Borboa 23d80e48f5 Update changelog 2021-07-23 21:56:16 -04:00
Zach Borboa 038c015f2c Update diagnostic output wording 2021-07-21 10:47:18 -04:00
Zach Borboa 1226bb1a6c Implement option to capture output of Curl::diagnose() 2021-07-20 23:28:20 -04:00
Zach Borboa 7348de72f3 Clean up 2021-07-20 23:10:20 -04:00
Zach Borboa 18e76855c2 Fix assertion 2021-07-20 23:01:40 -04:00
Zach Borboa a9592df07a Add example showing Curl::diagnose() usage 2021-07-20 22:32:51 -04:00
Zach Borboa 3b51359268 Add additional request details in Curl::diagnose() 2021-07-20 22:22:15 -04:00
Zach Borboa b1faf1e4a0 Fix typos 2021-07-20 22:17:42 -04:00
Zach Borboa 2a899465c4 Add method to run basic request diagnostics 2021-07-18 21:56:03 -04:00
Zach Borboa 81e27c6d21 Suggest printing instance information when troubleshooting 2021-07-18 19:01:58 -04:00
Zach Borboa 8b73ad5b35 Update changelog 9.2.0 2021-06-23 10:50:09 -04:00
Zach Borboa c3b0559eb6 Bump version: 9.1.0 → 9.2.0 2021-06-23 10:40:19 -04:00