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

fix(useFetch): doesn't work with formData payload #2440

Merged
merged 2 commits into from Dec 23, 2022
Merged

fix(useFetch): doesn't work with formData payload #2440

merged 2 commits into from Dec 23, 2022

Commits on Nov 14, 2022

  1. fix(useFetch): doesn't work with formData payload (#1734)

    Content-Type should not be set for payload of formData type,  leave alone and let the browser do.
    
    reference: [Automatic Content-Type for FormData uploads](axios/axios@2f4d0b8)
    abitwhy committed Nov 14, 2022
    Copy the full SHA
    6d63dcb View commit details
    Browse the repository at this point in the history

Commits on Dec 21, 2022

  1. Copy the full SHA
    dbc150b View commit details
    Browse the repository at this point in the history