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

When upload files, headers "Content-Type", boundary, can't set xxx. #2788

Closed
kaimiyang opened this issue Feb 29, 2020 · 1 comment
Closed

Comments

@kaimiyang
Copy link

Content-Type: multipart/form-data; boundary=----`WebKitFormBoundaryGSLkrQR7ECGdZXis`

I want to set '----abcdefg', but can not set.

axios.post(url, formData, {
  headers: {
   'Content-Type': multipart/form-data; boundary=----abcdefg'
}
})

why can't set boundary value?

@chinesedfan
Copy link
Collaborator

Closed in favor of #1603.

@axios axios locked and limited conversation to collaborators May 22, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants