Let's consider that our PUT endpoint performs some data validation on the contents of the data. Then, is this scenario (in pseudo code):
data
= GET- short latency happens, no update server-side
- PUT
data
=> always yielding a 200/2xx? Or would it be possible that the data is considered invalid by the PUT endpoint (4xx?)
In other words: should a service allow clients to read (GET) a resource representation that would be itself flagged as invalid (with respect to data validation) when sent on update (PUT)?
UPDATE: Note: this is not about media-types but actual data validation.