aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/AppFramework
diff options
context:
space:
mode:
authorprovokateurin <kate@provokateurin.de>2024-04-08 16:08:44 +0200
committerprovokateurin <kate@provokateurin.de>2024-04-08 16:08:44 +0200
commitdb77eab6776e5edfe3c6b50c1895f85f0aa5b27a (patch)
tree3e7a8812fb7b6730090f9dc3e7c2d82b4f2e5b1a /lib/public/AppFramework
parent1d5d8d42105b316fed752cec0d7cf7a20ac6444c (diff)
downloadnextcloud-server-db77eab6776e5edfe3c6b50c1895f85f0aa5b27a.tar.gz
nextcloud-server-db77eab6776e5edfe3c6b50c1895f85f0aa5b27a.zip
fix(AppFramework): Fix error message about 204 not allowing custom headers
Signed-off-by: provokateurin <kate@provokateurin.de>
Diffstat (limited to 'lib/public/AppFramework')
-rw-r--r--lib/public/AppFramework/Http/Response.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/public/AppFramework/Http/Response.php b/lib/public/AppFramework/Http/Response.php
index 06541df2da2..9e218384954 100644
--- a/lib/public/AppFramework/Http/Response.php
+++ b/lib/public/AppFramework/Http/Response.php
@@ -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,
]);
}