From f18337109fdfa05c05f8b6e9c54fb9559bb30c37 Mon Sep 17 00:00:00 2001 From: uwaa Date: Fri, 1 Nov 2024 08:20:38 +0000 Subject: [PATCH] update example --- Example/Program.cs | 2 +- MiniHTTP | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Example/Program.cs b/Example/Program.cs index 8f5de98..525a67e 100644 --- a/Example/Program.cs +++ b/Example/Program.cs @@ -56,7 +56,7 @@ static class Program return await Websocket(req); byte[] indexFile = await File.ReadAllBytesAsync("www-static/index.htm"); - HttpContent html = new HttpContent("text/html", indexFile); + HttpContent html = new HttpContent(new MIMEType("text", "html"), indexFile); return new OK(html); } diff --git a/MiniHTTP b/MiniHTTP index 2f0d5af..4e11430 160000 --- a/MiniHTTP +++ b/MiniHTTP @@ -1 +1 @@ -Subproject commit 2f0d5af790e05d040b9b34ec6f60cb44c22b1c76 +Subproject commit 4e11430dac07464541df459369a20a5d7d35d33c