Removing remnants from the days of OPTIONS (#1495)

This commit is contained in:
David Fowler 2018-02-26 14:05:55 -08:00 committed by GitHub
parent c703bb651d
commit b60e4cfea6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 3 deletions

View File

@ -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