You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@usergrid.apache.org by "René K (JIRA)" <ji...@apache.org> on 2015/02/02 10:47:35 UTC

[jira] [Updated] (USERGRID-372) Usergrid ignores the IF HTTP headers

     [ https://issues.apache.org/jira/browse/USERGRID-372?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

René K updated USERGRID-372:
----------------------------
    Summary: Usergrid ignores the IF HTTP headers  (was: Usergrid does ignores the IF HTTP headers)

> Usergrid 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)