What about the _unpredictable_ cases where the server returns an empty response, cero byte I mean? How can I prevent a store to mark records as saved after calling sync() and receiving an empty but non error response from the server? The only solution I can imagine but have not tested it yet, is to hook into global Ext.Ajax and try somehow to stop the event chain that ends up with the store thinking everything is OK and marking records as saved, synced. What would be the best approach?
Thanks a lot for your time.