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

Multipart body parser issue #167

Open
alkan opened this issue Sep 13, 2021 · 0 comments
Open

Multipart body parser issue #167

alkan opened this issue Sep 13, 2021 · 0 comments

Comments

@alkan
Copy link

alkan commented Sep 13, 2021

deno v1.13.2, servest v1.3.4

const form = await req.formData()
const file = form.file('myfile')

In such a simple script, it is expected that 'file' object should xe an array instance with a few extra prorerties. We, however, got a plain object wich 4 propertios belong to file metadata. The body_parser_test.ts unit test file fails due to isArray() assention, naturally.

Additionally, req.formData() operation takes 4500-4700 ms for a 23k file upload which is not reasonable I ,think.

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