René K created USERGRID-372:
-------------------------------

             Summary: Usergrid does ignores the IF HTTP headers
                 Key: USERGRID-372
                 URL: https://issues.apache.org/jira/browse/USERGRID-372
             Project: Usergrid
          Issue Type: Bug
    Affects Versions: 2.0
            Reporter: René K


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. 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to