Override (not filter) mime-type as binary/octet-stream #1037

Open
opened 2018-07-27 11:23:43 +00:00 by crunchfactory · 0 comments
crunchfactory commented 2018-07-27 11:23:43 +00:00 (Migrated from github.com)

Hi folks!
I need to override any specific file mime-type and send any file within the form as a binary/octet-stream - how might I do this? Basically override all of FileLikeObject in the file-type.class.ts - I notice you have allowedMimeType which filters, but I'm really trying to not have to hack this apart..

Hi folks! I need to override any specific file mime-type and send any file within the form as a binary/octet-stream - how might I do this? Basically override all of FileLikeObject in the file-type.class.ts - I notice you have allowedMimeType which filters, but I'm really trying to not have to hack this apart..
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: dc/ng2-file-upload#1037