Open sanjarcode opened 1 year ago
Just a list of requirements, not the study plan
A surprise in the browser File API. https://stackoverflow.com/a/42288675
I had a task which required the file type (MIME type) to be changed before upload - it felt very hard to do, turned out it's not trivially possible. Code: _volopay_privaterepo
https://en.wikipedia.org/wiki/Principle_of_least_astonishment :gun: :sweat:
Study, prepare reusable snippets related to file uploads (web/browsers)
Basics
<input type="file" />
, more attributes (likeaccept
)Form
,FormData
,FileList
,File
,Blob
,Buffer
, why do they use "generator" behavior instead of arrays, POJOfying stuff, why read only behavior, snippetsmultipart/formdata
data Content-TypeAlso libraries/frameworks/resources for snippets
Advanced: