RFC3261: SIP:8.2.1方法检查

8.2.1 Method Inspection
8.2.1方法检查

   Once a request is authenticated (or authentication is skipped), the UAS MUST inspect the method of the request.  If the UAS recognizes but does not support the method of a request, it MUST generate a 405 (Method Not Allowed) response.  Procedures for generating responses are described in Section 8.2.6.  The UAS MUST also add an Allow header field to the 405 (Method Not Allowed) response.  The Allow header field MUST list the set of methods supported by the UAS generating the message.  The Allow header field is presented in   Section 20.5.

​一旦请求经过身份验证(或跳过身份验证),UAS必须检查请求的方法。如果UAS识别但不支持请求的方法,则必须生成405(方法不允许)响应。第8.2.6节描述了生成响应的程序。UAS还必须将Allow报头字段添加到405(Method Not Allowed)响应中。Allow 报头字段必须列出生成消息的UAS所支持的一组方法。允许报头字段如第20.5节所示。

   If the method is one supported by the server, processing continues.

如果该方法是服务器支持的方法,则处理将继续。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值