Why write script type=”text/javascript” when the mime type is set by the server?

Douglas Crockford says: type=”text/javascript” This attribute is optional. Since Netscape 2, the default programming language in all browsers has been JavaScript. In XHTML, this attribute is required and unnecessary. In HTML, it is better to leave it out. The browser knows what to do. He also says: W3C did not adopt the language attribute, favoring instead a type attribute … Read more

HTTP Error 404.3-Not Found in IIS 7.5

You should install IIS sub components from Control Panel -> Programs and Features -> Turn Windows features on or off Internet Information Services has subsection World Wide Web Services / Application Development Features There you must check ASP.NET (.NET Extensibility, ISAPI Extensions, ISAPI Filters will be selected automatically). Double check that specific versions are checked. Under Windows Server 2012 R2, these options are split into 4 & 4.5. … Read more

Correct mime type for .mp4

According to RFC 4337 § 2, video/mp4 is indeed the correct Content-Type for MPEG-4 video. Generally, you can find official MIME definitions by searching for the file extension and “IETF” or “RFC”. The RFC (Request for Comments) articles published by the IETF (Internet Engineering Taskforce) define many Internet standards, including MIME types.