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

XMLHttpRequest.responseType for upload component #3666

Closed
kieste opened this issue Sep 2, 2022 · 1 comment
Closed

XMLHttpRequest.responseType for upload component #3666

kieste opened this issue Sep 2, 2022 · 1 comment
Labels
feature request New feature or request

Comments

@kieste
Copy link

kieste commented Sep 2, 2022

This function solves the problem (这个功能解决的问题)

I can set the responseType of upload components XMLHttpRequest so that I don't need to parse the response by myself.

see: https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/responseType

Expected API (期望的 API)

<n-upload
    responseType="json|arraybuffer|blob|document|text">
</n-upload>
@github-actions github-actions bot added the feature request New feature or request label Sep 2, 2022
@07akioni
Copy link
Collaborator

07akioni commented Sep 4, 2022

Good suggestion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants