HTTP authoritative guide-the Basics

Source: Internet
Author: User

1.url,uriUniform Resource Identifier? Unified Identity Locator?   2.http,https,ftphttp://default port number: HTTPS uses Netscape's SSL,SSL to provide an end-to-end encryption mechanism for HTTP. default port: 443 ftp://<user>:<password>@  3. Request MethodGet,head,put,post,trace,options,delete  4.HTTP Status Code  5.TCPalmost all the HTTP traffic in the world is hosted by TCP/IP, and TCP/IP is a commonly used packet-switched network layered protocol set used by computers and network devices worldwide. TCP provides a reliable bit-transport pipeline for HTTP. TCP streams are fragmented and routed by IP packetswhen HTTP is transmitting a message, the contents of the message data are streamed in a single openThe TCP connection is transmitted sequentially. After TCP receives the data stream, it will chop the data stream into multiple small databases faster, and encapsulate the segments in the IP packet and transmit over the Internet. these are handled by TCP/IP software.   6. SocketsThe combination of the source IP address and destination IP address and the source port number and destination port number is called a socket. The servers and services that are used to identify client requests.   7.TCP Performance Impact issues for HTTP applications  8. Serial transaction processing delayExample: A page contains three embedded imagesthe browser needs to initiate 4 HTTP transactions to display the page,each transaction requires a serial build of a new connection, which is slow There are times when we need to know the size of the loaded object, but the serial word cannot tell the object's size until the object is loaded.   9.keep-alive ConnectionThe keep-alive header simply requests that the connection be kept in an active statehttp/1.1 stops support for keep-alive connections, using an improved persistent connection.    10. IdempotentIf a transaction, whether executed once or many times, gets the same result, the transaction is idempotent. Get,post. Share this feature. (How do I close an ongoing request?) )normal connection, with normal shutdown connection.    

HTTP authoritative guide-the Basics

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.