What is the standard format for a browser's User-Agent string?
问题 Is there an RFC, official standard, or template for creating a User Agent string? The iphone's user-agent string seems strange... Mozilla/5.0 (iPhone; U; CPU iPhone OS 3_1_2 like Mac OS X ; en-us) AppleWebKit/528.18 ( KHTML, like Gecko ) Version/4.0 Mobile/7D11 Safari/528.16 回答1: The User-Agent header is part of the RFC7231, which is an improved version of the RFC1945, where it states: The User-Agent request-header field contains information about the user agent originating the request. This