It seems that the submitter hasn't applied it
My hypothesis is that HN's detection only looks for file extension, not content type headers, because it doesn't fetch the submission itself.