The Javadoc of SipServletMessage is unclear:
- The behavior of getHeaderNames() is unclear. If the message contains both long and compact name of the same header, e.g. Supported and k, should both be returned, or one, and which one?
(Suggest only one to be consistent to getHeader() and setHeader())
Currently, the application has no knowledge of the header form of an incoming message. The application can influence the header form on an outgoing message. Also note that if there are mixed usage of long and compact forms, there is no way to preserve the forms when copying from one message to another. This may cause problem for some corner interop situations.