[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Lynx-dev] Mime-types HELP
From: |
Thomas Dickey |
Subject: |
Re: [Lynx-dev] Mime-types HELP |
Date: |
Mon, 30 Jul 2012 05:52:23 -0400 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
On Sun, Jul 29, 2012 at 11:50:21PM -0500, address@hidden wrote:
> Re: Mime-types HELP
> Hi,
> I've been forced to research this topic, since Lynx omits any details:
>
> http://en.wikipedia.org/wiki/MIME_type
>
> http://en.wikipedia.org/wiki/List_of_HTTP_header_fields
>
> All browsers do the same thing with mime-types, but in different ways.
> What approach does Lynx use?
you can see part of this in the trace file - the headers include
a line "Accept:" which tells the server what lynx accepts.
After that, in the trace file it refers to building a stream stack,
which is complicated to explain :-(
When it retrieves the data, there's another header which
shows "Content-Type:", whose value corresponds to one of the
mime-types.
--
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net
signature.asc
Description: Digital signature