This repository has been archived by the owner on May 6, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clarify support for multiple headers of the same name
Fixes #35
- Loading branch information
1 parent
71fcf94
commit 261795a
Showing
1 changed file
with
18 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1817,6 +1817,24 @@ | |
]]></example> | ||
</section3> | ||
</section2> | ||
|
||
<section2 topic='Headers' anchor='session-headers'> | ||
<p>In elements which may carry child <header/> 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'> | ||
|
||
|