Http://msdn.microsoft.com/en-us/library/ms775147.aspx
MIME type detection in Internet Explorer
In Microsoft Internet Explorer 4.0 and later, MIME type determination occurs in URL monikers through the findmimefromdata method. determining the
Introduction
A MIME type is a type of file that sets an extension that is opened by an application, and the browser automatically opens with the specified application when the extension file is accessed. Many are used to specify some
[1] common MIME types (general type): hypertext markup language text. HTML text/htmlxml document. XML text/xmlxhtml document. XHTML application/XHTML + XML plain text. TXT text/plainrtf text. RTF application/rtfpdf document. PDF
Tutorial
Https://www.cnblogs.com/jsean/articles/1610265.htmlHttps://developer.mozilla.org/zh-CN/docs/Web/HTTP/Basics_of_HTTP/MIME_typesRecently in reading Golang source code, see mime.go This file, a little to read.
About MIME
MIME, mutipurpose
Multi-purpose Internet Mail Extension (MIME,Multipurpose Internet Mail Extensions)
Before mime is introduced, RFC 822 can only send basic ASCII code text information. It is very difficult to implement the content of an email, such as binary files,
(Welcome to join the android technology exchange QQ group: 209796692)
Implement the contentprovider MIME type
Contentprovider has two methods to return the MIME type.
GetType ()
A method to be implemented for any provider.
Getstreamtypes ()
If
For Image Upload security issues, the ContentType (MIME) is used to determine whether it is actually inaccurate or insecure. contenttypemime
There are several methods for determining the types of image uploads: intercepting the extension, obtaining
The contentprovider class has two methods that can return the MIME type:
GetType ()
You must provide one of the necessary methods for implementation.
Getstreamtypes ()
If your provider provides files, you are expected to implement this method.
Mime
Sometimes when we deploy a script, we want to know how our program is performing, and we want to get the results of execution, so we can rest assured that a lot of it is good to be able to send me a message when the program succeeds or fails.
In
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.