Just did a deep dive into how to do conditional PUT (optimistic locking) in Rails. Short version: Rails has no support for ETags beyond GET.
-
-
@steveklabnik a starting point, FWIW: this algorithm should live somewhere more generally accessible: http://apidock.com/rails/ActionDispatch/Http/Cache/Response/etag%3D … -
@avdi agreed
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.