Jump to content

User agent: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
m →‎top: MOS tweaks
convert mdn to ref
 
Line 1: Line 1:
{{Short description|Software acting on behalf of a user}}
{{Short description|Software acting on behalf of a user}}
{{Distinguish|User-Agent header}}
{{Distinguish|User-Agent header}}
{{One source|date=April 2024}}


On [[World Wide Web|the Web]], a '''user agent''' is a [[software agent]] responsible for retrieving and facilitating [[end user|end-user]] interaction with Web content.<ref>{{cite web|url=https://www.w3.org/WAI/UA/work/wiki/Definition_of_User_Agent |title=W3C Definition of User Agent |publisher=www.w3.org |date=2011-06-16 |access-date=2018-10-20}}</ref> This includes all [[web browser]]s, such as [[Google Chrome]] and [[Safari (web browser)|Safari]], some [[email client]]s, standalone [[download manager]]s like [[youtube-dl]], and other [[command-line]] utilities like [[cURL]].
On [[World Wide Web|the Web]], a '''user agent''' is a [[software agent]] responsible for retrieving and facilitating [[end user|end-user]] interaction with Web content.<ref>{{cite web|url=https://www.w3.org/WAI/UA/work/wiki/Definition_of_User_Agent |title=W3C Definition of User Agent |publisher=www.w3.org |date=2011-06-16 |access-date=2018-10-20}}</ref> This includes all [[web browser]]s, such as [[Google Chrome]] and [[Safari (web browser)|Safari]], some [[email client]]s, standalone [[download manager]]s like [[youtube-dl]], and other [[command-line]] utilities like [[cURL]].


The user agent is the client in a [[client–server model|client–server system]]. The [[HTTP]] [[User-Agent header]] is intended to clearly identify the agent to the server. However, this header can be omitted or [[User agent spoofing|spoofed]], so some websites use [[Browser sniffing|other detection methods]].
The user agent is the client in a [[client–server model|client–server system]]. The [[HTTP]] [[User-Agent header]] is intended to clearly identify the agent to the server. However, this header can be omitted or [[User agent spoofing|spoofed]], so some websites use [[Browser sniffing|other detection methods]].


== References ==
== References ==
{{Reflist}}
{{Reflist}}


== External links ==
* [https://developer.mozilla.org/en-US/docs/Glossary/User_agent User agent] at Mozilla web docs
<br>
<br>
[[Category:Clients (computing)]]
[[Category:Clients (computing)]]

Latest revision as of 22:59, 2 July 2024

On the Web, a user agent is a software agent responsible for retrieving and facilitating end-user interaction with Web content.[1] This includes all web browsers, such as Google Chrome and Safari, some email clients, standalone download managers like youtube-dl, and other command-line utilities like cURL.[2]

The user agent is the client in a client–server system. The HTTP User-Agent header is intended to clearly identify the agent to the server.[2] However, this header can be omitted or spoofed,[2] so some websites use other detection methods.

References[edit]

  1. ^ "W3C Definition of User Agent". www.w3.org. 2011-06-16. Retrieved 2018-10-20.
  2. ^ a b c "User agent". MDN Web Docs.