From cf8bf50c9fd7f26f445a7cb53e5c5b47839e680b Mon Sep 17 00:00:00 2001 From: mzack Date: Fri, 7 Jan 2022 07:41:32 +0100 Subject: [PATCH] fixing typo --- v2/pkg/protocols/headless/engine/rules.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/v2/pkg/protocols/headless/engine/rules.go b/v2/pkg/protocols/headless/engine/rules.go index 5aa0c91d..fe6831e4 100644 --- a/v2/pkg/protocols/headless/engine/rules.go +++ b/v2/pkg/protocols/headless/engine/rules.go @@ -66,7 +66,7 @@ func (p *Page) routingRuleHandler(ctx *rod.Hijack) { if respPayloads != nil { rawResp.WriteString("HTTP/1.1 ") rawResp.WriteString(fmt.Sprint(respPayloads.ResponseCode)) - rawResp.WriteString(" " + respPayloads.ResponsePhrase + "+\n") + rawResp.WriteString(" " + respPayloads.ResponsePhrase + "\n") for _, header := range respPayloads.ResponseHeaders { rawResp.WriteString(header.Name + ": " + header.Value + "\n") }