Closed yooper closed 1 month ago
Thank you, it looks fine to me. Is the fact that compressed files are not supported (i.e. zip, self-extracting zip files) deliberate?
I have another question. Why don't you pass directly blob
to formData.append()
, without creating a File
instance in the rest-form-api module?
Thank you, it looks fine to me. Is the fact that compressed files are not supported (i.e. zip, self-extracting zip files) deliberate?
It was not deliberate. Just a lack of familiarity. I can follow up with a future PR to add the feature, after I dig into the code a little more.
I have another question. Why don't you pass directly
blob
toformData.append()
, without creating aFile
instance in the rest-form-api module?
I used an approach from a previous implementation. I will try to implement using a blob directly and follow up with a future PR if it is successful.
Thank you for accepting this feature into the code base.
I've just pushed the support of compressed files. Can you confirm it works fine for you? (I also removed the usage of File
)
I've just pushed the support of compressed files. Can you confirm it works fine for you? (I also removed the usage of
File
)
Yes, I can test and get you feedback before EOD.
Thank you!
@gildas-lormeau, I tested the following format options:
Thank you for the feedback, that's the expected result :).
Added Destination option for sending the page to an REST Form API endpoint.