#
6c16a3a9 |
| 14-Sep-2023 |
fiwswe <fiwswe@fwml.de> |
Use str_starts_with/str_ends_with
|
#
26dfc232 |
| 31-Aug-2023 |
Andreas Gohr <andi@splitbrain.org> |
Rector to rename print to echo calls
|
#
7d34963b |
| 31-Aug-2023 |
Andreas Gohr <andi@splitbrain.org> |
coding style: control flow line breaks
|
#
177d6836 |
| 31-Aug-2023 |
Andreas Gohr <andi@splitbrain.org> |
coding style: control flow whitespaces
|
#
dccd6b2b |
| 30-Aug-2023 |
Andreas Gohr <andi@splitbrain.org> |
coding style: function call spacing
|
#
51bc2534 |
| 29-Aug-2023 |
Andreas Gohr <andi@splitbrain.org> |
fix codesniffer violations
|
#
a3b08db5 |
| 29-Aug-2023 |
Andreas Gohr <andi@splitbrain.org> |
Apply rector fixes to inc/HTTP
|
#
605810ee |
| 26-Apr-2023 |
Andreas Gohr <andi@splitbrain.org> |
use local squid docker instance for proxy testing
|
#
753d9add |
| 06-Apr-2023 |
Andreas Gohr <andi@splitbrain.org> |
Merge pull request #3941 from glensc/microtime
HttpClient::time(): use microtime(true) directly
|
#
e8b8bf8c |
| 05-Apr-2023 |
Elan Ruusamäe <glen@delfi.ee> |
HTTPClient: Replace time() method with direct microtime(true) call
|
#
8a10b6f0 |
| 05-Apr-2023 |
Elan Ruusamäe <glen@delfi.ee> |
Minor fixes in comments
|
#
88743d14 |
| 05-Apr-2023 |
Elan Ruusamäe <glen@delfi.ee> |
HttpClient::time use microtime(true) directly
|
#
d9a7912a |
| 31-Jan-2023 |
Andreas Gohr <andi@splitbrain.org> |
use httpbingo for HTPP tests
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
use httpbingo for HTPP tests
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
show more ...
|
#
ec34bb30 |
| 19-Oct-2022 |
Andreas Gohr <andi@splitbrain.org> |
Update core code to make use of sexplode()
This makes use of our own explode mechanism everywhere were we expect a fixed number of results.
|
#
bf8f8509 |
| 01-Jan-2022 |
Andreas Gohr <andi@splitbrain.org> |
guard against unset parameters
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)
|
#
67600f75 |
| 01-Aug-2021 |
Tom Kunze <mail@tomabrafix.de> |
HTTPClient: Fix missing processing of redirections with status code 303, 307, 308.
HTTP/1.1 (RFC 7231) and RFC 7538 also define the redirection status codes 303, 307 and 308. These should be also su
HTTPClient: Fix missing processing of redirections with status code 303, 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).
show more ...
|
#
66b64c2a |
| 06-Feb-2021 |
Damien Regad <dregad@mantisbt.org> |
Address Scrutinizer inspection failure
The variable ``$port`` seems only to be defined at a later point. As such the call to ``isset()`` seems to always evaluate to ``false``.
|
#
056bf31f |
| 06-Feb-2021 |
Damien Regad <dregad@mantisbt.org> |
Fix various errors in PHPUnit tests on PHP 8
|
#
03c2c428 |
| 14-Jun-2020 |
fiwswe <53953985+fiwswe@users.noreply.github.com> |
Update HTTPClient.php
Fix the problem on OpenBSD 6.7, PHP 7.4.5-7.4.6 that prevents the extension repository to be pinged. See #3148.
|
#
980f9f38 |
| 29-Apr-2020 |
Andreas Gohr <andi@splitbrain.org> |
check exceptions before proxy use #3055
There are several places in the HTTPClient where we check if a proxy is set. But not all of them were checking the exceptions.
|
#
e1d9dcc8 |
| 15-Jun-2018 |
Andreas Gohr <andi@splitbrain.org> |
First go at moving the plugin classes into their own namespace
|
#
5a8d6e48 |
| 26-Mar-2019 |
Michael Große <mic.grosse@googlemail.com> |
Rename HTTPClient namespace to HTTP
This should make namespace a bit more flexible in scope and allow us to move more functionality there later.
|