about summary refs log tree commit homepage
path: root/lib/PublicInbox/EmlContentFoo.pm
diff options
context:
space:
mode:
authorEric Wong <e@yhbt.net>2020-05-10 09:42:02 +0000
committerEric Wong <e@yhbt.net>2020-05-10 19:43:46 +0000
commita91871ec6b607d73502ee447af8ccc9e4bfe5098 (patch)
tree8c13d93fc9e96eb9ff97090be24fb18cf160ef93 /lib/PublicInbox/EmlContentFoo.pm
parent9ab3c55b283b0cc1b4298fc95439cc1dfae14305 (diff)
downloadpublic-inbox-a91871ec6b607d73502ee447af8ccc9e4bfe5098.tar.gz
We don't have to worry about compatibility with old
installations of Email::MIME::ContentType any longer,
so save some space.
Diffstat (limited to 'lib/PublicInbox/EmlContentFoo.pm')
-rw-r--r--lib/PublicInbox/EmlContentFoo.pm10
1 files changed, 0 insertions, 10 deletions
diff --git a/lib/PublicInbox/EmlContentFoo.pm b/lib/PublicInbox/EmlContentFoo.pm
index e6005d29..c163eaf5 100644
--- a/lib/PublicInbox/EmlContentFoo.pm
+++ b/lib/PublicInbox/EmlContentFoo.pm
@@ -102,11 +102,6 @@ sub parse_content_type {
                 type           => $type,
                 subtype        => $subtype,
                 attributes => $attributes,
-
-                # This is dumb.  Really really dumb.  For backcompat. -- rjbs,
-                # 2013-08-10
-                discrete   => $type,
-                composite  => $subtype,
         };
 }
 
@@ -301,11 +296,6 @@ This routine parses email content type headers according to section 5.1 of RFC
 a hash as above, with entries for the C<type>, the C<subtype>, and a hash of
 C<attributes>.
 
-For backward compatibility with a really unfortunate misunderstanding of RFC
-2045 by the early implementors of this module, C<discrete> and C<composite> are
-also present in the returned hashref, with the values of C<type> and C<subtype>
-respectively.
-
 =func parse_content_disposition
 
 This routine is exported by default.