Confirmed users, Bureaucrats and Sysops emeriti
812
edits
| Line 10: | Line 10: | ||
</pre> | </pre> | ||
On first use of a search descriptor after the validity date | On first use of a search descriptor after the validity date, the UA will do a GET request to the URL specified. If there are no changes, return an HTTP 304 Not Modified response to the client. The UA should update the ValidUntil timestamp by either the UpdateInterval or the minimum next interval on this response. In order to minimize failed attempts, any errors will be treated as no update available. | ||
If an update is available, the new search descriptor should be returned by the server and parsed by the UA. The new version will be used in place of the original version | If an update is available, the new search descriptor should be returned by the server and parsed by the UA. The new version will be used in place of the original version. If the base updateURL is different, the update MUST be rejected by the UA. | ||
UAs providing a default set of descriptors may reset to a new default set and clear any updates as appropriate, and will check for updates for those defaults on first use as described above. This allows a change to updateURLs as needed. | UAs providing a default set of descriptors may reset to a new default set and clear any updates as appropriate, and will check for updates for those defaults on first use as described above. This allows a change to updateURLs as needed. | ||
== UpdateInterval element == | == UpdateInterval element == | ||