V2EX  ›  英汉词典

User-agent

释义 Definition

User-agent(常缩写为 UA)指浏览器、爬虫或其他客户端在与网站/服务器通信时,用来表明自身软件身份与版本信息的一段字符串或概念。最常见于 HTTP 请求头 User-Agent 中。(也可泛指“发起请求的客户端程序”。)

发音 Pronunciation (IPA)

/ˈjuːzər ˌeɪdʒənt/

例句 Examples

The website blocked my user-agent.
网站屏蔽了我的 user-agent。

To diagnose the issue, the developer compared user-agent strings across devices and found the mobile browser was sending a different header.
为诊断问题,开发者对比了不同设备的 user-agent 字符串,发现移动端浏览器发送的请求头不同。

词源 Etymology

User(用户)+ agent(代理者、执行者)。在计算机与网络语境中,agent 常指代表用户执行任务的软件程序;因此 user-agent 就是“代表用户与服务器交互的客户端程序/标识”。该用法与互联网协议(如 HTTP)发展密切相关。

相关词 Related Words

文学作品 Literary Works

“user-agent” 属于现代网络技术术语,通常不出现在传统文学作品中;更常见于技术标准与工程文献,例如:

  • RFC 9110: HTTP Semantics(涉及 User-Agent 请求头的相关规范与语义)
  • Web Scraping with Python(Ryan Mitchell,讲解爬虫时常涉及设置/伪装 user-agent)
关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   902 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 13ms · UTC 23:51 · PVG 07:51 · LAX 15:51 · JFK 18:51
♥ Do have faith in what you're doing.