Fix incorrect content-type (#1347)
This commit is contained in:
parent
215123819a
commit
96a3a03de8
|
|
@ -170,7 +170,7 @@ namespace Microsoft.AspNetCore.Sockets
|
|||
|
||||
// The connection was disposed
|
||||
context.Response.StatusCode = StatusCodes.Status404NotFound;
|
||||
context.Response.ContentType = "plain/text";
|
||||
context.Response.ContentType = "text/plain";
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue