Previous Section Next Section

Content-Disposition:

How MIME contents should be disposed RFC2183

The MIME Content-Disposition: header specifies how a MIME attached file should be handled. The form of the Content-Disposition: header looks like this:

Content-Disposition: parameter=value ... 

Here, the value for this header is a sequence of one or more equates, each separated from the others by one or more space or tab characters. The legal parameters are shown in Table 25-12.

Table 25-12. Content-Disposition: parameters

Parameter

Description of value

filename

The name of the file into which to save the contents. This can be a full path specification. In general, automatically honoring this equate represents a risk.

creation-date

The original time and date the content was created.

modification-date

The time and date the content was last modified.

read-date

The time and date the content was last read.

size

The size in bytes of the content.

In general, the Content-Disposition: header should be advisory.

Previous Section Next Section