From b6215597bd127d757a66812ff19e86aa3d83ed4d Mon Sep 17 00:00:00 2001 From: k4n5ha0 <9199771@qq.com> Date: Fri, 5 Apr 2024 10:11:13 +0800 Subject: [PATCH] Update processor.go to fix bug \r\n not \r\nr --- internal/processor.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/processor.go b/internal/processor.go index 9cdd436..b5097c1 100644 --- a/internal/processor.go +++ b/internal/processor.go @@ -56,7 +56,7 @@ func RequestProcessor(tx types.Transaction, reader io.Reader) error { } tx.ProcessURI(url, method, protocol) tx.ProcessRequestHeaders() - if _, _, err := tx.WriteRequestBody([]byte(strings.Join(bodybuffer, "\r\nr"))); err != nil { + if _, _, err := tx.WriteRequestBody([]byte(strings.Join(bodybuffer, "\r\n"))); err != nil { return err } if _, err := tx.ProcessRequestBody(); err != nil {