Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 209
  • 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

Featured Post

Veeam Task Manager for Hyper-V

Task Manager for Hyper-V provides critical information that allows you to monitor Hyper-V performance by displaying real-time views of CPU and memory at the individual VM-level, so you can quickly identify which VMs are using host resources.

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