Description
Content-Type headers can be detected from file magic bytes instead of only relying on names or extensions. It is useful for nginx deployments serving files where MIME accuracy matters.
Automatic MIME detection can still be wrong or incomplete. Test served file types and avoid relying on it as the only protection against unsafe uploads.