Skip to content

MIME type #18

Description

@yejineee

MIME type

  • Multipurpose Internet Mail Extensions
  • media type은 document의 포맷이나 특성을 알려주기 위한 기준이다.
  • web browser에게 파일 확장자는 의미가 없다. 따라서 각 문서에 맞는 MIME 타입을 전송하여, 브라우저가 리소스를 받았을 때 해야할 기본 동작이 무엇인지를 알 수 있도록 해야한다.

구조

type/subtype

web developer에게 중요한 MIME type

  • application/octet-stream : binary file의 디폴트 타입이다.
  • text/plain : text file의 기본값이다.
  • text/css : css file
  • text/javascript : Javascript file

출처

https://developer.mozilla.org/ko/docs/Web/HTTP/Basics_of_HTTP/MIME_types

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions