rob05c commented on pull request #5179:
URL: https://github.com/apache/trafficcontrol/pull/5179#issuecomment-781712475


   What happens if a new client does a `GET /cdns` from an old TO, silently 
saves the empty string, and then does a `POST /notifications` with that data 
(possibly modified) later after TO is upgraded, or maybe to different HA TO?
   
   The client had no way to know the TO was a different version. It's 
impossible for the client to even know the issue is going to happen, much less 
prevent it. Because the TO's have the same version, even though they're 
actually different.
   
   This is one of the fundamental error cases that minor versioning prevents. 
Giving the same data different GET and POST paths doesn't somehow make that 
issue not exist. It just confuses it.
   
   I disagree that versioning should only ensure "round trip safety." 
Versioning prevents clients and servers from breaking for a number of reasons, 
that's only one of them.
   
   Giving the same data different GET and POST paths doesn't somehow make those 
errors not happen. 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to