-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Spec
-
Labels:None
-
Proposal:
The spec has a concept of read-only and immutable attributes that cannot be changed by the client.
HTTP PUT semantics demand that the client send a resource representation that is a full replacement for the existing resource.
This raises a few questions:
1) can a client include read-only/immutable attributes in a PUT request?
2) should the client include read-only/immutable attributes in a PUT request?
2.a) if not, is that a request to delete the attribute?
2.b) if yes, should the server check the value to ensure that they are unchanged?
2.b.i) if server does check the value, what does it do if it is different? ignore, error? what should be the returned status code?