Changes

stoney core: REST API

548 bytes added, 12:16, 13 November 2013
/* Error codes and responses */
TBD.
 
=== Mandatory headers ===
 
Besides the above mentioned headers, the following headers are mandatory.
 
* every answer to a GET reqest should always include <code>ETag</code> and/or a <code>Last-Modified</code> header. This allows a proxy to cache requests and a client to revalidate already fetched data.
* the service must recognize <code>ETag</code>, <code>Last-Modified</code> and <code>Cache-Control: none</code> provided by the client and act accordingly.
* every answer to a GET request must include proper <code>Cache-Control</code> headers
=== Resources and HTTP methods ===
Bureaucrat, administrator
425
edits