HEX
Server: Apache
System: Linux s198.coreserver.jp 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC 2025 x86_64
User: nagasaki (10062)
PHP: 7.1.33
Disabled: NONE
Upload Files
File: //usr/local/rvm/gems/ruby-2.7.4/gems/mail-2.7.1/lib/mail/parsers/rfc2183_content_disposition.rl
%%{
  # RFC 2183 The Content-Disposition Header Field
  # https://tools.ietf.org/html/rfc2183#section-2
  #
  # TODO: recognize filename, size, creation date, etc.
  machine rfc2183_content_disposition;
  alphtype int;

  include rfc2045_content_type "rfc2045_content_type.rl";

  disposition_type = 'inline'i | 'attachment'i | extension_token;
  disposition_parm = parameter;
  disposition = (disposition_type >disp_type_s %disp_type_e)
                (";" disposition_parm)*;
}%%