Skip to content
This repository has been archived by the owner on May 6, 2020. It is now read-only.

Commit

Permalink
Clarify support for multiple headers of the same name
Browse files Browse the repository at this point in the history
Fixes #35
  • Loading branch information
benlangfeld committed Mar 27, 2013
1 parent 71fcf94 commit 261795a
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions extensions/inbox/rayo.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1817,6 +1817,24 @@
]]></example>
</section3>
</section2>

<section2 topic='Headers' anchor='session-headers'>
<p>In elements which may carry child &lt;header/&gt; elements, a server or client MAY specify several header elements with the same name. In such cases, these MUST be considered to form a collection of ordered values for the key provided.</p>

<example caption="Client requests establishment of a new outbound session with multiple values for the SIP Route header"><![CDATA[
<iq from='[email protected]/balcony'
to='shakespeare.lit'
type='set'
id='h7ed2'>
<dial xmlns='urn:xmpp:rayo:1'
to='tel:+13055195825'
from='tel:+14152226789'>
<header name="Route" value="foo" />
<header name="Route" value="bar" />
</dial>
</iq>
]]></example>
</section2>
</section1>
<section1 topic='Formal Definition' anchor='def'>

Expand Down

0 comments on commit 261795a

Please sign in to comment.