How to download URL and get MIME type?

How to download URL and get MIME type?

A while back I needed to download a URL and determine the MIME type. Fortunately many web servers will send the MIME type of the resource back to the client (so browsers even require it). Here is a snippet of C# code that does the trick.
Fixing IE Quirks Mode in ASP.Net

Fixing IE Quirks Mode in ASP.Net

Quirks mode refers to a technique used by some web browsers for the sake of maintaining backward compatibility with web pages designed for older browsers, instead of strictly complying with W3C and IETF standards in standards mode. Here's how to force IE into submission by adding a DLL to ASP.Net.

Tweet to codeplex