Module | MIME::Headers::MIME |
In: |
lib/mime/headers/mime.rb
|
The RFC 2045 MIME message header fields.
content_description | [R] | |
content_disposition | [R] | |
content_id | [R] | |
content_transfer_encoding | [R] | |
content_type | [R] | |
mime_version | [R] |
Specifies the disposition of the content relative to its enclosing message. Valid values for disposition are inline and attachment. Parameters can also be specified here; see the RFC for details.
RFC 2183 Communicating Presentation Information in Internet Messages.
Globally unique ID that identifies a top-level message or message entity. Content IDs can be used for referencing or caching purposes.
The mechanism used for encoding the top-level message content.
Common Encoding Mechanisms
Specifies the media type and subtype of the content. type will have the form media-type/subtype.
Common Content Types
type is the disposition type of either "inline" or "attachment". params is a Hash with zero or more of the following keys:
* filename => name of file * creation-date => RFC2822 data-time * modification-date => RFC2822 data-time * read-date => RFC2822 data-time * size => file size in octets
The values for the *-date keys may use Time::rfc2822.