Commit Graph

32 Commits

Author SHA1 Message Date
Hypolite Petovan 881cb456e2 Throw an exception when parse_url fails in HttpClient->request
- Address part of https://github.com/friendica/friendica/issues/12011#issuecomment-1383147421
2023-01-21 14:25:21 -05:00
Hypolite Petovan 1874a32728 Happy New Year 2023! 2023-01-01 09:36:24 -05:00
Matthew Exon 9c33074bdc Allow HTTP requests to hosts in local hosts file 2022-12-29 19:44:49 +01:00
Hypolite Petovan 6f93ee7e49 Fix various PHP 8 deprecations 2022-11-19 19:15:47 -05:00
Philipp 82c631eae3 Fix Guzzle InvalidArgumentException for POST with array parameters 2022-11-09 22:25:37 +01:00
Michael 62a0d55fc8 The friendica constants have been moved to the app class 2022-10-17 10:37:48 +00:00
Michael 3a840aa22d Some more warnings and erors are fixed 2022-08-28 19:27:21 +00:00
Michael 8b7cb5d9ef Merge remote-tracking branch 'upstream/develop' into server-detection 2022-07-16 12:44:21 +00:00
Michael abe3fd7605 Improved check for invalid certificates 2022-07-16 08:27:38 +00:00
Philipp 8e547510a0 Fix HTTP Client redirect Bug 2022-07-12 20:11:53 +02:00
Roland Häder ed3c53a5f8 Ops, not here wanted. :-( 2022-06-19 14:06:32 +02:00
Roland Häder bff57bb030 Changes:
- added type-hints
- added returned type-hints in interface (I checked all)
2022-06-19 14:00:31 +02:00
Michael 690682a37e Only send "accept" headers on some HTTP methods 2022-05-03 08:20:05 +00:00
Philipp 277cd51433 fix doc 2022-04-08 20:11:51 +02:00
Philipp 04866195b4 Remove accept parameter for head/post again 2022-04-03 19:33:09 +02:00
Philipp 4aeccd3157 Added license 2022-04-02 21:22:14 +02:00
Philipp e299fc67c8 Introduce "accept_header" as specific argument to the http client 2022-04-02 21:16:53 +02:00
Philipp 73c3b21665 Move ACCEPT constants to own "enum" class 2022-04-02 20:26:11 +02:00
Michael 2ca51f752d Use appropriate "accept" values 2022-03-30 14:39:53 +00:00
Michael 908d2594ed Use "HttpClientOptions" 2022-03-29 08:57:38 +00:00
Michael 1fae0123ec Some more "accept" parameters are added 2022-03-29 06:24:20 +00:00
Michael ff70f74952 "accept" constants introduced and used 2022-03-28 10:33:06 +00:00
Philipp 80a533ddab Add Default Accept for HTTP Calls 2022-03-26 22:15:44 +01:00
Philipp c588b280d7 Fix all license header & be less aggressive 2022-01-07 00:35:28 +01:00
Balázs Úr 733f3de9ed Add missing copyright text 2022-01-02 10:49:50 +01:00
Philipp 322b7c856c Merge pull request #11129 from urbalazs/copyright-2022
Update copyright
2022-01-02 09:45:35 +01:00
Balázs Úr e56a53647b Update copyright 2022-01-02 08:27:47 +01:00
Philipp 2234d6fa91 Fix redirect url in Guzzle Responses 2021-12-09 14:59:25 +01:00
Michael 63da4a75e9 The boot.php had been cleared of most functions 2021-11-04 20:29:59 +00:00
Michael 516018861e Merge remote-tracking branch 'upstream/develop' into error-handling 2021-10-31 05:25:39 +00:00
Philipp f4ea74447e Add Feedback :-) 2021-10-29 11:37:09 +02:00
Philipp 409d909d0f Restructure HTTPClient for new paradigm 2021-10-28 20:01:03 +02:00