Commit Graph

419 Commits

Author SHA1 Message Date
github-actions[bot] a42bd9b7ba Bump version: 9.14.5 → 9.15.0 2023-05-22 18:02:53 +00:00
Zach Borboa 1c270272c8 Update Curl::diagnose() to detect bit flags with negative values 2023-05-20 13:32:44 -07:00
Zach Borboa d5d3fd9f7b Merge pull request #779 from zachborboa/master
Display bit flags in use when calling Curl::diagnose()
2023-05-18 16:56:57 -07:00
Zach Borboa a304084a61 Display bit flags in use when calling Curl::diagnose()
This change attempts to determine which underlying constants were
bitmasked together to reach the resulting value passed to curl_setopt()
using Curl::setOpt().
2023-05-18 16:11:07 -07:00
github-actions[bot] 3e0a9ebff9 Bump version: 9.14.4 → 9.14.5 2023-05-16 18:02:43 +00:00
Zach Borboa f7b216a3d9 Fix #777: Handle missing content-type response header in Curl::diagnose() 2023-05-15 19:33:59 -07:00
github-actions[bot] eb4d2213bb Bump version: 9.14.3 → 9.14.4 2023-05-08 18:03:02 +00:00
Zach Borboa 5b39126488 Update article in Curl::diagnose() Allow header warning 2023-05-07 02:50:08 -07:00
github-actions[bot] 5d87676a3a Bump version: 9.14.2 → 9.14.3 2023-03-13 18:02:56 +00:00
github-actions[bot] 543cd0aff1 Bump version: 9.14.1 → 9.14.2 2023-03-09 18:03:01 +00:00
github-actions[bot] 71eadd9ea8 Bump version: 9.14.0 → 9.14.1 2023-02-27 18:02:59 +00:00
Zach Borboa 1aa3f87115 Replace some private method names not in camel caps format 2023-02-26 12:07:58 -08:00
Zach Borboa c6256e31b3 Remove coding standard ruleset exclusion 2023-02-26 12:07:58 -08:00
github-actions[bot] 70e0c7fe75 Bump version: 9.13.1 → 9.14.0 2023-02-26 16:55:31 +00:00
Zach Borboa ccd476b448 Make https:// and http:// the allowed request protocols by default 2023-02-25 10:23:18 -08:00
Zach Borboa 99bd995288 Format response header type notice as sentence 2023-01-26 16:58:45 -08:00
github-actions[bot] 1fa71f6392 Bump version: 9.13.0 → 9.13.1 2023-01-16 01:29:25 +00:00
Sander Backus 5cd8e3db11 Allow uploads with CURLStringFile type 2023-01-15 13:27:49 -08:00
github-actions[bot] 09e4d04872 Bump version: 9.12.6 → 9.13.0 2023-01-13 12:29:36 +00:00
Zach Borboa 05fe935652 Fix typo 2023-01-12 08:30:22 -08:00
Zach Borboa 16380527e1 Fix #750: Implement abstract class BaseCurl for Curl and MultiCurl 2023-01-12 07:51:07 -08:00
Zach Borboa 85794dacbe Display error messages found in Curl::diagnose() 2023-01-12 07:25:24 -08:00
Zach Borboa d40c3b3cb1 Fix Curl::diagnose() request type output for POST requests 2023-01-12 06:47:36 -08:00
github-actions[bot] 3e99a56b96 Bump version: 9.12.5 → 9.12.6 2023-01-11 02:13:53 +00:00
Zach Borboa b20f535f7c Replace use of #[\AllowDynamicProperties] 2023-01-10 13:18:26 -08:00
Michael Bolli 95f4aac970 silence PHP 8.2 deprecation notices 2023-01-10 10:27:19 +01:00
github-actions[bot] ac45a3d212 Bump version: 9.12.4 → 9.12.5 2022-12-20 01:29:22 +00:00
Zach Borboa 84909cc448 Fix static analysis error
Error message:
    ERROR: InvalidArrayOffset - ../src/Curl/Curl.php:2182:25 - Cannot
    access value on variable $response_header_array using a int<-1, max>
    offset, expecting int<0, max> (see https://psalm.dev/115)
            if (stripos($response_header_array[$i], 'HTTP/') === 0) {
2022-12-19 12:06:48 -08:00
github-actions[bot] a0c5980cbc Bump version: 9.12.3 → 9.12.4 2022-12-17 01:28:37 +00:00
github-actions[bot] 78e9135149 Bump version: 9.12.2 → 9.12.3 2022-12-13 01:29:57 +00:00
Zach Borboa 918ce7bc60 Merge pull request #749 from zachborboa/master
Ensure string response before gzip decode
2022-12-12 06:18:41 -08:00
Zach Borboa 05ede8f26f Clean up 2022-12-12 05:54:12 -08:00
Zach Borboa d8ed09f266 Fix #747: Ensure string response before gzip decode 2022-12-12 05:53:53 -08:00
github-actions[bot] 7b2ae8aa17 Bump version: 9.12.1 → 9.12.2 2022-12-11 01:29:24 +00:00
Zach Borboa 1f06b2c2a0 Fix #747: Disable warning when gzip-decoding response errors 2022-12-10 08:15:18 -08:00
github-actions[bot] 6813899890 Bump version: 9.12.0 → 9.12.1 2022-12-08 02:15:38 +00:00
Zach Borboa 0356af095f Include option constant that uses the CURLINFO_ prefix 2022-12-07 13:23:54 -08:00
github-actions[bot] ba417b2c4a Bump version: 9.11.1 → 9.12.0 2022-12-07 02:20:25 +00:00
Zach Borboa c25d5fe317 Merge pull request #744 from zachborboa/master
Add automatic gzip decoding of response
2022-12-05 19:07:23 -08:00
Zach Borboa 7b07ab5166 Add automatic gzip decoding of response (#740) 2022-12-05 18:41:56 -08:00
github-actions[bot] 07f65c4bc4 Bump version: 9.11.0 → 9.11.1 2022-12-06 02:13:41 +00:00
Shakir El Amrani d642a74772 change: remove unused namespace import 2022-12-05 13:11:50 +01:00
github-actions[bot] 53b7dad946 Bump version: 9.10.0 → 9.11.0 2022-12-05 01:29:16 +00:00
Zach Borboa b86aca6f74 Add Curl::diagnose() HTTP method check matches methods allowed 2022-12-04 13:09:07 -08:00
github-actions[bot] b6defb4419 Bump version: 9.9.0 → 9.10.0 2022-11-07 01:31:19 +00:00
Zach Borboa 9a5c8ad559 Merge pull request #739 from zachborboa/master
Display request options in Curl::diagnose() output
2022-11-05 18:53:16 -07:00
github-actions[bot] 53f1d5670a Bump version: 9.8.0 → 9.9.0 2022-11-06 01:31:04 +00:00
Zach Borboa 4fb8e2867f Display request options in Curl::diagnose() output
Request options are now displayed when Curl::diagnose() is called and a
deferred constant curlOptionCodeConstants has been added.
2022-11-05 15:27:09 -07:00
Zach Borboa 99795d1d69 Fix MultiCurl::setCookieString() 2022-11-05 14:43:21 -07:00
Zach Borboa cb6a0e83e6 Pass MultiCurl options to new Curl instances earlier
Fix setting of options by passing of MultiCurl options to new Curl
instances earlier. Set options during the Curl initialization instead of
waiting until the request instance is configured in
MultiCurl::initHandle().
2022-11-05 13:48:30 -07:00