Skip to content

Commit 318ddb9

Browse files
committed
fix serving static content issue
1 parent d2ad6ba commit 318ddb9

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/Server/HttpServer.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,6 @@ private function tryServeStaticFile(Request $request, Response $response): bool
323323
// Set response headers
324324
$response->status(200);
325325
$response->header('Content-Type', $this->staticFileExtensions[$extension]);
326-
$response->header('Content-Length', (string) strlen($content));
327326

328327
// Add cache headers for static files
329328
$lastModified = filemtime($realPath);

0 commit comments

Comments
 (0)