diff --git a/docs/runtime/http_server_apis.md b/docs/runtime/http_server_apis.md index 9880b542a6..2b4d6f27b8 100644 --- a/docs/runtime/http_server_apis.md +++ b/docs/runtime/http_server_apis.md @@ -204,9 +204,11 @@ object. Responding with a basic "hello world" would look like this: async function handle(conn: Deno.Conn) { const httpConn = Deno.serveHttp(conn); for await (const requestEvent of httpConn) { - await requestEvent.respondWith(new Response("hello world"), { - status: 200, - }); + await requestEvent.respondWith( + new Response("hello world", { + status: 200, + }), + ); } } ```