mirror of
https://github.com/nextcloud/server.git
synced 2026-06-07 15:53:04 -04:00
Merge pull request #44729 from nextcloud/backport/44726/stable29
[stable29] fix(AppFramework): Fix error message about 204 not allowing custom headers
This commit is contained in:
commit
0d63b6025a
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