From d75c10708af9e822800163a5d2072b849b8acc0d Mon Sep 17 00:00:00 2001 From: sta Date: Fri, 29 Nov 2019 19:40:54 +0900 Subject: [PATCH] [Modify] Rename it --- websocket-sharp/Net/HttpListenerResponse.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/websocket-sharp/Net/HttpListenerResponse.cs b/websocket-sharp/Net/HttpListenerResponse.cs index b4142ec5..c17d1289 100644 --- a/websocket-sharp/Net/HttpListenerResponse.cs +++ b/websocket-sharp/Net/HttpListenerResponse.cs @@ -629,7 +629,9 @@ namespace WebSocketSharp.Net _context.Connection.Close (force); } - private static string createContentType (string value, Encoding encoding) + private static string createContentTypeHeaderText ( + string value, Encoding encoding + ) { if (value.IndexOf ("charset=", StringComparison.Ordinal) > -1) return value;