Add text media types are plain

This commit is contained in:
Joshua Peek
2011-06-02 12:16:43 -05:00
parent bcc2042768
commit f8c7bfeba3

View File

@@ -9,6 +9,8 @@ module MIME
def binary?
if defined? @binary
@binary
elsif media_type == 'text'
false
else
@encoding == 'base64'
end