- From: Mercurial notifier <cvsmail@w3.org>
- Date: Tue, 05 Feb 2013 14:22:47 +0000
- To: public-dap-commits@w3.org
changeset: 374:07e931de937f
user: Rich Tibbett <richt@opera.com>
date: Mon Feb 04 15:24:33 2013 +0100
files: discovery-api/Overview.src.html
description:
HTTP Request processing - ssdp:alive validation changes
diff -r bc1d9819cad3 -r 07e931de937f 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
Received on Tuesday, 5 February 2013 14:22:51 UTC