Changes

153 bytes added ,  13:16, 30 July 2009
Line 28: Line 28:  
To send a message to a specific user specified by a target id, the client uploads a file with the name {unique id}_to_{target id}_{index}_{key}
 
To send a message to a specific user specified by a target id, the client uploads a file with the name {unique id}_to_{target id}_{index}_{key}
   −
For efficiency reasons, it may sometimes be appropriate to delete messages.  A client may delete messages using the HTTP DELETE command.  Because messages always have unique names, there is  
+
For efficiency reasons, it may sometimes be appropriate to delete messages.  A client may delete messages using the HTTP DELETE command.  Because messages always have unique names, and are immutable, there is no risk of races between a client deleting a file and another client creating a file with the same name or updating the existing file.
    
==The Type-0 SugarHTTPCollab Server->Server Interface==
 
==The Type-0 SugarHTTPCollab Server->Server Interface==
18

edits