RFC3261: SIP:20.7 Authorization

本文详细介绍了Authorizationheader在HTTP中的作用,包括其在身份验证中的使用、与Proxy-Authorization的区别,以及Digest参数的格式实例。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

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"
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值