跳到主要内容

7.1.3. 注册项 (Registrations)

"Hypertext Transfer Protocol (HTTP) Cache Directive Registry" 已填充以下注册项:

Cache DirectiveReference
max-ageSection 5.2.1.1, Section 5.2.2.8
max-staleSection 5.2.1.2
min-freshSection 5.2.1.3
must-revalidateSection 5.2.2.1
no-cacheSection 5.2.1.4, Section 5.2.2.2
no-storeSection 5.2.1.5, Section 5.2.2.3
no-transformSection 5.2.1.6, Section 5.2.2.4
only-if-cachedSection 5.2.1.7
privateSection 5.2.2.6
proxy-revalidateSection 5.2.2.7
publicSection 5.2.2.5
s-maxageSection 5.2.2.9

7.2. Warn Code Registry

"Hypertext Transfer Protocol (HTTP) Warn Code Registry" 定义 warn code 的 namespace. 它已经创建, 现在维护于 http://www.iana.org/assignments/http-warn-codes.

7.2.1. Procedure

registration MUST 包含以下 field:

  • Warn Code (3 digits)
  • Short Description
  • Pointer to specification text

要添加到此 namespace 的 value 需要 IETF Review (见 [RFC5226], Section 4.1).

7.2.2. 注册项 (Registrations)

"Hypertext Transfer Protocol (HTTP) Warn Code Registry" 已填充以下注册项:

Warn CodeShort DescriptionReference
110Response is StaleSection 5.5.1
111Revalidation FailedSection 5.5.2
112Disconnected OperationSection 5.5.3
113Heuristic ExpirationSection 5.5.4
199Miscellaneous WarningSection 5.5.5
214Transformation AppliedSection 5.5.6
299Miscellaneous Persistent WarningSection 5.5.7

7.3. Header Field 注册 (Header Field Registration)

HTTP header field 注册在维护于 http://www.iana.org/assignments/message-headers/ 的 "Message Headers" registry 中.

本文档定义了以下 HTTP header field, 因此 "Permanent Message Header Field Names" registry 已相应更新 (见 [BCP90]):

Header Field NameProtocolStatusReference
AgehttpstandardSection 5.1
Cache-ControlhttpstandardSection 5.2
ExpireshttpstandardSection 5.3
PragmahttpdeprecatedSection 5.4
WarninghttpstandardSection 5.5

change controller 是: "IETF ([email protected]) - Internet Engineering Task Force".