Remove accept parameter for head/post again
This commit is contained in:
parent
4aeccd3157
commit
04866195b4
12 changed files with 54 additions and 57 deletions
|
|
@ -3018,7 +3018,7 @@ class Diaspora
|
|||
if (!intval(DI::config()->get("system", "diaspora_test"))) {
|
||||
$content_type = (($public_batch) ? "application/magic-envelope+xml" : "application/json");
|
||||
|
||||
$postResult = DI::httpClient()->post($dest_url . "/", $envelope, HttpClientAccept::DEFAULT, ['Content-Type' => $content_type]);
|
||||
$postResult = DI::httpClient()->post($dest_url . "/", $envelope, ['Content-Type' => $content_type]);
|
||||
$return_code = $postResult->getReturnCode();
|
||||
} else {
|
||||
Logger::notice("test_mode");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue