Skip to content

Commit

Permalink
fix DisableForceMultipart (#333)
Browse files Browse the repository at this point in the history
  • Loading branch information
imroc committed Mar 12, 2024
1 parent d0373d2 commit 7e8e5f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion request.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 7e8e5f4

Please sign in to comment.