discovery-api/Overview.src.html
changeset 374 07e931de937f
parent 373 bc1d9819cad3
child 375 f290bbd84426
equal deleted inserted replaced
373:bc1d9819cad3 374:07e931de937f
  1226           <li>Let <var>ssdp device</var> be an Object with a property for each HTTP header received in the <a>HTTP
  1226           <li>Let <var>ssdp device</var> be an Object with a property for each HTTP header received in the <a>HTTP
  1227           Response</a>, with each key being the name of a HTTP response header and each value being that HTTP response
  1227           Response</a>, with each key being the name of a HTTP response header and each value being that HTTP response
  1228           header's value.
  1228           header's value.
  1229           </li>
  1229           </li>
  1230           <li>If <var>ssdp device</var> does not contain at least one <var>CACHE-CONTROL</var> entry, at least one
  1230           <li>If <var>ssdp device</var> does not contain at least one <var>CACHE-CONTROL</var> entry, at least one
  1231           <var>USN</var> entry, at least one <var>ST</var> entry and at least one <var>LOCATION</var> entry or the
  1231           <var>USN</var> entry, at least one <var>ST</var> entry and at least one <var>LOCATION</var> entry then the
  1232           value of its <var>ST</var> entry is not <code>upnp:rootdevice</code>, then the <a>HTTP Response</a> is
  1232           <a>HTTP Response</a> is invalid and the <a>user agent</a> MUST discard this response, abort any remaining
  1233           invalid and the <a>user agent</a> MUST discard this response, abort any remaining steps and return.
  1233           steps and return.
  1234           </li>
  1234           </li>
  1235           <li>The user agent MUST run the rule for <a>obtaining a UPnP Device Description File</a> passing in the first
  1235           <li>The user agent MUST run the rule for <a>obtaining a UPnP Device Description File</a> passing in the first
  1236           occurrence of <var>LOCATION</var> from <var>ssdp device</var> as the <var>device descriptor URL</var>
  1236           occurrence of <var>LOCATION</var> from <var>ssdp device</var> as the <var>device descriptor URL</var>
  1237           argument and the first occurrence of <var>USN</var> from <var>ssdp device</var> as the <var>device
  1237           argument and the first occurrence of <var>USN</var> from <var>ssdp device</var> as the <var>device
  1238           identifier</var> argument and the first occurrence of <var>CACHE-CONTROL</var> from <var>ssdp device</var>
  1238           identifier</var> argument and the first occurrence of <var>CACHE-CONTROL</var> from <var>ssdp device</var>
  1252           agent MUST discard this request, abort any remaining steps and return.
  1252           agent MUST discard this request, abort any remaining steps and return.
  1253           </li>
  1253           </li>
  1254           <li>Let <var>ssdp device</var> be an Object with a property for each HTTP header received in the <a>HTTP
  1254           <li>Let <var>ssdp device</var> be an Object with a property for each HTTP header received in the <a>HTTP
  1255           Request</a>, with each key being the name of a HTTP header and each value being that HTTP header's value.
  1255           Request</a>, with each key being the name of a HTTP header and each value being that HTTP header's value.
  1256           </li>
  1256           </li>
  1257           <li>If <var>ssdp device</var> does not contain at least one <var>CACHE-CONTROL</var> entry, at least one
  1257           <li>If <var>ssdp device</var>'s <var>NTS</var> entry is equal to <code>ssdp:alive</code> and the <a>HTTP
  1258           <var>USN</var> entry, at least one <var>NT</var> entry, at least one <var>NTS</var> entry and at least one
  1258           Request</a> does not contain at least one <var>CACHE-CONTROL</var> entry, at least one <var>USN</var> entry,
  1259           <var>LOCATION</var> entry or the value of its <var>NT</var> entry is not <code>upnp:rootdevice</code>, then
  1259           at least one <var>NT</var> entry, at least one <var>NTS</var> entry and at least one <var>LOCATION</var>
  1260           the <a>HTTP Request</a> is a malformed UPnP Request and the <a>user agent</a> MUST discard this request,
  1260           entry, then the <a>user agent</a> MUST discard this request, abort any remaining steps and return.
  1261           abort any remaining steps and return.
       
  1262           </li>
  1261           </li>
  1263           <li>If <var>ssdp device</var>'s <var>NTS</var> entry is equal to <code>ssdp:alive</code> then the user agent
  1262           <li>If <var>ssdp device</var>'s <var>NTS</var> entry is equal to <code>ssdp:alive</code> then the user agent
  1264           MUST run the rule for <a>obtaining a UPnP Device Description File</a> passing in the first occurrence of
  1263           MUST run the rule for <a>obtaining a UPnP Device Description File</a> passing in the first occurrence of
  1265           <var>LOCATION</var> from <var>ssdp device</var> as the <var>device descriptor URL</var> argument and the
  1264           <var>LOCATION</var> from <var>ssdp device</var> as the <var>device descriptor URL</var> argument and the
  1266           first occurrence of <var>USN</var> from <var>ssdp device</var> as the <var>device identifier</var> argument
  1265           first occurrence of <var>USN</var> from <var>ssdp device</var> as the <var>device identifier</var> argument