[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Lynx-dev] HTML Forms > Fileupload (RFC1867) > Content-Type
From: |
Thomas Dickey |
Subject: |
Re: [Lynx-dev] HTML Forms > Fileupload (RFC1867) > Content-Type |
Date: |
Wed, 07 Nov 2007 19:31:20 -0500 |
User-agent: |
Mutt/1.5.16 (2007-06-11) |
On Wed, Nov 07, 2007 at 10:40:59AM +0100, address@hidden wrote:
> Hi,
>
> when loading up a file to a webserver via an HTML Form, RFC 1867 suggests,
> that you set the Content-Type of the mime-part of the file to
> application/octet-stream, if the media-type is unknown. (see sections 3.3
> and 7 in RFC 1867)
>
> Lynx uses Content-Type: text/plain, when no suffix is matching. I have to
> admit, that the RFC is a bit unclear in section 7 about what the default
> Content-Type actually is, but IMHO it should default to the binary type
> (section 3.3 is clearer).
thanks
--
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net