1-http header profiling-http protocol

Source: Internet
Author: User

1. the HTTP protocol is established on the TCP/IP protocol.
2. http: hypertext protocol.
3. Basic Structure of HTTP requests: request line, message header, message body (entity content)
4. Print the details of the server message header. $ _ Server
5. On the server side, we can use an array: $ _ server to obtain information in any array.
Common examples are http_host.
Remote_addr (IP address used to access the page)
Document_root (Apache main directory)
Request_uri (requested resource name)
6. Types of requests: two main methods.
7. What is the difference between post and get requests?
1. Security: The data of the GET request is displayed in the address bar.
The data of the POST request is placed in the message body.

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.