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

please expose the formDataToStream for public use #6359

Open
fancy45daddy opened this issue Apr 17, 2024 · 0 comments
Open

please expose the formDataToStream for public use #6359

fancy45daddy opened this issue Apr 17, 2024 · 0 comments

Comments

@fancy45daddy
Copy link

Is your feature request related to a problem? Please describe.

  • I need to write my own adapter, i need to use formDataToStream to deal with multipart/form-data, but formDataToStream is not available in name space axios, I want to axios.formDataToStream to be available

Describe the solution you'd like

add

import formDataToStream from './helpers/formDataToStream.js';
axios.formDataToStream = formDataToStream;

to axios/lib/axios.js

Describe alternatives you've considered

No response

Additional context/Screenshots

No response

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

1 participant