Commit Graph

1026 Commits

Author SHA1 Message Date
Zach Borboa afce677cb0 Clean up 2018-01-27 04:40:38 -08:00
Zach Borboa b6ad72fee4 Merge pull request #494 from zachborboa/master
Fix #493: Build POST data correctly when headers have been set
2018-01-26 01:16:34 -08:00
Zach Borboa 40f7026185 Fix #493: Build POST data correctly when headers have been set.
Call MultiCurl::queueHandle sooner so that headers are correctly set when Curl::buildPostData is called and builds POST data differently depending on the request content-type.
2018-01-26 00:58:37 -08:00
Zach Borboa 44c1539ba6 Fix decoders set on individual instances ignored 2018-01-25 22:49:57 -08:00
Zach Borboa 21729d22a9 Use Curl::setCookies in favor Curl::setCookie in loop 2018-01-25 21:20:11 -08:00
Zach Borboa 50927dd294 Rename callbacks 2018-01-25 20:29:55 -08:00
Zach Borboa aa74a1cea4 Clean up 2018-01-25 19:52:20 -08:00
Zach Borboa e2b3f7abfe Merge pull request #491 from zachborboa/master
Fix #490: Allow malformed response header to be parsed without error
2018-01-09 02:13:36 -08:00
Zach Borboa cbacd9a68b Fix #490: Allow malformed response header to be parsed without error 2018-01-09 01:58:51 -08:00
Zach Borboa d0747c41a3 Enable error reporting when running PHPUnit tests (regardless of system's php.ini setting) 2018-01-09 01:39:12 -08:00
Zach Borboa dc8282d086 Bump major version 8.0.0 2017-11-01 23:07:25 -07:00
Zach Borboa ef4468d36f Fix #305: Implement Curl::getResponseCookies() 2017-11-01 22:59:25 -07:00
Zach Borboa 44a5322689 Fix #481: Improve the compressed transfer example 2017-10-25 23:13:15 -07:00
Zach Borboa fc49b8253a Add trailing slashes to directories 2017-10-23 21:22:40 -07:00
giansalex b91a1bf1b5 append security & readme 2017-10-21 09:51:32 -05:00
giansalex e8efdddf7a add gitattributes 2017-10-19 16:45:04 -05:00
Zach Borboa a470ce9cf1 Clean up 2017-10-12 23:27:17 -07:00
Zach Borboa e59990b744 Use full example for enabling verbose mode 2017-10-11 07:25:53 -07:00
Zach Borboa 90d0d9d51f Merge pull request #477 from zachborboa/master
Fix subsequent request hanging after a PUT request
2017-10-11 00:34:17 -07:00
Zach Borboa 0347facabc Allow spaces after comma 2017-10-11 00:20:13 -07:00
Zach Borboa 05a5af9b8e Fix #472: Reset request content-length to fix subsequent request hanging after a PUT request 2017-10-11 00:01:20 -07:00
Zach Borboa 0634f4449a Link to troubleshooting doc 2017-10-10 22:26:19 -07:00
Zach Borboa 1be886c107 Add troubleshooting doc 2017-10-10 22:21:30 -07:00
Zach Borboa 7fdccc7c7d Merge pull request #474 from zachborboa/master
Add basic support for requests using relative paths
2017-10-09 20:35:30 -07:00
Zach Borboa 7bce2d9606 Clean up 2017-10-09 19:33:10 -07:00
Zach Borboa ce9ff3c7ec Fix #347: Add basic support for requests using relative paths 2017-10-09 19:30:36 -07:00
Zach Borboa dd8493d6b6 Fix @return in doccomment 2017-09-13 23:53:22 -07:00
Zach Borboa 65c5a598ab Clean up 2017-09-11 22:32:47 -07:00
Zach Borboa c15f23ce5d Bump minor version 7.4.0 2017-09-04 14:38:09 -07:00
Zach Borboa 50d4b277e9 Use configurable max retries 2017-09-04 14:35:45 -07:00
Zach Borboa 63a7a30b27 Merge pull request #468 from zachborboa/master
Implement Curl::setRetry()
2017-09-02 03:01:37 -07:00
Zach Borboa b0b0c5f465 Clean up 2017-09-02 02:43:52 -07:00
Zach Borboa ab76ee5192 Add examples for Curl::setRetry() and MultiCurl::setRetry() 2017-09-02 02:42:23 -07:00
Zach Borboa 4ec89be9bc Allow setRetry() methods to use callables 2017-09-02 02:23:40 -07:00
Zach Borboa 0f1e16a6fa Implement MultiCurl::setRetry() 2017-08-31 01:26:42 -07:00
Zach Borboa 3c3741f891 Implement Curl::setRetry() 2017-08-30 01:36:13 -07:00
Zach Borboa 20d718e97e Allow examples to run without modification to the include path 2017-08-25 00:36:03 -07:00
Zach Borboa 1092365507 Add run tests section 2017-08-25 00:19:02 -07:00
Zach Borboa 96623ba839 Allow the test script to be run from outside the tests directory 2017-08-25 00:16:43 -07:00
Zach Borboa 5b0bbb51cd Clean up 2017-08-24 23:55:01 -07:00
Dane Westvik cd08b5dee7 Support for urls with query parameters 2017-08-24 13:36:23 -07:00
Zach Borboa 3f4e0fc49e Fix sniff violation 2017-08-06 13:52:27 -07:00
Zach Borboa a4cf524119 Fix #459: Add example with json response as associative array 2017-07-30 14:27:20 -07:00
Zach Borboa 79e57a7341 Merge pull request #458 from Philipp91/patch-1
Let all main request methods return `mixed`
2017-07-07 18:26:57 -07:00
Philipp Keck 9dada41203 Let all main request methods return mixed
Many of them have `string`, but that's not what `exec()` returns and at least when a response parser is used, the returned value is not a string, which confuses tools like type checkers.
2017-07-07 22:01:14 +02:00
Zach Borboa c91a64674f Fix #277: Run Digest Access Authentication test on HHVM builds 2017-07-03 02:23:27 -07:00
Zach Borboa 95041d6c49 Run Digest Access Authentication test on HHVM 2017-07-03 01:59:27 -07:00
Zach Borboa a0391a9167 Merge pull request #376 from zachborboa/trusty
Use Trusty Tahr for continuous integration tests
2017-07-03 01:52:48 -07:00
Zach Borboa 3616efd3db Use Trusty for all builds except PHP 5.3
PHP 5.2 and PHP 5.3 are not supported on Travis CI:
"If you need PHP 5.2 or 5.3, please use Precise."
2017-07-03 01:29:56 -07:00
Zach Borboa 770fa159eb Use Trusty Tahr for all continuous integration tests 2017-07-03 01:17:46 -07:00