什么是RFC中关于HTTP请求中的扩展方法(extension-method)?

3

我正在阅读http请求RFC(只是为了好玩),我注意到这个部分有一个扩展方法=令牌...

Method         = "OPTIONS"                ; Section 9.2
                  | "GET"                    ; Section 9.3
                  | "HEAD"                   ; Section 9.4
                  | "POST"                   ; Section 9.5
                  | "PUT"                    ; Section 9.6
                  | "DELETE"                 ; Section 9.7
                  | "TRACE"                  ; Section 9.8
                  | "CONNECT"                ; Section 9.9
                  | extension-method
   extension-method = token

什么是“token”或“extension-method”?这是否意味着方法可以是任何东西?我不知道在哪里定义了“token”。

谢谢, 迪恩


也许如果您告诉我们您具体指的是哪个rfc,那会更好。但真正的答案是:继续往下查找,并搜索“token”的定义。 - Gavriel
请翻译以下与编程有关的内容,从英文到中文。仅返回已翻译的文本:https://www.w3.org/Protocols/rfc2616/rfc2616-sec5.html,以及据我所见,token未定义。 - Dean Hiller
1个回答

3

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接