Project: usergrid
Issue USERGRID-372: Usergrid ignores the IF HTTP headers
I want to make sure that I don't override changes by accident, so I want to use the [{{If-Unmodified-Since}} HTTP header|http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.28]. I expect that the server will give me a 412 (Precondition Failed) error when the data where changed in the meantime. However nothings happens and the data will been always overridden. There is no way to detect changes, even a check before writing could cause a data loss. That should been fixed IMHO. Also the [{{If-Modified-Since}} HTTP header|http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.25] would be great to have, I know that I can do that with the CQL too, but a 304 response is faster to detect than a empty result body.
Story points: 3