Are you curious about the user-agent that identifies the browser identity, and why each browser has the Mozilla word?
mozilla/5.0 (Windows NT 6.1; WOW64) applewebkit/537.36 (khtml, like Gecko) chrome/27.0.1453.94 safari/537.36
mozilla/5.
Java obtains the browser type, operating system type, and mobile phone type through the browser Request Header (User-Agent ).The Chinese name of the User Agent is the User Agent (UA), which is a special string header, the server can identify the
Using IP proxiesProxyhandler () format IP, first parameter, request target may be HTTP or HTTPS, corresponding settingBuild_opener () Initialize IPInstall_opener () Sets the proxy IP to global and automatically uses proxy IP when Urlopen () requests
Are you curious about the User-Agent that identifies the browser? Why does each browser contain Mozilla? View Source print?
1
Mozilla/5.0 (Windows NT 6.1; wow64) applewebkit/537.36 (khtml, like gecko) Chrome/27.0.1453.94 Safari/537.3
Defined
User Agent string: navigator.useragent
The HTTP specification specifies that the browser should send a short user agent string indicating the name and version number of the browser. But in reality it is not so simple.
Development history
The user agent string userAgent can implement four identification functions: String useragent
Definition
User proxy string: navigator. userAgent
The HTTP specification clearly stipulates that the browser should send a brief user proxy string,
The user agent is used to indicate the identity of the browsing user, so that web developers can know the information of the access terminal. Send different display content based on different terminals. For example, the desktop and mobile versions
Are you curious about the User-Agent that identifies the browser? Why does each browser contain Mozilla?
Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.94 Safari/537.36Mozilla/5.0 (Linux; U; Android 4.1.2;
In theory, access to the mobile phone version or ipad, such as tablet version of the network, should be able to leave some traffic, after all, mobile network is optimized compression, but the PC computer if access to mobile version of the site? My
Recently in the study of computer networks, the browser's HTTP request message has been known, found an interesting phenomenon. Search for a moment, find the following article, laughing at me.
Are you curious about the user-agent that
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.