incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Noah Slater <nsla...@apache.org>
Subject Re: Issue with null MIME type for attachments
Date Sun, 25 Jan 2009 20:25:48 GMT
On Mon, Jan 26, 2009 at 06:49:53AM +1030, Antony Blakey wrote:
> Treat a supplied null as an error.
>
> If mimetype isn't supplied, use a default based on the attachment name.

Default based on attachment name sounds misleadingly simple

I agree that this should be the way forward but we will need to:

  * ship a custom mime.types configuration file under /etc
  * know how to read the system mime.types file usually at /etc/mime.types
  * know how to pick up any other user supplied mime.types file
  * add configuration options for this in the ini files

Check your local mime.types file for more hints. The format is pretty simple.

-- 
Noah Slater, http://tumbolia.org/nslater

Mime
View raw message