"HTTP" HTPP Learning Notes

Source: Internet
Author: User
Tags ftp file file transfer protocol ftp file transfer ftp file transfer protocol

1. Understanding the advent of web and network-based HTTP TCP/IP protocol Family Application layer FTP File Transfer Protocol HTTP Hypertext Transfer Protocol DNS domain Name system: IP Address <---> Domain name Transport Layer TCP Transmission Control Protocol three-time handshake details UDP User Message Protocol Network Layer IP Internetwork Protocol link Layer Url/urihttp protocol relationship to other protocols 2. Simple HTTP protocol agreement to communicate without saving State through the exchange of requests and responsescan manage status via cookiesHTTP method Get Request server-side resource post transport entity body put transfer file head Get message header persistent connectionconnection:keep-aliveHTTP information within 3.HTTP messages 3.1HTTP Message 3.1.1 Message header First Response message header generic Header header 3.1.2 message entity 3.2 means to increase transfer rate 1) compression format 2) chunked transfer 3.3 Get partial content range:bytes= 5001-100003.4 content Negotiation Accept accept-charset Character Set accept-encoding codec Accept-language Language 4. The HTTP status code of the returned result 2XX OK 204 No content 206 Partial content3xx redirect 302 Found 304 not modified4xx client error on Request 401 Unauthorized 403 Forbi  Dden 404 Not found5xx Server error, 503 server Unavailable5. Web Server 5.1 with HTTP collaboration whether the proxy uses caching to modify the message 5.2 gateway Entrance to another network 5.3 tunnel 6.HTTP Header 6.1 General header field Cache-control control cache behavior Connection header, connection management data Create message date time via proxy server information ... 6.2 Request Header Field Q for weight accept: User agent can handle media type text/html: Text document Application/xhtml+xmlaccept-charset: Priority character Set accept-encoding: Priority content Encoding Authorizationif-modified-sinceuser-agenthostreferer: The source of the URI in the request for the original acquisition of the famous blog site Coolshell should be the use of Referer to detect whether you are transferred from Baidu ... 6.3 Response Header Field 6.4 Entity header Field 7. Disadvantages of ensuring web security https7.1http1) communication using plaintext, content may be tapped2) Do not verify the identity of the other, may encounter camouflage3) cannot prove message integrity, content may be tampered with7.2http+ Encryption + authentication + integrity Protection =https

Appendix: The Mind Guide Chart for HTTP Learning notes

reference : "Graphic http" (Day Ueno Xuan)

"HTTP" HTPP Learning Notes

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.