Skip to content

Commit

Permalink
Sync http-server.md
Browse files Browse the repository at this point in the history
  • Loading branch information
amphp-bot committed Dec 31, 2023
1 parent 2d3d27c commit 3627220
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion http-server.md
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ $requestHandler = new class implements RequestHandler {
public function handleRequest(Request $request): Response
{
return new Response(
status: Status::OK,
status: HttpStatus::OK,
headers: ["content-type" => "text/plain; charset=utf-8"],
body: "Hello, World!",
);
Expand Down

0 comments on commit 3627220

Please sign in to comment.