Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 212
  • Last Modified:

Linux mime: Wrong Value for CSS Files

echo `file -ib default.css`

Open in new window

That returns this:
text/x-c; charset=us-ascii

Open in new window

Why doesn't it return:
text/css;charset=us-ascii

Open in new window

How can I get it to return the desired result?
0
hankknight
Asked:
hankknight
1 Solution
 
MazdajaiCommented:
File has a known bug / issue around for some time to detect the correct mime type. I am not sure if it has been fixed.

I suggest using an alternative method to detect MIME.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now