Skip to content

Commit

Permalink
Merge pull request #44726 from nextcloud/fix/appframework/204-custom-…
Browse files Browse the repository at this point in the history
…header-message
  • Loading branch information
provokateurin authored Apr 8, 2024
2 parents 141abf3 + db77eab commit 25847bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/public/AppFramework/Http/Response.php
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ public function addHeader($name, $value) {
$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,
]);
}
Expand Down

0 comments on commit 25847bd

Please sign in to comment.