HTTP代表什么?

HyperText Transfer Protocol simply HTTP is a protocol designed to transfer web resources like HTML, Video, Audio, Picture, etc. over the web between client and server. HTTP can be used by different applications but the most popular one is a web browser where the user simply navigates or surf on web pages.

超文本传输​​协议简称HTTP,是一种旨在在客户端和服务器之间通过Web传输Web资源(如HTML,视频,音频,图片等)的协议。 HTTP可以由不同的应用程序使用,但是最流行的是Web浏览器,用户可以在其中浏览或浏览网页。

万维网(WWW)aka Web (World Wide Web (WWW) aka Web)

World Wide Web is created in 1990 in order to share information in different formats over the world. Because of its structure, it is called the web which is worldwide which can be accessed all over the world to the other world parts. HTTP works over WWW and acts as a part of WWW.

万维网创建于1990年,目的是在世界范围内共享不同格式的信息。 由于其结构,它被称为网络,该网络在世界范围内,可以在世界各地访问到其他地方。 HTTP在WWW上工作,并作为WWW的一部分。

超文本标记语言(HTML) (HyperText Markup Language (HTML))

HyperText Markup Language or HTML is a markup language designed to create web pages with different elements. HTML provides different web pages as markup code and some image, audio, video, etc. HTTP’s main duty is the transmission of the HTML content.

超文本标记语言或HTML是一种标记语言,旨在创建具有不同元素的网页。 HTML提供不同的网页作为标记代码以及一些图像,音频,视频等。HTTP的主要职责是HTML内容的传输。

统一资源定位符(URL) (Uniform Resource Locator (URL))

Uniform Resource Locator or URL is the path for a given resource which is generally a web page. URL is used inside the HTTP requests in order to specify single or multiple resources and web pages.

统一资源定位符或URL是给定资源(通常是网页)的路径。 URL用于HTTP请求中,以指定单个或多个资源和网页。

超文本传输​​协议(HTTP) (HyperText Transfer Protocol (HTTP))

HyperText Transfer Protocol or HTTP is used to transfer HTML and related resources between clients and servers by using the URLs. HyperText means a text which contains some special data which is web page elements and contents. HTTP is a simple text protocol that uses ASCII and some encoding in order to represent data in ASCI or Unicode format. HTTP also provides some attributes which are defined below. HTTP uses the TCP port 80. There are different web servers which provide HTTP server function like Apache, Nginx, IIS, etc.

超文本传输​​协议或HTTP用于通过URL在客户端和服务器之间传输HTML和相关资源。 超文本是指包含一些特殊数据的文本,这些特殊数据是网页元素和内容。 HTTP是一种简单的文本协议,使用ASCII和某种编码以便以ASCI或Unicode格式表示数据。 HTTP还提供了一些在下面定义的属性。 HTTP使用TCP端口80。有许多提供HTTP服务器功能的Web服务器,例如Apache,Nginx,IIS等。

LEARN MORE  What Is HTTP (Hypertext Transfer Protocol)?
了解更多什么是HTTP(超文本传输​​协议)?

HTTP标准 (HTTP Standard)

HTTP is standardized with the RFC 2068 in 1997. This version of the HTTP was HTTP 1.1 . With the RFC 2616 which is released in 1999. HTTP standard provide information about the basic rules, general syntax, date, character set, etc.

HTTP在1997年用RFC 2068进行了标准化。此HTTP版本是HTTP 1.1。 使用1999年发布的RFC2616。HTTP标准提供有关基本规则,通用语法,日期,字符集等的信息。

HTTP属性 (HTTP Attributes)

HTTP provides some attributes, features, and behaviors. Here we will list some of the most popular.

HTTP提供了一些属性,功能和行为。 在这里,我们将列出一些最受欢迎的。

  • `Stateless`: HTTP is a stateless protocol which means previous request states do not save or remember. So every request is independent from each other. But in order to make user experience flawless and provide user history cookies are used.

    `Stateless`:HTTP是一种无状态协议,这意味着先前的请求状态不会保存或记住。 因此,每个请求彼此独立。 但是为了使用户体验无瑕并提供用户历史记录,使用了cookie。

HTTP状态码 (HTTP Status Codes)

The HTTP request answered with status code which provides information about the request action. The status codes of HTTP are categorized into the following parts.

使用状态代码回答的HTTP请求,该状态代码提供有关请求操作的信息。 HTTP的状态码分为以下几部分。

  • `1XX` are used for informational purposes.

    “ 1XX”用于提供信息。
  • `2XX` is related to successful actions generall `200 OK` is most known.

    “ 2XX”与成功的动作有关。一般而言,“ 200 OK”是众所周知的。
  • `3XX` is related to the redirection where new URLs will be used.

    “ 3XX”与将使用新URL的重定向有关。
  • `4XX` is related to client error where `400 Bad Request` `401 Unauthorized` are popular.

    “ 4XX”与客户端错误有关,其中“ 400错误请求”,“ 401未经授权”很受欢迎。
  • `5XX` is related to server errors and `500 Internal Server Error` is popular.

    “ 5XX”与服务器错误有关,“ 500内部服务器错误”很受欢迎。

使用HTTPS保护HTTP (Secure HTTP with HTTPS)

HTTP is a clear text protocol which means all HTTP data is transmitted over an unencrypted network. This creates security problems like eavesdropping. Especially sensitive HTTP data like banking, government applications, personal data. We can secure the HTTP traffic by encrypting is which will be named as HTTPS. The encryption is done with SSL/TLS protocols and certificates. HTTPS work as the same as HTTP but the only difference is the traffic is encrypted. The HTTPS uses TCP 433 as the port number.

HTTP是明文协议,这意味着所有HTTP数据都是通过未加密的网络传输的。 这会产生诸如窃听的安全问题。 尤其是敏感的HTTP数据,例如银行,政府应用程序,个人数据。 我们可以通过加密来保护HTTP通信,该加密将被命名为HTTPS 。 加密是通过SSL / TLS协议和证书完成的。 HTTPS与HTTP相同,但唯一的区别是流量已加密。 HTTPS使用TCP 433作为端口号。

LEARN MORE  Understanding and Configuring Apache Access Log
了解更多信息了解和配置Apache访问日志

翻译自: https://www.poftut.com/what-does-http-stand-for/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值