If I serve a file named image.jpg
the header content-type is sent as image/jpeg
, but if I make a softlink named image
that points to image.jpg
the content-type is sent as text/plain
.
Is there a way to send the same content type as if it were reading the original file?