RFC3261: SIP:8.1.3.2无法识别的响应

文章阐述了AUAC在处理网络请求时遇到无法识别的响应代码的行为准则,如将431错误视为400错误,并区分对待最终和临时响应,确保正确处理100和183响应码。
8.1.3.2 Unrecognized Responses
8.1.3.2无法识别的响应

   A UAC MUST treat any final response it does not recognize as being equivalent to the x00 response code of that class, and MUST be able to process the x00 response code for all classes.  For example, if a UAC receives an unrecognized response code of 431, it can safely assume that there was something wrong with its request and treat the response as if it had received a 400 (Bad Request) response code.  A UAC MUST treat any provisional response different than 100 that it does not recognize as 183 (Session Progress).  A UAC MUST be able to process 100 and 183 responses.

UAC必须将其未识别的任何最终响应视为等效于该类的x00响应代码,并且必须能够处理所有类的x0响应代码。例如,如果UAC接收到无法识别的响应代码431,它可以安全地假设其请求有问题,并将该响应视为接收到400(坏请求)响应代码。UAC必须将任何不同于100的临时响应视为183(会话进度)。UAC必须能够处理100个和183个响应。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值