Media type (MIME type)

Source: Internet
Author: User

#Encoding=utf-8#python 2.7.10#Xiaodeng#http authoritative Guide#HTTP protocol: Hypertext Transfer Protocol is the protocol scheme used to communicate on the World Wide Web. #Media Type:#http Authoritative Guide 6 page#There are thousands of different data types on the Internet, and HTTP formats a data format label called MIME type for each object to be transmitted over the Web#1) The Web server appends a MIME type to all HTTP object data. #2) When a Web browser retrieves an object from the server, it looks at the relevant MIME types to see if they know how to handle the object. #3) Most browsers can handle hundreds of common types of objects: displaying picture files, parsing and formatting HTML files, and so on. #4) A MIME type is a text marker that represents a primary object type and a specific subtype, separated by a slash. #Common MIME types:#HTML-formatted text documents are marked by the text/html type#normal ASCII text documents are marked by the text/html type#JPEG version of the picture is Image/plain type#gif format picture for image/gif type#Microsoft's PowerPoint presentation file is of type Application/vnd.ms-powerpoint. #zip file is application/x-gzip type#JSON file is Text/json type#XML document is Text/xml type

Mimi Type case:

Media type (MIME type)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.