HTTP Request processing - ssdp:alive validation changes
authorRich Tibbett <richt@opera.com>
Mon, 04 Feb 2013 15:24:33 +0100
changeset 374 07e931de937f
parent 373 bc1d9819cad3
child 375 f290bbd84426
HTTP Request processing - ssdp:alive validation changes
discovery-api/Overview.src.html
--- a/discovery-api/Overview.src.html	Mon Feb 04 15:18:11 2013 +0100
+++ b/discovery-api/Overview.src.html	Mon Feb 04 15:24:33 2013 +0100
@@ -1228,9 +1228,9 @@
           header's value.
           </li>
           <li>If <var>ssdp device</var> does not contain at least one <var>CACHE-CONTROL</var> entry, at least one
-          <var>USN</var> entry, at least one <var>ST</var> entry and at least one <var>LOCATION</var> entry or the
-          value of its <var>ST</var> entry is not <code>upnp:rootdevice</code>, then the <a>HTTP Response</a> is
-          invalid and the <a>user agent</a> MUST discard this response, abort any remaining steps and return.
+          <var>USN</var> entry, at least one <var>ST</var> entry and at least one <var>LOCATION</var> entry then the
+          <a>HTTP Response</a> is invalid and the <a>user agent</a> MUST discard this response, abort any remaining
+          steps and return.
           </li>
           <li>The user agent MUST run the rule for <a>obtaining a UPnP Device Description File</a> passing in the first
           occurrence of <var>LOCATION</var> from <var>ssdp device</var> as the <var>device descriptor URL</var>
@@ -1254,11 +1254,10 @@
           <li>Let <var>ssdp device</var> be an Object with a property for each HTTP header received in the <a>HTTP
           Request</a>, with each key being the name of a HTTP header and each value being that HTTP header's value.
           </li>
-          <li>If <var>ssdp device</var> does not contain at least one <var>CACHE-CONTROL</var> entry, at least one
-          <var>USN</var> entry, at least one <var>NT</var> entry, at least one <var>NTS</var> entry and at least one
-          <var>LOCATION</var> entry or the value of its <var>NT</var> entry is not <code>upnp:rootdevice</code>, then
-          the <a>HTTP Request</a> is a malformed UPnP Request and the <a>user agent</a> MUST discard this request,
-          abort any remaining steps and return.
+          <li>If <var>ssdp device</var>'s <var>NTS</var> entry is equal to <code>ssdp:alive</code> and the <a>HTTP
+          Request</a> does not contain at least one <var>CACHE-CONTROL</var> entry, at least one <var>USN</var> entry,
+          at least one <var>NT</var> entry, at least one <var>NTS</var> entry and at least one <var>LOCATION</var>
+          entry, then the <a>user agent</a> MUST discard this request, abort any remaining steps and return.
           </li>
           <li>If <var>ssdp device</var>'s <var>NTS</var> entry is equal to <code>ssdp:alive</code> then the user agent
           MUST run the rule for <a>obtaining a UPnP Device Description File</a> passing in the first occurrence of