¿ù°£ Àα⠰Խù°

°Ô½Ã¹° 138°Ç
   
HTTP Content-Type
±Û¾´ÀÌ : ÃÖ°í°ü¸®ÀÚ ³¯Â¥ : 2010-09-02 (¸ñ) 15:45 Á¶È¸ : 10637
±ÛÁÖ¼Ò :
                          

Ãâó : http://ding.textcube.com/32


¾ð¾î¿¡ µû¸¥ ¼±¾ð ¹æ½Ä

ASP <%<% Response.ContentType = "text/html" %>
JSP <%@ pagepage contentType="text/html" %>
PHP <?PHP header("Content-Type:text/html"); ?>
Perl print "Content-type: text/html\n\n";


Content-Type ÀÇ Á¾·ù
1) Multipart Related MIME ŸÀÔ
   - Content-Type: Multipart/related <-- ±âº»ÇüÅÂ
  - Content-Type: Application/X-FixedRecord
2)2) XML MediaÀÇ Å¸ÀÔ
 - Content-Type: text/xml
 - Content-Type: Application/xml
 - Content-Type:Content-Type: Application/xml-external-parsed-entity
 - Content-Type: Application/xml-dtd
 - Content-Type: Application/mathtml+xml
 - Content-Type: Application/xslt+xml
3) ApplicationÀÇ Å¸ÀÔ
 - Content-Type: Application/EDI-X12 <--  Defined in RFCRFC 1767
 - Content-Type: Application/EDIFACT <--  Defined in RFC 1767
 - Content-Type: Application/javascript <-- Defined in RFC 4329
 - Content-Type:Content-Type: Application/octet-stream  : <-- µðÆúÆ® ¹Ìµð¾î ŸÀÔÀº ¿î¿µÃ¼Á¦ Á¾Á¾ ½ÇÇàÆÄÀÏ, ´Ù¿î·Îµå¸¦ ÀǹÌÀǹÌ
 - Content-Type: Application/ogg <-- Defined in RFC 3534
 - Content-Type: Application/x-shockwave-flashApplication/x-shockwave-flash <-- Adobe Flash files
 - Content-Type: Application/json <-- Javascript Object Notation JSON; Defined in RFC 4627
 - Content-Type: Application/x-www-form-urlencode <-- HTML Form ÇüÅÂÇüÅÂ
* x-www-form-urlencode¿Í multipart/form-dataÀº µÑ´Ù Æû ÇüÅÂÀÌÁö¸¸ x-www-form-urlencodeÀº ´ë¿ë·® ¹ÙÀ̳ʸ®¹ÙÀ̳ʸ® Å×ÀÌÅ͸¦ Àü¼ÛÇϱ⿡ ºñ´É·üÀûÀ̱⠶§¹®¿¡ ´ëºÎºÐ ÷ºÎÆÄÀÏÀº multipart/form-data¸¦ »ç¿ëÇÏ°Ô µÈ´Ù.

4) ¿Àµð¿À ŸÀÔ
- Content-Type: audio/mpeg <-- MP3 or otherother MPEG audio
- Content-Type: audio/x-ms-wma <-- Windows Media Audio;
- Content-Type:Content-Type: audio/vnd.rn-realaudio <--  RealAudio;  µîµî
5) Multipart ŸÀÔ
- Content-Type:Content-Type: multipart/mixed: MIME E-mail;
- Content-Type: multipart/alternative: MIME E-mail;
- Content-Type:Content-Type: multipart/related: MIME E-mail <-- Defined in RFC 2387 and used byby MHTML(HTML mail)
- Content-Type: multipart/formed-data  <-- ÆÄÀÏ Ã·ºÎ
6)6) TEXT ŸÀÔ
- Content-Type: text/css
- Content-Type: text/html
- Content-Type:Content-Type: text/javascript
- Content-Type: text/plain
- Content-Type: text/xml
Á»´õ ´Ù¾çÇÑ Æ÷¸Ë¿¡Æ÷¸Ë¿¡ ´ëÇؼ­´Â ¾Æ·¡ÀÇ URLÀ» Âü°íÇϱ⠹ٶø´Ï´Ù.
http://www.iana.org/assignments/media-types/

À̸§ Æнº¿öµå
ºñ¹Ð±Û (üũÇÏ¸é ±Û¾´À̸¸ ³»¿ëÀ» È®ÀÎÇÒ ¼ö ÀÖ½À´Ï´Ù.)
¿ÞÂÊÀÇ ±ÛÀÚ¸¦ ÀÔ·ÂÇϼ¼¿ä.
   

 



 
»çÀÌÆ®¸í : ¸ðÁö¸®³× | ´ëÇ¥ : ÀÌ°æÇö | °³ÀÎÄ¿¹Â´ÏƼ : ·©Å°´åÄÄ ¿î¿µÃ¼Á¦(OS) | °æ±âµµ ¼º³²½Ã ºÐ´ç±¸ | ÀüÀÚ¿ìÆí : mojily°ñ¹ðÀÌchonnom.com Copyright ¨Ï www.chonnom.com www.kyunghyun.net www.mojily.net. All rights reserved.