20.7 Authorization The Authorization header field contains authentication credentials of a UA. Section 22.2 overviews the use of the Authorization header field, and Section 22.4 describes the syntax and semantics when used with HTTP authentication. Authorization header字段包含UA的身份验证凭据。第22.2节概述了Authorization报头字段的使用,第22.4节描述了与HTTP身份验证一起使用时的语法和语义。 This header field, along with Proxy-Authorization, breaks the general rules about multiple header field values. Although not a comma-separated list, this header field name may be present multiple times, and MUST NOT be combined into a single header line using the usual rules described in Section 7.3.
此报头字段与“代理授权”一起打破了有关多个报头字段值的一般规则。虽然不是逗号分隔的列表,但该报头字段名称可能会出现多次,并且不得使用第7.3节中描述的常规规则将其组合为一个报头行。
In the example below, there are no quotes around the Digest parameter: 在下面的示例中,Digest参数周围没有引号: Authorization: Digest username="Alice", realm="atlanta.com", nonce="84a4cc6f3082121f32b42a2187831a9e", response="7587245234b3434cc3412213e5f113a5432"