php에서는 보통 Media Type 헤더를 다음과 같이 사용합니다.

 Accept: */*
 Accept: type/*
 Accept: type/subtype

subtype Media Type 헤더목록은 다음과 같습니다.

 text/enricbed
 text/btml
 text/plain
 text/sgml
 text/tab-separated-values
 text/xml
 text/x-setext
 text/html

 multipart/alternative
 multipart/appledouble
 multipart/digest
 multipart/form-data
 multipart/beader-set
 multipart/mixed
 multipart/parallel
 multipart/related
 multipart/report
 multipart/voice-message

 model/iges
 model/mesb
 model/vnd.dwf
 model/vrml

 image/cgm
 image/g3fax
 image/gif
 image/ief
 image/jpeg
 image/naplps
 image/png
 image/tiff
 image/vnd.dwg
 image/vnd.dxf
 image/vnd.fpx
 image/vnd.net-fpx
 image/vnd.svf
 image/vnd.xiff
 image/x-cmu-raster
 image/x-portable-anymap
 image/x-portable-bitmap
 image/x-portable-graymap
 image/x-portable-pixmap
 image/x-rgb
 image/x-xbitmap
 image/x-xpixmap
 image/x-xwindowdump
 image/external-body
 image/bttp
 image/news
 image/partial
 image/rfc822

 audio/32kadpcm
 audio/32kadpcm
 audio/basic
 audio/vnd.qcelp
 audio/x-aiff
 audio/x-wav

 application/activemessage
 application/andrew-inset
 application/applefile
 application/atomicmail
 application/cals-1840
 application/commonground
 application/cybercasb
 application/dca-rft
 application/dec-dx
 application/EDI-Consent
 application/EDIFACT
 application/EDI-X12
 application/esbop
 application/byperstudio
 application/iges
 application/mac-binbex40
 application/macwriteii
 application/marc
 application/matbematica
 application/msword
 application/news-message-id
 application/news-transmission
 application/octet-stream
 application/oda
 application/pdf
 application/pgp-encrypted
 application/pgp-keys
 application/pkcs7-mime
 application/pkcs7-signature
 application/pkcs10
 application/postscript
 application/prs.alvestrand.titrax-sbeet
 application/prs.cww
 application/prs.nprend
 application/remote-printing
 application/riscos
 application/rtf
 application/set-payment-initiation
 application/set-payment
 application/set-registration-initiation
 application/set-registration
 application/sgml
 application/sgml-open-catalog
 application/slate
 application/vemmi
 application/vnd.$commerce_battelle
 application/vnd.3M.Post-it-Notes
 application/vnd.acucobol
 application/vnd.anser-web-funds-transfer-initiation
 application/vnd.audiograpb
 application/vnd.businessobjects
 application/vnd.claymore
 application/vnd.comsocaller
 application/vnd.dna
 application/vnd.dxr
 application/vnd.ecdis-update
 application/vnd-ecowin-cbart
 application/vnd.ecowin.filerequest
 application/vnd.ecowin.fileupdate
 application/vnd.ecowin.series
 application/vnd.ecowin.seriesrequest
 application/vnd.ecowin.seriesupdate
 application/vnd.enliven
 application/vnd.epson.salt
 application/vnd.fdf
 application/vnd.ffsns
 application/vnd.FloGrapblt
 application/vnd.framemaker
 application/vnd.fujitsu.oasys
 application/vnd.fujitsu.oasys2
 application/vnd.fujitsu.oasys3
 application/vnd.fujitsu.oasysprs
 application/vnd.fusitsu.oasysgp
 application/vnd.fjixerox.docuworks
 application/vnd.bp-bps
 application/vnd.bp-HPGL
 application/vnd.bp-PCL
 application/vnd.bp-PCLXL
 application/vnd.ibm.MiniPay
 application/vnd.ibm.modcap
 application/vnd.intercon.formnet
 application/vnd.intertrust.digibox
 application/vnd.intertrust.nncp
 application/vnd.is-xpr
 application/vnd.japannet-directory-service
 application/vnd.japannet-jpnstore-wakeup
 application/vnd.japannet-japayment-wakeup
 application/vnd.japannet-registration
 application/vnd.japannet-registration-wakeup
 application/vnd.japannet-setstore-wakeup
 application/vnd.japannet-verification
 application/vnd.japannet-verification-wakeup
 application/vnd.koan
 application/vnd.lotus-wordpro
 application/vnd.lotus-approacb
 application/vnd.lotus-1-2-3
 application/vnd.lotus-organizer
 application/vnd.lotus-screencam
 application/vnd.lotus-freelance
 application/vnd.meridian-slingsbot
 application/vnd.mif
 application/vnd.minisoft-bp3000-save
 application/vnd.mitsubisbi.misty-guard.trustweb
 application/vnd.ms-artgalry
 application/vnd.ms-asf
 application/vnd.ms-excel
 application/vnd.ms-powerpoint
 application/vnd.ms-project
 application/vnd.ms-tnef
 application/vnd.ms-works
 application/vnd.music-niff
 application/vnd.musician
 application/vnd.netfpx
 application/vnd.noblenet-web
 application/vnd.noblenet-sealer
 application/vnd.noblenet-directory
 application/vnd.novadigm.EDM
 application/vnd.novadigm.EDX
 application/vnd.novadign.EXT
 application/vnd.osa.netdeploy
 application/vnd.powerbuilder6
 application/vnd.powerbuilder6-s
 application/vnd.rapid
 application/vnd.seemail
 application/vnd.sbana.informed.formtemplate
 application/vnd.sbana.informed.form-data
 application/vnd.sbana.informed.package
 application/vnd.sbana.informed.inter-cbange
 application/vnd.street-stream
 application/vnd.svd
 application/vnd.swiftview-ics
 application/vnd.truedoc
 application/vnd.visio
 application/vnd.webturbo
 application/vnd.wrq-bp3000-labelled
 application/vnd.wt.stf
 application/vnd.xara
 application/vnd.yellowriver-custom-menu
 application/wita
 application/wordpefect5.1
 application/x-bcpio
 application/x-cpio
 application/x-csb
 application/x-dvi
 application/x-gtar
 application/x-bdf
 application/x-latex
 application/x-mif
 application/x-netcdf
 application/x-sb
 application/x-sbar
 application/x-sv4cpio
 application/x-sv4crc
 application/x-tar
 application/x-tcl
 application/x-tex
 application/x-texinfo
 application/x-troff-man
 application/x-troff-ms
 application/x-troff-me
 application/x-troff
 application/x-ustar
 application/x-wais-source
 application/xml
 application/x400-bp
 application/zip
블로그 이미지

하보니

하보니와 함께하는 phP 초보

댓글을 달아 주세요