Re:The Perils of File Typing
by ancarda on Sunday December 06, 2020 @11:36AM
(#25324544)
Seems the dollar is missing - I only see "mimetypeapplication/vnd.oasis.opendocument.text". Nevertheless, I really like this approach. I will remember it in future.
[ Parent
| on HN ]
The GP intended $ACTUALMIMETYPE to be read as a variable — there is no $ after replacement.