On Thu, 2011-12-22 at 23:18 +0000, Harriet Bazley wrote:
> On 22 Dec 2011 as I do recall,
>           Brian Bailey  wrote:
> 
> > >From time to time, when accessing a website, I see Fetching.BadType.
> >
> > What is the significance of this information, please?
> >
> I believe it indicates an image which, when fetched, turns out not to be
> the type the server declared it to be (e.g. a GIF served with an image
> type of JPEG).

No. It simply means that an object being fetched is unacceptable for
some reason. Usually, this occurs when a site serves an object in a
format that NetSurf does not support, or if it tries to serve a CSS
stylesheet, say, in place of an image. It may also occur if NetSurf is
completely unable to compute a type for the object, though this is a
much rarer scenario.

> Certain Windows browsers ignore the image type information and only look
> at the filename....

Perhaps surprisingly, the filename is about the one thing they don't
look at. Instead, in certain circumstances, they inspect the data served
to them for signatures of known types. 

NetSurf does this, too. Hence why, a GIF served as a JPEG is still
treated as a GIF by NetSurf.


John-Mark.


Reply via email to