0107 UAS Applying Extensions

   A UAS that wishes to apply some extension when generating the

   response MUST NOT do so unless support for that extension is

   indicated in the Supported header field in the request.  If the

   desired extension is not supported, the server SHOULD rely only on

   baseline SIP and any other extensions supported by the client.  In

   rare circumstances, where the server cannot process the request

   without the extension, the server MAY send a 421 (Extension Required)

   response.  This response indicates that the proper response cannot be

   generated without support of a specific extension.  The needed

   extension(s) MUST be included in a Require header field in the

   response.  This behavior is NOT RECOMMENDED, as it will generally

   break interoperability.

 

   Any extensions applied to a non-421 response MUST be listed in a

   Require header field included in the response.  Of course, the server

   MUST NOT apply extensions not listed in the Supported header field in

   the request.  As a result of this, the Require header field in a

   response will only ever contain option tags defined in standards-

   track RFCs.

發佈了117 篇原創文章 · 獲贊 0 · 訪問量 12萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章