Closed Kleak closed 2 years ago
Did you consume the request form data body with const form = await req.formData()
?
I don't have the opportunity since an almost empty endpoint give me the connection was reset 😟
And It look like the connection was reset before coming to my code.
Would you mind creating a little demo project so I can reproduce the issue?
Would you mind creating a little demo project so I can reproduce the issue?
I will create one probably tomorrow
Here is a repo with the problem : https://github.com/Kleak/fresh-file-upload-bug
go to http://localhost:8000/upload and try upload a file you should see a page with Audiobook !
but you see This site can't be reached
on chrome and The connection was reset
on firefox
I activate deno deploy so you can try here https://fresh-file-upload-bug.deno.dev/upload look like nothing is sent when we validate the form
I found the problem
@Kleak
I found the problem
Please can you share the solution.
I found the problem
It will be great if you can share the problem.
I'm trying to upload files with fresh so i put this form into a pages :
/api/audiobooks/ looks like this :
and when i send the form i got
Does multipart/form-data supported by fresh ? if yes how can i get it working ? any examples ?