From 7e8e5f43b18850689751eb29d709e737b8636fa9 Mon Sep 17 00:00:00 2001 From: roc Date: Tue, 12 Mar 2024 11:41:46 +0800 Subject: [PATCH] fix DisableForceMultipart (#333) --- request.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/request.go b/request.go index 7a5942a..79f69f4 100644 --- a/request.go +++ b/request.go @@ -1102,7 +1102,7 @@ func (r *Request) EnableForceMultipart() *Request { // DisableForceMultipart disables force using multipart to upload form data. func (r *Request) DisableForceMultipart() *Request { - r.isMultiPart = true + r.isMultiPart = false return r }