protected void EnsureFormContentType() { // Managed SignalR 2.x clients don't set content type which prevents from parsing the body as a form if (string.IsNullOrEmpty(Context.Request.ContentType)) { Context.Request.ContentType = FormContentType; } }