Commit Graph

123 Commits

Author SHA1 Message Date
Zach Borboa 1195d14e00 Re-use close method 2014-03-03 22:02:39 -08:00
Zach Borboa d2bf8ab7a4 Remove unsupported versions of PHP's built-in web server for continuous integration tests 2014-03-03 21:56:50 -08:00
Zach Borboa c9d723f967 Use PHP's built-in web server for running continuous integration tests 2014-03-03 21:37:00 -08:00
Zach Borboa eb101bfc99 Clean up 2014-03-03 21:29:04 -08:00
Zach Borboa 8edfb697f4 Update test url path 2014-03-03 20:49:32 -08:00
Zach Borboa 19bdf9a3c2 Add Travis CI and PHPUnit configuration; Update file paths for test suite 2014-03-03 20:48:09 -08:00
Zach Borboa 66c8908e0f Parse PUT and PATCH when content-type is application/x-www-form-urlencoded 2014-03-02 01:59:56 -08:00
Zach Borboa 4a8ed27a39 Clean up: CURLOPT_SSL_VERIFYPEER, CURLOPT_SSL_VERIFYHOST 2014-03-02 00:03:00 -08:00
Zach Borboa 18badca1d6 Add PATCH request method tests 2014-03-01 23:16:30 -08:00
Zach Borboa 6346341564 Add PATCH request method test; Separate success request tests 2014-03-01 09:45:43 -08:00
Zach Borboa a7590c8660 Fix #22: Include CURLOPT_CUSTOMREQUEST to override any existing request method 2014-03-01 02:31:23 -08:00
Zach Borboa 52957b5ce2 Merge branch 'master' of https://github.com/gotardo/php-curl-class into gotardo-master
* 'master' of https://github.com/gotardo/php-curl-class:
  Bugfix: If you make a GET request after a PUT request you still have the PUT value for CURLOPT_CUSTOMREQUEST, causing an error. I have forced CURLOPT_CUSTOMREQUEST to 'GET' on get requests to avoid header overriding.
2014-03-01 02:24:09 -08:00
Zach Borboa 4d70aaa442 Use both $_PUT and $_PATCH variable in tests 2014-03-01 02:05:15 -08:00
Zach Borboa 74b6040274 Use $_PUT variable in tests 2014-03-01 01:03:38 -08:00
Gotardo González dc51340809 Bugfix: If you make a GET request after a PUT request you still have the PUT value for CURLOPT_CUSTOMREQUEST, causing an error.
I have forced CURLOPT_CUSTOMREQUEST to 'GET' on get requests to avoid header overriding.
2014-02-27 17:53:09 +01:00
Zach Borboa 1c91d9d1a5 Add tests for setCookieFile() and setCookieJar() methods 2014-02-08 23:26:24 -08:00
zachborboa 50a75b67e6 Fix #21: Add gzip compression example 2014-02-08 22:07:40 -08:00
Zach Borboa 0a683fc98a Add setCookieFile() and setCookieJar() methods 2014-02-02 14:44:28 -08:00
Zach Borboa 2740cb8cec Clean up 2014-02-02 14:43:49 -08:00
Zach Borboa d61383a360 Remove screaming caps notation from tests and readme 2014-02-02 14:34:39 -08:00
Zach Borboa 3bd7174d61 Fix #20: Ensure required options are set 2014-02-02 10:28:36 -08:00
Zach Borboa 56aa5eb0d6 Fix #18: Fix "not a valid cURL handle resource" error 2014-02-01 16:03:22 -08:00
Zach Borboa ff2283478d Update composer name 2014-01-22 21:14:32 -08:00
Justin Vencel 6325e414c2 Update composer.json 2014-01-21 16:00:22 -08:00
Justin Vencel 3b503eb93d Update README.md
Make it a bit more clear how to install and what the repo name is.
2014-01-21 15:55:33 -08:00
Zach Borboa 7b0f4e7399 Update Bing url now that they support https 2014-01-11 14:08:13 -08:00
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