From b60e4cfea615e0e98e4d369761a727a75fce923e Mon Sep 17 00:00:00 2001 From: David Fowler Date: Mon, 26 Feb 2018 14:05:55 -0800 Subject: [PATCH] Removing remnants from the days of OPTIONS (#1495) --- .../HttpConnectionDispatcher.cs | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/Microsoft.AspNetCore.Sockets.Http/HttpConnectionDispatcher.cs b/src/Microsoft.AspNetCore.Sockets.Http/HttpConnectionDispatcher.cs index 3b3d332e66..9b445dc5d2 100644 --- a/src/Microsoft.AspNetCore.Sockets.Http/HttpConnectionDispatcher.cs +++ b/src/Microsoft.AspNetCore.Sockets.Http/HttpConnectionDispatcher.cs @@ -358,9 +358,6 @@ namespace Microsoft.AspNetCore.Sockets private Task ProcessNegotiate(HttpContext context, HttpSocketOptions options, ConnectionLogScope logScope) { - // Set the allowed headers for this resource - context.Response.Headers.AppendCommaSeparatedValues("Allow", "GET", "POST", "OPTIONS"); - context.Response.ContentType = "application/json"; // Establish the connection