Changes between Version 55 and Version 57 of Ticket #395


Ignore:
Timestamp:
04/02/2015 11:04:37 AM (4 years ago)
Author:
kzar
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #395

    • Property Component changed from Infrastructure to Sitescripts
  • Ticket #395 – Description

    v55 v57  
    77Note that we can receive the data and store + process it immediately, even though this approach will delay processing of the request. The request is sent by the browser in the background, so the user doesn't care about processing times. We can still switch to a more elaborate approach later. 
    88 
    9 If storing the incoming data fails an error status code of 500 should be returned to the client. If the database processing fails however the transaction should be rolled back but 200 OK should be returned to the client instead. This is to avoid re-transmission of the data, the error should be logged on the server however. 
     9If storing the incoming data fails an error status code of 500 should be returned to the client. If the database processing fails however the transaction should be rolled back but a successful response should be returned to the client instead. This is to avoid re-transmission of the data, the error should be logged on the server however. 
    1010 
    1111If the incoming data is invalid an error status code of 400 will be returned to the client and the data will not be logged. Possible reasons could include: