Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTTP 知识点 填空 #11

Open
taichiyi opened this issue Oct 23, 2019 · 0 comments
Open

HTTP 知识点 填空 #11

taichiyi opened this issue Oct 23, 2019 · 0 comments

Comments

@taichiyi
Copy link
Owner

@taichiyi taichiyi commented Oct 23, 2019

HTTP 知识点 填空

Data URLs -start-

Data URLs,即前缀为 __ 协议的URL,其允许内容创建者向文档中嵌入小文件。
data:
Data URLs 由四个部分组成:__:[<__>][;__],<__>。
data mediatype base64 data
(接上文)mediatype 是一个__类型的字符串,默认值为 text/plain;charset=__;(chartset可选)如果非__则为可选的base64标记;data为数据本身。
MIME US-ASCII
文本
常用的mediatype有`text/plain;charset=UTF-8`;`text/html`;`__/jpeg`;`multipart/form-data`
image

Data URLs -end-

MIME types -start-

MIME types (全称为 Multipurpose Internet Mail Extensions)是一种标准。用于说明文件、文档或字节流的性质和__。是否区分大小写?
格式 不区分
最简单的 MIME type 的格式为__/__,不允许有空格。
type subtype
MIME type 还可以添加可选参数以提供详细信息。格式为type/subtype;_A_=_B_。_A_默认为__;_B_默认为__。
A:parameter B:value
charset US-ASCII

MIME types -end-

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.