知识库 知识库
首页
  • Hyperskill - Java

    • Java basic
    • Java OOP
    • 应知
    • 扩展
    • IO & Stream
    • Error & Exception
    • Algorithm & Data structure
    • Design pattern
    • Web
    • Spring boot
  • 练习题

    • 选择题 & 填空题
    • 代码题
  • Frank - Java与生活 (OOP)

    • 参考资料
    • Java基础
    • OOP上半部分
    • OOP下半部分
  • Frank - Java API进阶

    • Base API
    • Unit Test and main function
  • 学习笔记
  • 学习笔记

    • 数据库
  • Frank - MySQL删库跑路

    • 安装、连接、配置
    • 基本操作——数据库
    • 基本操作——表
    • 基本操作——数据
    • 数据类型
    • 列属性完整性
    • 数据库设计思维
    • 单表查询
    • 多表查询
  • 学习笔记

    • 其它
  • Frank - Linux现代方法

    • 必知
    • 命令
    • 技巧
  • 技术文档
  • Git
  • GitHub技巧
  • 前端
  • Khan Academy - 语法
  • Monthly
  • 阅读
  • Others
  • 学习
  • 面试
  • 心情杂货
  • 实用技巧
  • 友情链接
收藏
  • 标签
  • 归档
GitHub (opens new window)

Jim FuckPPT

Java小学生
首页
  • Hyperskill - Java

    • Java basic
    • Java OOP
    • 应知
    • 扩展
    • IO & Stream
    • Error & Exception
    • Algorithm & Data structure
    • Design pattern
    • Web
    • Spring boot
  • 练习题

    • 选择题 & 填空题
    • 代码题
  • Frank - Java与生活 (OOP)

    • 参考资料
    • Java基础
    • OOP上半部分
    • OOP下半部分
  • Frank - Java API进阶

    • Base API
    • Unit Test and main function
  • 学习笔记
  • 学习笔记

    • 数据库
  • Frank - MySQL删库跑路

    • 安装、连接、配置
    • 基本操作——数据库
    • 基本操作——表
    • 基本操作——数据
    • 数据类型
    • 列属性完整性
    • 数据库设计思维
    • 单表查询
    • 多表查询
  • 学习笔记

    • 其它
  • Frank - Linux现代方法

    • 必知
    • 命令
    • 技巧
  • 技术文档
  • Git
  • GitHub技巧
  • 前端
  • Khan Academy - 语法
  • Monthly
  • 阅读
  • Others
  • 学习
  • 面试
  • 心情杂货
  • 实用技巧
  • 友情链接
收藏
  • 标签
  • 归档
GitHub (opens new window)
  • Hyperskill - Java

    • Java basic

    • Java OOP

    • 应知

    • 扩展

    • IO & Stream

    • Error & Exception

    • Algorithm & Data structure

    • Design pattern

    • Web

      • Theory:World Wide Web
      • Theory:HTTP
        • What is HTTP
        • Short HTTP History
        • What is HTTPS
        • Conclusion
      • Theory:HTTP URL
      • Theory:HTTP messages
      • Theory:MVC
      • Theory:Introduction to Spring Web MVC
      • Theory:REST
      • Theory:Postman
      • Theory:Getting data from REST
      • Theory:Posting and deleting data via REST
      • Theory:REST Exception handling
      • Theory:Handling requests with bodies
      • Theory:Domains
      • Theory:HTTP Basic Auth
      • Theory:IP
      • Theory:Authentication and Authorization
      • Theory:OAuth
      • Theory:Java 11 HTTP client
    • Spring boot

  • 练习题

  • Frank - Java与生活

  • Frank - Java API进阶

  • 学习笔记

  • Java
  • Hyperskill - Java
  • Web
Jim
2022-07-04
目录

Theory:HTTP

# What is HTTP

Whenever you decide to check out your friends' pictures on social networks or leave them a message, watch a funny video with kittens, or find the meaning of an unknown term in the search engine, the device (client) from which you surf the Internet sends a request to the server and receives a response from it.

A client is a customer of a service, and a server is a computer that serves users or other computers. It can be located remotely, tens of thousands of kilometers away from you. The technology when the network load is distributed between servers and service customers is called Client-Server Architecture.

img

Data exchange between the client and the server takes place due to the HTTP. HTTP stands for HyperText Transfer Protocol. A protocol is a set of rules and conventions that defines a uniform way to exchange data between different programs and handle errors. Like a waiter in a restaurant, it accepts your requests, takes them to the server for processing, and then comes back to you with a response.

# Short HTTP History

HTTP was developed by a scientist and CERN employee Tim Berners-Lee, the ideologist of the World Wide Web.

Work on the protocol continued for two years, and in March 1991, HTTP was used as a technology to help access documents on the Internet and facilitate hypertext navigation. This was Protocol version 0.9. It was designed to optimize communication between the client and the server on the network. After the appearance of the HTTP/0.9 standard, a separation of functions between the client and the server appeared during their interaction.

Currently, the most recent version of the Protocol is HTTP/3.0, but it is still preparing for publication. So, for now, the most common version is HTTP/2.0, released in 2015. Prior to that, HTTP/1.1 (released in 1999) was used for as long as sixteen years. This standard satisfied everyone for many years because of its innovations: with the advent of HTTP/1.1, the transfer of requests from client to server was greatly accelerated.

Not all sites have switched to HTTP/2 yet, but browsers support both new and old standards.

# What is HTTPS

Despite the great functionality and popularity of HTTP, there is one drawback: data is transmitted in an unsecured form. This flaw can be critical when it comes to paying for purchases over the Internet or sending passport data: no user wants their confidential information to be leaked.

To make the Internet space safer, the programmers decided to develop an add-on over HTTP, which helps to avoid data interception by encryption. The HTTP extension is called HTTPS and stands for HyperText Transfer Protocol Secure.

HTTPS provides a secure connection between the user's browser and the web server. Often, the browser window displays a green address bar or lock indicating encrypted data transfer. You can also check the address bar of your web browser to see if you have a secure connection. It should start with "https://".

img

All modern browsers support HTTPS. Internet users do not need to configure this extension separately: it is automatically enabled if necessary.

At the current moment, the most popular browsers such as Chrome, Firefox, Safari, and Edge mark all connections over HTTP as insecure.

# Conclusion

In summary, HyperText Transfer Protocol is a collection of regulations that makes possible the data exchange between the client and the server on the network. The latest version of the protocol is HTTP/2.0, yet the older version, HTTP/1.1, is still in use. An extension of the protocol HTTPS added encryption to data transfer and increased the security of transmissions.

编辑 (opens new window)
#Web#HTTP
上次更新: 2022/10/12, 17:01:25
Theory:World Wide Web
Theory:HTTP URL

← Theory:World Wide Web Theory:HTTP URL→

最近更新
01
《挪威的森林》
04-14
02
青钢影
04-14
03
Processing strings
02-18
更多文章>
Theme by Vdoing | Copyright © 2022-2023 Jim Frank | MIT License
  • 跟随系统
  • 浅色模式
  • 深色模式
  • 阅读模式