[Bug 210537] [patch] [feature request] set MIME type in cron-generated e-mails

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Dec 13 13:37:15 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210537

--- Comment #18 from Mikhail T. <mi at ALDAN.algebra.com> ---
(In reply to Eugene Grosbein from comment #16)
> Wouldn't it better to use MAGIC_MIME_ENCODING instead of MAGIC_MIME

I still need the mime type to populate the Content-Type header. I do not need
the charset in it, but it does not seem to harm anything.

I could split it into two calls -- one for MAGIC_MIME_TYPE and another for
MAGIC_MIME_ENCODING, but I thought it'd be more to your liking to reduce the
amount of conversations with libmagic.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list