nmh-workers
[Top] [All Lists]

Re: [Nmh-workers] When send does not recognize a mime type

2012-09-11 08:13:07
Could send have an option that makes an unrecognized mime type an error?

I assume you mean an unrecognized file extension, because the MIME types
are kinda arbitrary and new ones are being added all of the time.

Do you really want that?  If a file is "unknown", the RFCs say that
the MIME type should fall back to application/octet-stream, and we do that.
I'm on the fence about the behavior where it attempts to auto-detect text,
but I see the utility there.  I'm just trying to understand why this would
be a good thing; I think send should generally try really hard to work
unless there are errors in the transport system.

--Ken

_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers

<Prev in Thread] Current Thread [Next in Thread>