From f78770749465f2bfa138c55b88d0129f5ee9002d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=9B=BD=E4=BC=9F?= <366193849@qq.com> Date: Fri, 18 Jun 2021 15:50:58 +0800 Subject: [PATCH] =?UTF-8?q?https=E4=BD=BF=E7=94=A8head=E6=89=AB=E6=8F=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- FastGithub.Scanner/ScanMiddlewares/HttpsScanMiddleware.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FastGithub.Scanner/ScanMiddlewares/HttpsScanMiddleware.cs b/FastGithub.Scanner/ScanMiddlewares/HttpsScanMiddleware.cs index f026da0..8d55356 100644 --- a/FastGithub.Scanner/ScanMiddlewares/HttpsScanMiddleware.cs +++ b/FastGithub.Scanner/ScanMiddlewares/HttpsScanMiddleware.cs @@ -50,7 +50,7 @@ namespace FastGithub.Scanner.ScanMiddlewares var request = new HttpRequestMessage { - Method = HttpMethod.Get, + Method = HttpMethod.Head, RequestUri = new Uri($"https://{context.Address}"), }; request.Headers.Host = context.Domain;