100% 브라우저 메모리 연산 • 서버 로그 수집 제로 • 즉각적인 실행
Curious Techie개발자 툴박스
Encodings & FormatsIANA Media Types Registry / RFC 2046 / RFC 6838✓ 빠른 조회 매트릭스 표 (8 개 항목) • KO

MIME 타입 (미디어 유형) 표준 레퍼런스

IANA 등록 규격: 파일 확장자, 미디어 분류 및 RFC 2046 총정리

CT
Curious-Techie Engineering Team검증된 작성자

Web Protocols & Security Architecture Research

발행일:
•
수정일:
•6 min read
공식 기술 규격:RFC 9110(IETF)
검토자: Curious-Techie Architecture Peer Review Group

개요 및 범위

RFC 2046에 기반한 IANA 미디어 타입 레지스트리는 파일 전송 및 웹 통신의 데이터 무결성을 보장합니다.

표준 규격표 및 매트릭스

키워드, 상태 코드 또는 지시문 이름으로 실시간 검색

키 / 코드정의 및 세부사항GEO 시맨틱 계층표준 규격 및 참고
text/html
HTML Document (.html, .htm)

HyperText Markup Language file format for web pages.

Content-Type: text/html; charset=utf-8
●text/html
↳MIME type
↳text
↳web document rendering
W3C HTML5

Rendered inline by default in all web browsers.

text/javascript
JavaScript (.js, .mjs)

Standard media type for JavaScript source code and ECMAScript modules.

Content-Type: text/javascript
●text/javascript
↳MIME type
↳text
↳executable script code
RFC 9239

Superseded legacy application/javascript in official IANA specifications.

text/css
Cascading Style Sheets (.css)

Stylesheet language used for describing the presentation of a document.

Content-Type: text/css
●text/css
↳MIME type
↳text
↳stylesheet presentation
RFC 2318

Browsers in strict mode refuse to apply stylesheets if Content-Type is not text/css.

application/json
JSON Data (.json)

JavaScript Object Notation text format for serialized data.

Content-Type: application/json
●application/json
↳MIME type
↳application
↳structured JSON interchange
RFC 8259

Always UTF-8 encoded by specification.

image/webp
WebP Image (.webp)

Modern raster image format providing superior lossless and lossy compression on the web.

image/webp
●image/webp
↳MIME type
↳image
↳compressed web raster graphics
Google WebP Specification

26% smaller than PNGs and 25-34% smaller than comparable JPEGs.

image/svg+xml
SVG Vector Image (.svg)

Scalable Vector Graphics XML-based 2D vector image format.

image/svg+xml
●image/svg+xml
↳MIME type
↳image
↳XML vector graphic
W3C SVG

Can contain embedded JavaScript; always sanitize before displaying untrusted user SVG uploads.

font/woff2
WOFF2 Web Font (.woff2)

Web Open Font Format 2.0 with Brotli compression for rapid typography loading.

font/woff2
●font/woff2
↳MIME type
↳font
↳compressed typography stream
W3C WOFF2

The industry standard font format for 99%+ of modern browsers.

application/pdf
Adobe PDF (.pdf)

Portable Document Format for cross-platform fixed-layout documents.

application/pdf
●application/pdf
↳MIME type
↳application
↳fixed-layout document
ISO 32000-1

Rendered inline via browser built-in PDF viewers.

기술 예제 및 실행 코드

Configuring MIME Types in Nginx mime.types

nginx코드 복사
types {
    text/html                             html htm shtml;
    text/css                              css;
    text/xml                              xml;
    image/gif                             gif;
    image/jpeg                            jpeg jpg;
    application/javascript                js;
    application/json                      json;
    image/png                             png;
    image/svg+xml                         svg svgz;
    image/webp                            webp;
    font/woff2                            woff2;
}

Nginx maps file extensions to Content-Type headers using its mime.types dictionary.

자주 묻는 질문 (FAQ)

표준 규격 Q&A

Why does my browser download files instead of opening them?↓
If the server sends "Content-Type: application/octet-stream" or "Content-Disposition: attachment", the browser treats the file as raw binary data and triggers a download instead of inline rendering.