Removed obsolete calls to readAsBinaryString()
(now simulated with readAsArrayBuffer()
). Also removed fd.toBinary()
. Verified to work on 60 MiB files in latest Chrome and Firefox.
Also added two extra headers when sending files: X-File-Type
(MIME) and X-File-Date
(GMT; modification date or //now// if unknown).