Re: [Htmlparser-user] Check for HTML file
Brought to you by:
derrickoswald
From: Derrick O. <der...@gm...> - 2012-01-05 15:19:12
|
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 <sch...@gm...> 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 > |