diff --git a/src/Server.php b/src/Server.php index b2b4fbe..2e73668 100644 --- a/src/Server.php +++ b/src/Server.php @@ -243,7 +243,7 @@ protected function handlePATCH(): ResponseInterface hash_update_stream($hashContext, $this->stream); $localChecksum = base64_encode(hash_final($hashContext, true)); if ($localChecksum !== $checksum->value) - return $this->response->withStatus(460) + return $this->response->withStatus(460, "Checksum Mismatch") ->withHeader("Upload-Offset", filesize($this->file)); rewind($this->stream);