我們的志工尚未將本文翻譯為 正體中文 (繁體) 版本。加入我們,幫忙翻譯!
您也可以閱讀本文的 English (US) 版本。

Draft
This page is not complete.

This page needs to be completed by someone with a deeper understanding of HTTP Alternative Services than me. ExE-Boss

The Alt-Svc header is used to list alternate ways to reach this website.

Syntax

Alt-Svc: clear
Alt-Svc: <service-list>; ma=<max-age>
Alt-Svc: <service-list>; ma=<max-age>; persist=1
<service-list>
Comma separated list of service definitions in the format of <service-name>=​"<host-name>:<port-number>", where <service-name> is a valid ALPN identifier.
<max-age>Optional
The time in seconds for which the alternative service is considered valid for establishing new connections. Defaults to 24 hours.
persistOptional
Optional parameter specifying that the alternative service can be remembered between sessions and network changes.

Specifications

Specification Status Comment
RFC 7838 IETF RFC Initial definition.

Browser compatibility

No compatibility data found. Please contribute data for "http.headers.Alt-Svc" (depth: 1) to the MDN compatibility data repository.

See also

文件標籤與貢獻者

此頁面的貢獻者: ExE-Boss, mdnwebdocs-bot
最近更新: ExE-Boss,