Commit Graph

136 Commits

Author SHA1 Message Date
Zach Borboa fbec34fd6c Add script for running test suite 2014-03-04 22:34:40 -08:00
Zach Borboa b8b2ead22c Add CURLFile test 2014-03-04 22:33:43 -08:00
Zach Borboa 50ded96cbc Move lib/ -> src/ 2014-03-04 22:20:41 -08:00
Zach Borboa 896cf448f0 Add continuous integration build status to README 2014-03-04 22:15:41 -08:00
Zach Borboa 97cd33cb5a Fix undefined index when running test suite 2014-03-04 22:08:31 -08:00
Zach Borboa a326392a0b Separate basic authentication tests 2014-03-04 21:59:57 -08:00
Zach Borboa 854529b72c Remove extra slashes 2014-03-04 21:55:17 -08:00
Zach Borboa aa55e35278 Consolidate continuous integration script 2014-03-04 21:44:26 -08:00
Zach Borboa b896c1ad97 Add file not exists assertion 2014-03-04 21:43:29 -08:00
Zach Borboa 258a3c396c Fix curl @filename API deprecation error 2014-03-03 23:17:03 -08:00
Zach Borboa 1559daa462 Use CURLFile class when available to replace the @filename API for file uploading 2014-03-03 22:57:58 -08:00
Zach Borboa 0e3a1b3b51 Update test url 2014-03-03 22:13:08 -08:00
Zach Borboa e68c6cad09 Use HTTP_CONTENT_TYPE in place of CONTENT_TYPE for test on PHP's built-in web server 2014-03-03 22:12:53 -08:00
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