rayo / xmpp

Fork of the XMPP XEP repo
http://gitorious.org/xmpp
3 stars 3 forks source link

Allow multiple headers with the same name? #42

Closed bklang closed 12 years ago

bklang commented 12 years ago

In section 6.2.1 as well as other places, we allow setting arbitrary headers. What if the underlying telephony protocol allows multiple headers with the same name? I think the specification should address this in a couple of places:

  1. Specifically allow for multiple headers with the same name.
  2. Make some promise about the order of the headers being preserved at least as far as the delivery to the backend telephony protocol. I know that promising the same order in the SIP headers would be leaking SIP details into Rayo, but we should probably at least make some effort to guarantee order here (assuming order is ever significant).
bklang commented 12 years ago

Duplicate of #35.