From e0b0907f2531224c6042e98f420e936e75839f6c Mon Sep 17 00:00:00 2001 From: m4xx1m Date: Mon, 15 Jul 2024 16:40:59 +0300 Subject: [PATCH] fix typo (#331) --- cycletls/index.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cycletls/index.go b/cycletls/index.go index c362f9fa..9070d788 100644 --- a/cycletls/index.go +++ b/cycletls/index.go @@ -148,12 +148,12 @@ func processRequest(request cycleTLSRequest) (result fullRequest) { } } - headeOrder := parseUserAgent(request.Options.UserAgent).HeaderOrder + headerOrder := parseUserAgent(request.Options.UserAgent).HeaderOrder //ordering the pseudo headers and our normal headers req.Header = http.Header{ http.HeaderOrderKey: headerorderkey, - http.PHeaderOrderKey: headeOrder, + http.PHeaderOrderKey: headerOrder, } //set our Host header u, err := url.Parse(request.Options.URL)