Re: Check for HTML file

Derrick Oswald <[email protected]> Thu, 5 Jan 2012 16:19:06 +0100
Newsgroups gmane.comp.parsers.htmlparser.user
Message-ID <CAFVdc0CqieFJoF43MprYhBwXuLpw4bnmF5pC3ZfNEzUdDexmFw@mail.gmail.com>
Hi Steve,

The HTTP header information can be inspected, using the class
ConnectionMonitor and/or ConnectionManager,
but often there are misconfigured or malicious web servers that say
one mime type in the header while serving up a different type in the
content.

Derrick

On Wed, Jan 4, 2012 at 8:51 PM, Stefan Schindler <[email protected]> wrote:
> Hi,
> I was wondering, if there is the possibility to check, IF the file to
> inspect is a html file (and not, for instance, pdf).
>
> Greets,
> Steve
>

------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox