mirror of
https://github.com/nextcloud/server.git
synced 2026-06-07 15:53:04 -04:00
fix(AppFramework): Fix error message about 204 not allowing custom headers
Signed-off-by: provokateurin <kate@provokateurin.de>
This commit is contained in:
parent
75c9926a94
commit
f33ec17538
1 changed files with 1 additions and 1 deletions
|
|
@ -211,7 +211,7 @@ class Response {
|
|||
$config = \OC::$server->get(IConfig::class);
|
||||
|
||||
if ($config->getSystemValueBool('debug', false)) {
|
||||
\OC::$server->get(LoggerInterface::class)->error('Setting custom header on a 204 or 304 is not supported (Header: {header})', [
|
||||
\OC::$server->get(LoggerInterface::class)->error('Setting custom header on a 304 is not supported (Header: {header})', [
|
||||
'header' => $name,
|
||||
]);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue