Sun Java System Messaging Server 6 2005Q4 관리 설명서

Content-type 헤더

MIME Content-Type 헤더는 본문 부분의 내용을 설명합니다. Content-Type 헤더 형식의 예를 들면 다음과 같습니다.

Content-type: type/ subtype; parameter1=value; parameter2=value...

type은 본문 부분의 내용 유형을 설명합니다. 유형의 예로는 Text, Multipart, Message, Application, Image, Audio, Video 등이 있습니다.

subtype은 내용 유형을 자세히 설명합니다. 각 Content-type에는 자체 하위 유형 집합이 있습니다. 예를 들어,text/plain, application/octet-stream, image/jpeg 등이 있습니다. MIME 메일에 대한 내용 하위 유형은 IANA(Internet Assigned Numbers Authority)에 의해 지정되고 나열됩니다. 목록 복사본은 http://www.iana.org/assignments/media-types에 있습니다.

parameter는 Content-type/subtype 쌍에 한정됩니다. charsetname 매개 변수의 예를 들면 다음과 같습니다.


Content-type: text/plain; charset=us-ascii
Content-type: application/msword; name=temp.doc

charset 매개 변수는 텍스트 메일의 문자 세트를 지정합니다. name 매개 변수는 데이터를 파일로 작성할 경우 사용할 파일 이름을 제안합니다.


주 –

Content-Type 값, subtypes 및 매개 변수 이름은 대/소문자를 구분합니다.