You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it reasonable to also accept parts with empty filenames as fields? Wouldn't a real file always have a filename?
I think that this could be seen as breaking change.
A minor change would be adding an option for a custom filtering handler which let the user decide whether a specific part should be handled as file or field.
The text was updated successfully, but these errors were encountered:
Prerequisites
馃殌 Feature Proposal
When crafting browser requests it doesn't seem possible to leave out the filename in case you want to send a blob:
Uses "glob" as filename.
Uses "" as filename.
Uses "null" as filename.
Therefore such requests are handled as file because of this undefined check:
https://github.com/mscdex/busboy/blob/master/lib/types/multipart.js#L174
Is it reasonable to also accept parts with empty filenames as fields? Wouldn't a real file always have a filename?
I think that this could be seen as breaking change.
A minor change would be adding an option for a custom filtering handler which let the user decide whether a specific part should be handled as file or field.
The text was updated successfully, but these errors were encountered: