Head schoolbag for HTTP request information, request head schoolbag

Source: Internet
Author: User

Head schoolbag for HTTP request information, request head schoolbag

The head schoolbag contains important information related to HTTP requests, such as ip, host, url, and client, as shown in the following table:

Variable name



Text/html, application/xhtml + xml, application/xml; q = 0.9, image/webp, */*; q = 0.8


Gzip, deflate, sdch


Zh-CN, zh; q = 0.8, en; q = 0.6


View (view indicates a browser, mobile indicates a mobile phone, and bot indicates a search engine crawler)








Hua (host name)

Ip (visitor's IP address)


80 (port)




N1 = 1 & n2 = 2


/_ Samples/head.html (current webpage address)


/_ Samples/head.html? N1 = 1 & n2 = 2


/_ Samples/head.html? N1 = 1 & n2 = 2 (the complete link address of the current webpage)


Mozilla/5.0 (Windows NT 5.2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/38.0.2125.111 Safari/537.36 (client tool information)

Use expressions during development@ {Head: variable name}Use the value directly, for example, the IP address of the Current Visitor:@ {Head: ip}

(Information and example file: _ samples/head.html)

Download and description of light platform Resources

Platform and the latest development manual free download: http://download.csdn.net/detail/tx18/8381859

Development Instance:Light B2C e-commerce websites, Free download: http://download.csdn.net/detail/tx18/8318585

The light-Open Platform will occasionally upgrade to provide more powerful and Easy functions for you. Please pay attention to the latestDevelopment Manual

Note: The light-Open Platform and our development instances are permanently free of charge and are not intended for use. That is to say, You Can slightly modify our instances and operate them on your own or sell them to your customers, we will not charge you a penny.

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.