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

MultipartReader.readForm().entries() does not contain all values for same name #716

Closed
jd1378 opened this issue Feb 9, 2021 · 1 comment · Fixed by #722
Closed

MultipartReader.readForm().entries() does not contain all values for same name #716

jd1378 opened this issue Feb 9, 2021 · 1 comment · Fixed by #722

Comments

@jd1378
Copy link
Contributor

jd1378 commented Feb 9, 2021

I was writing a test for one of my modules when I got into this issue.
If data is an array (appending to form data with same name multiple times), I cannot retrieve all values for the same name.
I have made a repo for reproducing this issue.
I also made an extra test (go_test.ts) for doing the same test with a simple go multipart echo server to make sure that the fetch is sending the data (it does).

still, I'm not sure if I'm doing it wrong or it is really a bug.

@jd1378
Copy link
Contributor Author

jd1378 commented Feb 11, 2021

I'll make a pr very soon (today)

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

Successfully merging a pull request may close this issue.

1 participant