aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/inc/HTTP/HTTPClient.php
Commit message (Collapse)AuthorAge
* Use str_starts_with/str_ends_withfiwswe2023-09-14
|
* Rector to rename print to echo callsAndreas Gohr2023-08-31
|
* coding style: control flow line breaksAndreas Gohr2023-08-31
|
* coding style: control flow whitespacesAndreas Gohr2023-08-31
|
* coding style: function call spacingAndreas Gohr2023-08-30
|
* fix codesniffer violationsAndreas Gohr2023-08-29
|
* Apply rector fixes to inc/HTTPAndreas Gohr2023-08-29
|
* use local squid docker instance for proxy testingAndreas Gohr2023-04-26
|
* Merge pull request #3941 from glensc/microtimeAndreas Gohr2023-04-06
|\ | | | | HttpClient::time(): use microtime(true) directly
| * HTTPClient: Replace time() method with direct microtime(true) callElan Ruusamäe2023-04-05
| |
| * HttpClient::time use microtime(true) directlyElan Ruusamäe2023-04-05
| |
* | Minor fixes in commentsElan Ruusamäe2023-04-05
|/
* use httpbingo for HTPP testsAndreas Gohr2023-01-31
| | | | | | | | This service is based on httpbin-go which seems to be better maintained and should be easy to set up for ourselves if needed. This also fixes a warning when the client is reused with the max_bodysize mechanism
* Update core code to make use of sexplode()Andreas Gohr2022-10-19
| | | | | This makes use of our own explode mechanism everywhere were we expect a fixed number of results.
* guard against unset parametersAndreas Gohr2022-01-01
| | | | | | Many string function will throw a deprecation warning in PHP 8.1 when null is passed. This adds a few guards in some of our methods (not all, yet)
* HTTPClient: Fix missing processing of redirections with status code 303, ↵Tom Kunze2021-08-01
| | | | | | | | 307, 308. HTTP/1.1 (RFC 7231) and RFC 7538 also define the redirection status codes 303, 307 and 308. These should be also supported as they are used more widely nowadays (e.g. Google Docs).
* Address Scrutinizer inspection failureDamien Regad2021-02-07
| | | | | The variable ``$port`` seems only to be defined at a later point. As such the call to ``isset()`` seems to always evaluate to ``false``.
* Fix various errors in PHPUnit tests on PHP 8Damien Regad2021-02-06
|
* Update HTTPClient.phpfiwswe2020-06-14
| | | Fix the problem on OpenBSD 6.7, PHP 7.4.5-7.4.6 that prevents the extension repository to be pinged. See #3148.
* check exceptions before proxy use #3055Andreas Gohr2020-04-29
| | | | | There are several places in the HTTPClient where we check if a proxy is set. But not all of them were checking the exceptions.
* First go at moving the plugin classes into their own namespaceAndreas Gohr2019-04-20
|
* Rename HTTPClient namespace to HTTPMichael Große2019-03-26
This should make namespace a bit more flexible in scope and allow us to move more functionality there later.