New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Consider making PATCH optional and/or removing/deferring it #94
Comments
This may or may not be a problem if we stick to the JSON level; let's discuss. |
By the way, there is this RFC about JSON "patching": https://tools.ietf.org/html/rfc7396. I don't know if it was already discussed, but I think it is a great start. |
I didn't know about this RFC, but that's exactly how I expected a server would process the PATCH request body. We could refer to this specification not only for the registration PATCH, but also for notification diffs suggested in #87 (comment). The |
We have decided to include PATCH, basing it on RFC7396, which is relatively simple and for which there are good libraries available, so implementation is straightforward. It is, however, a mandatory feature (to save bandwidth for IoT devices). It may however interact with non-JSON (string only) representations of TDs (e.g. encrypted), so we may have to follow up when we discuss those. |
Support for PATCH is complicated, and is really an "optimization" since updates can be done using entire TDS, so maybe we should apply the KISS principle and take it out. Really two issues:
Note we also need two implementations (not completely required for optional features, but still highly recommended).
The text was updated successfully, but these errors were encountered: