From 8d7c2d20e295a156ca2d19131cbcc6f95431b3c3 Mon Sep 17 00:00:00 2001 From: cypherpotato Date: Fri, 16 Aug 2024 16:48:28 -0300 Subject: [PATCH] remove product headers --- src/Http/Hosting/PortableConfigurationBuilder.cs | 6 +++--- src/Http/HttpKnownHeaderNames.cs | 12 ------------ src/Sisk.Core.csproj | 6 +++--- 3 files changed, 6 insertions(+), 18 deletions(-) diff --git a/src/Http/Hosting/PortableConfigurationBuilder.cs b/src/Http/Hosting/PortableConfigurationBuilder.cs index 7e70763..c8d4026 100644 --- a/src/Http/Hosting/PortableConfigurationBuilder.cs +++ b/src/Http/Hosting/PortableConfigurationBuilder.cs @@ -50,10 +50,10 @@ internal void Build() /// /// Defines an custom configuration pipeline to the builder. /// - /// The object. - public PortableConfigurationBuilder WithConfigurationPipeline(IConfigurationReader pipeline) + /// The object. + public PortableConfigurationBuilder WithConfigurationReader(IConfigurationReader reader) { - _pipeline = pipeline; + _pipeline = reader; return this; } diff --git a/src/Http/HttpKnownHeaderNames.cs b/src/Http/HttpKnownHeaderNames.cs index 3d3f68c..4ade770 100644 --- a/src/Http/HttpKnownHeaderNames.cs +++ b/src/Http/HttpKnownHeaderNames.cs @@ -469,12 +469,6 @@ public static class HttpKnownHeaderNames /// public const string Warning = "Warning"; - /// - /// The HTTP X-AspNet-Version header. - /// Indicates the version of ASP.NET that the server is using to process the request. - /// - public const string XAspNetVersion = "X-AspNet-Version"; - /// /// The HTTP X-Content-Duration header. /// Specifies the duration of the content in seconds, often used for media files. @@ -493,12 +487,6 @@ public static class HttpKnownHeaderNames /// public const string XFrameOptions = "X-Frame-Options"; - /// - /// The HTTP X-MSEdge-Ref header. - /// Used by Microsoft Edge to provide information about the request context, often for analytics and debugging purposes. - /// - public const string XMSEdgeRef = "X-MSEdge-Ref"; - /// /// The HTTP X-Powered-By header. /// Indicates the technology or framework that powers the web application, often used for informational purposes. diff --git a/src/Sisk.Core.csproj b/src/Sisk.Core.csproj index 935f719..2ff12bc 100644 --- a/src/Sisk.Core.csproj +++ b/src/Sisk.Core.csproj @@ -29,9 +29,9 @@ git http-server,http,web framework,event sources,web sockets - 1.0.0.0 - 1.0.0.0 - 1.0.0.0-rc8 + 1.0 + 1.0 + 1.0 LICENSE.txt False