

0 / 2 embers
0 / 3000 xp
click for more info
Complete a lesson to start your streak
click for more info
Difficulty: 3
click for more info
Not enough gems
Cost: 6 gems
1: Welcome
incomplete
2: Large Files
incomplete
3: Database
incomplete
4: Videos
incomplete
5: Multipart Uploads
incomplete
6: Encoding
incomplete
7: Using the Filesystem
incomplete
8: Mime Types
incomplete
9: Live Edits
incomplete
This lesson's interactive features are locked, please to keep using them
There are an infinite number of things we could consider "large files". But within the context of web development, the most common types of large files are probably:
A mime type is just a web-friendly way to describe format of a file. It's kind of like a file extension, but more standardized and built for the web.
Mime types have a type and a subtype, separated by a /. For example:
image/pngvideo/mp4audio/mp3text/htmlWhen a browser uploads a file via a multipart form, it sends the file's mime type in the Content-Type header.
Up until now we've allowed any file type to be uploaded as a thumbnail... let's fix that.
When you're done, answer the question.