HTTP and HTTPS protocols

Source: Internet
Author: User

Definition

HTTP: Hypertext Transfer Protocol

HTTPS protocol: (Secure Hypertext Transfer Protocol) -- Secure Hypertext Transfer Protocol

Differences

HTTPS actually uses Netscape's full Socket Layer (SSL) as the child layer of the HTTP application layer.

HTTPS uses port 443 instead of using port 80 to communicate with TCP/IP.

SSL uses 40-bit keywords as RC4 Stream EncryptionAlgorithmThis is suitable for business information encryption. HTTPS and SSL support X.509 digital authentication. If necessary, you can confirm who the sender is.

HTTP protocol Overview

1) Support for customer/Server Models

2) simple and fast: when a customer requests a service from the server, they only need to send the request method and document path. Request methods include get, Head, and post.

3) No connection. Although the transport layer uses a TCP protocol with links. The server disconnects each time it processes a client request.

4) stateless. No memory for Transaction Processing

5) transaction-oriented application layer protocol

6) server: There is a server process (HTTP daemon) that constantly listens to TCP port 80 to detect whether a browser (client process) sends a connection request to it. After listening to the connection request and establishing a TCP connection, the browser sends a request to the server to browse a page, and the server then returns the requested page as a response. Finally, the TCP connection is released. The interaction between requests and responses during the browser and service must follow the prescribed format. These formats and rules are the HTTP protocol.

7) Support for proxy server (Computer Network Xie xiiren p279)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.