ȸ¿ø°¡ÀԡžÆÀ̵ð/ºñ¹øã±â
ȨÀ¸·Î

HTTP Content - Type Á¤¸®
9³â Àü
ASP <% Response.ContentType = "text/html" %>
JSP <%@ page 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) XML MediaÀÇ Å¸ÀÔ
  - Content-Type: text/xml
  - Content-Type: Application/xml
  - 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 RFC 1767
  - Content-Type: Application/EDIFACT <--  Defined in RFC 1767
  - Content-Type: Application/javascript <-- Defined in RFC 4329
  - Content-Type: Application/octet-stream  : <-- µðÆúÆ® ¹Ìµð¾î ŸÀÔÀº ¿î¿µÃ¼Á¦ Á¾Á¾ ½ÇÇàÆÄÀÏ, ´Ù¿î·Îµå¸¦ ÀǹÌ
- Content-Type: Application/ogg <-- Defined in RFC 3534
  - Content-Type: Application/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 other MPEG audio
- Content-Type: audio/x-ms-wma <-- Windows Media Audio;
- Content-Type: audio/vnd.rn-realaudio <--  RealAudio;  µîµî

5) Multipart ŸÀÔ
- Content-Type: multipart/mixed: MIME E-mail;
- Content-Type: multipart/alternative: MIME E-mail;
- Content-Type: multipart/related: MIME E-mail <-- Defined in RFC 2387 and used by MHTML(HTML mail)
- Content-Type: multipart/formed-data  <-- ÆÄÀÏ Ã·ºÎ

6) TEXT ŸÀÔ
- Content-Type: text/css
- Content-Type: text/html
- Content-Type: text/javascript
- Content-Type: text/plain
- Content-Type: text/xml

Á»´õ ´Ù¾çÇÑ Æ÷¸Ë¿¡ ´ëÇؼ­´Â ¾Æ·¡ÀÇ URLÀ» Âü°íÇϱ⠹ٶø´Ï´Ù.
http://www.iana.org/assignments/media-types/
ÃßõÃßõ : 454 Ãßõ ¸ñ·Ï
¹øÈ£ Á¦¸ñ
2,675
[Shoutcast] ÇöÀç Ç÷¹À̵Ǵ °î¸í ½ºÅ©¸³Æ® PHP
2,674
[Shoutcast] ½ºÆ®¸®¹Ö ³ë·¡Á¦¸ñÀ» º¯°æ ½ºÅ©¸³Æ®
2,673
Shoutcast PHP Scripts
2,672
FTP¿¡¼­ »èÁ¦ ¾ÈµÇ´Â ÆÄÀÏÀ̳ª Æú´õ »èÁ¦Çϱâ
2,671
SHOUTcast ¸¦ ÀÌ¿ëÇÑ ÀÎÅÍ³Ý ¶óÀÌºê ¹æ¼Û ½Ã½ºÅÛ ±¸Ãà
2,670
DAUM ¿ìÆí¹øÈ£ ¼­ºñ½º È°¿ëÇϱâ
2,669
½ÇÇàÁß PHP ¿¡·¯ ¸Þ½ÃÁö ·¹º§ Á¶Á¤Çϱâ
2,668
PHP ÀÎÁ§¼Ç°ú file get contentsÀÇ °ü°è
2,667
¹®ÀÚ¿­ ±ÛÀÚ ¼ø¼­ °Å²Ù·Î µÚÁý±â, ¾ÕµÚ ¹ÝÀü Reverse String
2,666
¹è¿­ ¿ä¼Ò ¼ø¼­ °Å²Ù·Î µÚÁý±â, ¾ÕµÚ ¹ÝÀü Reverse Array
2,665
php ¸Þ¸ð¸® »ç¿ë
2,664
ÀÚ¹Ù½ºÅ©¸³Æ® ³»ºÎ °´Ã¼ º¸±â
2,663
ÀÚ¹Ù ½ºÅ©¸³Æ® ¼ýÀÚ Ã³¸® ÄÞ¸¶ ó¸®
2,662
ÀÚ¹Ù½ºÅ©¸³Æ® Base64 encode, decode
2,661
PHP ¹®ÀÚ¿­ °ü·Ã ÇÔ¼ö
2,660
[php] ¹®ÀÚ¿­À» ³ª´©°Å³ª ÇÕÄ¡´Â explode, implode ÇÔ¼ö
2,659
php ¹®ÀÚ¿­ ÀÚ¸£±â ³ª´©±â ºÐ¸®Çϱâ - explode() , split()
2,658
DB Á¢±Ù ¹× Äõ¸®¹®(insert,select,update,delete)
2,657
[MySQL] Çʵ忡¼­ ƯÁ¤¹®ÀÚ Æ÷ÇÔ ¶Ç´Â Á¦¿ÜÇÑ DB °Ë»ö, LIKE ,NOT
2,656
php5 mysqli µðºñ Á¢¼Ó Ŭ·¡½º ÇÁ·Î±×·¥ ¹× »ç¿ë¹ý
2,655
PHP ¹®ÀÚ¿­ ³ª´©±â - explode()
2,654
[PHP] ¹è¿­ Array
2,653
php ¹è¿­
2,652
[php] Array() ¹è¿­À̶õ?
2,651
PHP ¹è¿­ ÇÔ¼ö Á¤¸®
2,650
PHP ±âº»ÀûÀÎ ¹è¿­ »ç¿ë¹ý
2,649
html¿¡¼­ ÀÔ·ÂÇÑ°ª DB¿¡¼­ ¹Þ¾Æ¿À±â (µµ¼­Á¤º¸ °Ë»ö)
2,648
SQL Äõ¸® Á¤¸®
2,647
[MySql]DB¿¡¼­ ¼­·Î ´Ù¸¥ Å×À̺íÀÇ µ¥ÀÌÅ͸¦ Çѹø¿¡ ºÒ·¯¿À±â
2,646
jquery checkbox Àüü ¼±ÅÃ, Àüü ÇØÁ¦, üũ °ª ÃßÃâ
¸ñ·Ï
¹ÂÁ÷Æ®·ÎÆ® ºÎ»ê±¤¿ª½Ã ºÎ»êÁø±¸ °¡¾ßµ¿ ¤Ó °³ÀÎÁ¤º¸Ãë±Þ¹æħ
Copyright ¨Ï musictrot All rights reserved.