Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question about the DisableForceMultipart #333

Closed
terasum opened this issue Mar 11, 2024 · 2 comments
Closed

Question about the DisableForceMultipart #333

terasum opened this issue Mar 11, 2024 · 2 comments

Comments

@terasum
Copy link

terasum commented Mar 11, 2024

I'm curious about :

req/request.go

Line 1105 in d0373d2

r.isMultiPart = true

// DisableForceMultipart disables force using multipart to upload form data.
func (r *Request) DisableForceMultipart() *Request {
	r.isMultiPart = true
	return r
}

maybe r.isMultiPart = flase is correct?

@imroc
Copy link
Owner

imroc commented Mar 12, 2024

Nice catch! Will be fixed later.

imroc added a commit that referenced this issue Mar 12, 2024
@imroc
Copy link
Owner

imroc commented Mar 12, 2024

It's been fixed in v3.43.1

@imroc imroc closed this as completed Mar 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants