diff --git a/src/Appwrite/Utopia/Response.php b/src/Appwrite/Utopia/Response.php index 08f2c12441..30a1b8dbec 100644 --- a/src/Appwrite/Utopia/Response.php +++ b/src/Appwrite/Utopia/Response.php @@ -340,7 +340,8 @@ class Response extends SwooleResponse $this->sent = true; } - $this->addHeader('X-Debug-Speed', (string) (microtime(true) - $this->startTime), override: true); + $this->removeHeader('X-Debug-Speed'); + $this->addHeader('X-Debug-Speed', (string) (microtime(true) - $this->startTime)); if (!$this->chunking) { $this->chunking = true;