[CORE][Router] Properly act on Accept headers

This commit is contained in:
2021-10-19 23:46:01 +01:00
parent 99fd2f725b
commit 028ea79fff
3 changed files with 18 additions and 46 deletions

View File

@@ -47,12 +47,6 @@ class Inbox extends Controller
}
}
// Check accept header
ActivityPub::validateAcceptHeader(
$this->request->headers->get('accept'),
true,
);
// TODO: Check if Actor can post
// Get content