Commit Graph

28 Commits

Author SHA1 Message Date
Zach Borboa f058672e6f Improve MultiCurl::waitUntilRequestQuotaAvailable (#1016)
* Include keyword

* Use numeric literal separators

* Improve waitUntilRequestQuotaAvailable using new TimeUtil
2025-11-16 14:58:13 -05:00
Robin van der Vliet 94d8cf948f Replace isset with null coalescing operator (#800) 2023-07-06 20:41:38 -07:00
Zach Borboa cd924d10c3 Update PHP_CodeSniffer ruleset: PSR2 → PSR12 2023-06-30 01:23:37 -07:00
Zach Borboa 76e74fdc44 Improve and add tests for Curl::fastDownload() 2023-06-13 02:52:59 -07:00
Zach Borboa bbf1e1417b Add test server support for specifying which requests fail and succeed 2023-06-12 19:31:49 -07:00
Zach Borboa 1b2e2d446f Return JSON from the retry test server endpoint 2023-06-03 04:50:41 -07:00
Zach Borboa f7b216a3d9 Fix #777: Handle missing content-type response header in Curl::diagnose() 2023-05-15 19:33:59 -07:00
Zach Borboa 4ed7644250 Update tests to work with PHPUnit 10 2023-02-17 19:31:41 -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 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
Zach Borboa 1c91d9d1a5 Add tests for setCookieFile() and setCookieJar() methods 2014-02-08 23:26:24 -08:00
Zach Borboa cdeb589a4c Add GET test handler for unit tests 2013-12-28 23:36:39 -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
php-curl-class dc9bb513ec Use http_build_multi_query() to build POST data string containing multiple values for the same key 2013-08-24 13:04:02 -07:00
php-curl-class bc96a04df4 Add ability to POST multidimensional array of data 2013-08-23 17:09:45 -07:00
php-curl-class fdcb99c1e9 Add PUT file handle test 2013-08-21 16:17:06 -07:00
php-curl-class eaf8b14e16 Add POST file path upload test 2013-08-21 12:46:30 -07:00
php-curl-class fd4b2583b5 Clean up 2013-08-20 17:16:39 -07:00
php-curl-class 7ab095ebae Add DELETE test 2013-08-20 17:11:16 -07:00
php-curl-class c63bee9447 Clean up 2013-08-20 17:10:28 -07:00
php-curl-class 7d7c0d69c9 Add PUT tests 2013-08-20 17:03:28 -07:00
php-curl-class b5c516ec34 Separate post, server, and cookie tests 2013-08-20 16:26:58 -07:00
php-curl-class dc162566f7 Add Http Basic Authentication test 2013-08-19 11:49:20 -07:00
php-curl-class 7b57814973 Add user agent test, GET test, POST test 2013-08-19 11:01:39 -07:00