Open labkode opened 9 years ago
Well, the ETag response header is mentioned in the file download section. The example there is very brief indeed, do you think that should be changed?
Apart from that, I think the ETag is explained properly, or not?
@dragotin Yes, Klass, sorry for the noise. It is well explained in the file download section.
I have other question about the spec, the documentation just tell you the format for the calls/operations that the sync client does, but there is no information about the order of the operations.
I think it is important to document the sequence of events.
For example, to setting up a working connection:
I am not sure about the sequence of the TBD yet, but I am sure that if status.php fails, then you cannot continue.
What do you think ?
@labkode absolutely, you're right. That needs to be defined as well, if there are constraints about the sequence. I will note that down as a TODO.
@dragotin Thanks, if I get some time I'll do it myself
@moscicki @dragotin
In the spec of the sync protocol we have to show the response headers in the examples, as they are a core part of the protocol.
An example: If you don't reply with the ETag on a download then the client will complain: https://github.com/owncloud/client/blob/7fc7925d17df58e6dfb9eb1383f0895d5fadce58/src/libsync/propagatedownload.cpp#L150