Closed timkurvers closed 8 years ago
Express' Response#type-method will set the correct content type based on extension.
Response#type
Among other things, this allows audio files to be played inline rather than prompting a download:
Fantastic!
Express'
Response#type
-method will set the correct content type based on extension.Among other things, this allows audio files to be played inline rather than prompting a download: