Server 標頭包含了來源伺服器裡面,處理網路請求的軟體相關資訊。

請避免 Server 值的資訊過度冗長與詳盡,因為它們可能會洩漏實做細節、讓攻擊者容易找到已知安全漏洞並利用之。

標頭類型 Response header
Forbidden header name

語法

Server: <product>

指令

<product>
處理請求的軟體(或組件)名。

示例

Server: Apache/2.4.1 (Unix)

規範

規範 標題
RFC 7231, section 7.4.2: Server Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content

瀏覽器相容性

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidEdge MobileFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
Basic supportChrome Full support YesEdge Full support YesFirefox Full support YesIE Full support YesOpera Full support YesSafari Full support YesWebView Android Full support YesChrome Android Full support YesEdge Mobile Full support YesFirefox Android Full support YesOpera Android Full support YesSafari iOS Full support YesSamsung Internet Android Full support Yes

Legend

Full support  
Full support

參見

文件標籤與貢獻者

此頁面的貢獻者: iigmir
最近更新: iigmir,