简体   繁体   English

HTTP 协议:仅 HTML?

[英]HTTP protocol: HTML only?

My informatics teacher explained that HTTP can really be used exclusively to transfer unencoded ASCII, and as soon as an image or the like have to be downloaded from the server, FTP is used instead.我的信息学老师解释说,HTTP 确实可以专门用于传输未编码的 ASCII,并且一旦必须从服务器下载图像等,则使用 FTP 代替。

Is this true?这是真的?

No, it isn't.不,不是。 HTTP contains a header and data part, the latter gets interpreted by the receipent according to the CONTENT-TYPE header. HTTP 包含一个 header 和数据部分,后者由接收者根据CONTENT-TYPE header 进行解释。 HTTP can transfer arbitrary data. HTTP可以传输任意数据。

If you want any more specific information about the HTTP protocol, the full RFC (request for comments) document is available here: http://www.w3.org/Protocols/rfc2616/rfc2616.html如果您想了解有关 HTTP 协议的更多具体信息,请在此处获取完整的 RFC(征求意见)文档: http://www.w3.org/Protocols/rfc2616/rfc26126.75238EZ30CAD25

An RFC is where the various different parties who have a stake in these protocols are presented the current version and invited to give their opinion. RFC 是向与这些协议有利益关系的各个不同方展示当前版本并邀请他们发表意见的地方。 It's the method by which most of the internet has been built:)这是构建大多数互联网的方法:)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 html - 没有 http 协议的链接 - html - links without http protocol 使用http协议运行本地HTML文件 - Running local HTML file with http protocol LoadRunner Truclient与协议Http / HTML - LoadRunner Truclient vs protocol Http/Html 301 将用户重定向到 https 协议,但前提是用户使用的是 http 协议 - 301 redirect user to https protocol, but only if user is on http protecol 如何使用C语言通过TCP通过HTTP协议发送html文件? - How to send html files with http protocol over tcp in c language? 通过tcp和浏览器使用HTTP协议发送html文件显示错误 - Sending html file with HTTP protocol over tcp and browser shows error 只有在安装支持Android应用程序时,HTML才会重定向到自定义协议 - HTML redirect to custom protocol only when supporting Android app is installed 仅当值以http开头时,html链接才是相对的吗? - Is an html link relative only if the value begins with http? AngularJS错误:仅支持协议方案的跨源请求:http,数据,chrome扩展,https - AngularJS Error: Cross origin requests are only supported for protocol schemes: http, data, chrome-extension, https 使用角度路由时出现错误仅协议方案仅支持跨源请求:http - Getting Error while using angular routing Cross origin requests are only supported for protocol schemes: http
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM