[英]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.