]> git.mxchange.org Git - friendica.git/blobdiff - src/Protocol/Salmon.php
Merge remote-tracking branch 'upstream/2022.05-rc' into bulk-delivery
[friendica.git] / src / Protocol / Salmon.php
index cf202ba13c0823b19ea0321880b9afe5c45ed151..9724f82df74ab6c6dac984eeb0e0e4bdb02431d2 100644 (file)
@@ -157,7 +157,7 @@ class Salmon
                $salmon = XML::fromArray($xmldata, $xml, false, $namespaces);
 
                // slap them
-               $postResult = DI::httpClient()->post($url, $salmon, HttpClientAccept::DEFAULT, [
+               $postResult = DI::httpClient()->post($url, $salmon, [
                        'Content-type' => 'application/magic-envelope+xml',
                        'Content-length' => strlen($salmon),
                ]);
@@ -182,7 +182,7 @@ class Salmon
                        $salmon = XML::fromArray($xmldata, $xml, false, $namespaces);
 
                        // slap them
-                       $postResult = DI::httpClient()->post($url, $salmon, HttpClientAccept::DEFAULT, [
+                       $postResult = DI::httpClient()->post($url, $salmon, [
                                'Content-type' => 'application/magic-envelope+xml',
                                'Content-length' => strlen($salmon),
                        ]);
@@ -205,7 +205,7 @@ class Salmon
                        $salmon = XML::fromArray($xmldata, $xml, false, $namespaces);
 
                        // slap them
-                       $postResult = DI::httpClient()->post($url, $salmon, HttpClientAccept::DEFAULT, [
+                       $postResult = DI::httpClient()->post($url, $salmon, [
                                'Content-type' => 'application/magic-envelope+xml',
                                'Content-length' => strlen($salmon)]);
                        $return_code = $postResult->getReturnCode();