https://reisub.nsupdate.info/git
/
friendica.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a74d88c
)
lower loglevel
author
Philipp
<admin@philipp.info>
Sun, 18 Oct 2020 20:32:36 +0000
(22:32 +0200)
committer
Philipp
<admin@philipp.info>
Sun, 18 Oct 2020 20:32:36 +0000
(22:32 +0200)
src/Network/HTTPRequest.php
patch
|
blob
|
history
diff --git
a/src/Network/HTTPRequest.php
b/src/Network/HTTPRequest.php
index
93ce86c
..
a0d9404
100644
(file)
--- a/
src/Network/HTTPRequest.php
+++ b/
src/Network/HTTPRequest.php
@@
-141,7
+141,7
@@
class HTTPRequest implements IHTTPRequest
curl_setopt($ch, CURLOPT_ENCODING, '');
if (!empty($opts['headers'])) {
- $this->logger->
warning
('Wrong option \'headers\' used.');
+ $this->logger->
notice
('Wrong option \'headers\' used.');
@curl_setopt($ch, CURLOPT_HTTPHEADER, $opts['headers']);
}
@@
-184,8
+184,6
@@
class HTTPRequest implements IHTTPRequest
curl_setopt($ch, CURLOPT_IPRESOLVE, CURL_IPRESOLVE_V4);
}
- $logger = $this->logger;
-
$s = @curl_exec($ch);
$curl_info = @curl_getinfo($ch);