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
|headers| object/function(blob) | {} | http headers to post, available in modern browsers. Can be a function that takes in the result of transformFile |
The text was updated successfully, but these errors were encountered:
michaelfarrell76
changed the title
Handling dynamic headers
Handling dynamic headers from transformFile
Jan 22, 2020
Hi there!
We have a situation where we use rc-upload in the following manner:
transformFile
to encrypt the contents of that file on the browserIt would be great if headers could also be a function that takes in the result of transformFile and returns the headers.
I tried to make a PR for this but it was not possible bc of permissions.
The changes to do this are pretty quick:
in AjaxUploader.tsx
change
to
and also update the README comment to me
The text was updated successfully, but these errors were encountered: